diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2014-06-06 13:43:14 +0300 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2014-06-13 15:47:34 +0300 |
commit | 67bd1267e28c79ef761509f6b61f704c85b41c3a (patch) | |
tree | cebf9da57c649b05e984c5f3f173af50cfb97f82 /android/bluetooth.h | |
parent | c3c26870620abfeec52fbbee8075665f47cd7355 (diff) | |
download | bluez-67bd1267e28c79ef761509f6b61f704c85b41c3a.tar.gz |
android/gatt: Fix not detecting device found by Bluetooth HAL
This is necessary so that devices found during regular discovery can be
handled by gatt HAL.
Diffstat (limited to 'android/bluetooth.h')
-rw-r--r-- | android/bluetooth.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/android/bluetooth.h b/android/bluetooth.h index 2409d4650..7c64bab94 100644 --- a/android/bluetooth.h +++ b/android/bluetooth.h @@ -44,7 +44,10 @@ 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, bool bonded); -bool bt_le_discovery_start(bt_le_device_found cb); +bool bt_le_register(bt_le_device_found cb); +void bt_le_unregister(void); + +bool bt_le_discovery_start(void); typedef void (*bt_le_discovery_stopped)(void); bool bt_le_discovery_stop(bt_le_discovery_stopped cb); |