diff options
author | Lukasz Rymanowski <lukasz.rymanowski@tieto.com> | 2014-05-20 17:37:34 +0200 |
---|---|---|
committer | Szymon Janc <szymon.janc@tieto.com> | 2014-05-22 12:45:50 +0200 |
commit | 85e82427f01a52c0aa7ce410cfb212defe9502e7 (patch) | |
tree | 9cf92306f58dda1a91fb11f8e0ffbc2872c4e2e3 /android/bluetooth.h | |
parent | 7c9d237105bcbca8aa0eb932dfbeb8a2623c1ca3 (diff) | |
download | bluez-85e82427f01a52c0aa7ce410cfb212defe9502e7.tar.gz |
android/bluetooth: Add bonded information to found device callback
If device is bonded then discoverable flag is not set. This cause that
gatt application will not get scan callback with advertising bonded
device.
Diffstat (limited to 'android/bluetooth.h')
-rw-r--r-- | android/bluetooth.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/android/bluetooth.h b/android/bluetooth.h index 6a3e766d9..a0b81a636 100644 --- a/android/bluetooth.h +++ b/android/bluetooth.h @@ -37,7 +37,8 @@ void bt_adapter_remove_record(uint32_t handle); typedef void (*bt_le_device_found)(const bdaddr_t *addr, uint8_t addr_type, int rssi, uint16_t eir_len, - const void *eir, bool discoverable); + const void *eir, bool discoverable, + bool bonded); bool bt_le_discovery_start(bt_le_device_found cb); typedef void (*bt_le_discovery_stopped)(void); |