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/btdev.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/btdev.h')
-rw-r--r-- | emulator/btdev.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/emulator/btdev.h b/emulator/btdev.h index b5f9979a8..9493938c6 100644 --- a/emulator/btdev.h +++ b/emulator/btdev.h @@ -78,6 +78,8 @@ uint8_t btdev_get_scan_enable(struct btdev *btdev); uint8_t btdev_get_le_scan_enable(struct btdev *btdev); +const uint8_t *btdev_get_adv_addr(struct btdev *btdev, uint8_t handle); + void btdev_set_le_states(struct btdev *btdev, const uint8_t *le_states); void btdev_set_al_len(struct btdev *btdev, uint8_t len); |