aws / amazon-freertos-ble-android-sdk

Android SDK for FreeRTOS Bluetooth Devices.
Apache License 2.0
49 stars 41 forks source link

Enable Auto-reconnect to work with RPA #22

Closed ravibhagavandas closed 4 years ago

ravibhagavandas commented 4 years ago

Issue #, if available:

Description of changes: SDK currently uses android ble stack auto-connect feature in background, which does not work if the device advertises random private address. Changing the auto connect feature to handle in the SDK. Also registering a bond state callback for cases where bonding is triggered upon connection (without being probed).

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.