diff options
author | Lukasz Rymanowski <lukasz.rymanowski@tieto.com> | 2014-12-17 16:49:03 +0100 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2014-12-19 09:44:48 -0200 |
commit | a35305c0d16208f4aae7795d2bb27981f6cb6c52 (patch) | |
tree | be3c6770589e2629c6816d6d1dd0fc838f4e69a5 /android/bluetooth.h | |
parent | 9180d1f8e8485b065f4a72c0f1dd05af9c662576 (diff) | |
download | bluez-a35305c0d16208f4aae7795d2bb27981f6cb6c52.tar.gz |
android/bluetooth: Add API to check if device is bonding
Some modules like GATT might be interested in information about ongoing
bonding on device. It can be useful e.g. to take decision if GATT can do
service search or should wait until bonding is done.
Diffstat (limited to 'android/bluetooth.h')
-rw-r--r-- | android/bluetooth.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/android/bluetooth.h b/android/bluetooth.h index e5d23a952..9e7ab2cf0 100644 --- a/android/bluetooth.h +++ b/android/bluetooth.h @@ -94,3 +94,4 @@ void bt_unpaired_unregister(bt_unpaired_device_cb cb); typedef void (*bt_paired_device_cb)(const bdaddr_t *addr, uint8_t type); bool bt_paired_register(bt_paired_device_cb cb); void bt_paired_unregister(bt_paired_device_cb cb); +bool bt_is_pairing(const bdaddr_t *addr); |