diff options
author | Tedd Ho-Jeong An <tedd.an@intel.com> | 2021-10-25 13:31:19 -0700 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2021-10-25 13:38:36 -0700 |
commit | 435a55db08aa6019b718124810f770c4d565d901 (patch) | |
tree | 051bcc9b331519f97ebce38ec7d24b9472bbc9c5 /emulator/hciemu.h | |
parent | 9dcd6ea1f9803d8fc40fae8eee9929883ff094ea (diff) | |
download | bluez-435a55db08aa6019b718124810f770c4d565d901.tar.gz |
emulator: Add support to get the advertising address
This patch add supprt emulator to get the advertising address of the
central device.
Diffstat (limited to 'emulator/hciemu.h')
-rw-r--r-- | emulator/hciemu.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/emulator/hciemu.h b/emulator/hciemu.h index 2a49d8bad..3a06ca578 100644 --- a/emulator/hciemu.h +++ b/emulator/hciemu.h @@ -65,6 +65,9 @@ void hciemu_set_central_le_al_len(struct hciemu *hciemu, uint8_t len); void hciemu_set_central_le_rl_len(struct hciemu *hciemu, uint8_t len); +const uint8_t *hciemu_get_central_adv_addr(struct hciemu *hciemu, + uint8_t handle); + typedef void (*hciemu_command_func_t)(uint16_t opcode, const void *data, uint8_t len, void *user_data); |