I have tried extracting Bluetooth address of connected device by using "ble_gap_addr_t" , by this i am able to get some address but that address is being changed after re-connection,why is it? I am using nRF51 DK.
I have tried extracting Bluetooth address of connected device by using "ble_gap_addr_t" , by this i am able to get some address but that address is being changed after re-connection,why is it? I am using nRF51 DK.
Hi,
The address of a BLE device can change, depending on what type of address it uses. See this answer for the various address types and how they are supposed to behave.
Regards, Terje
then Is there any way to identify that device if it tries to connect second time?
Yes, look into the module peer_manager in the nRF5 SDK (or device_manager on older versions of the SDK)Link to peer_manager docs
It depends on the type of address, but if it is a bonded device then you can identify and authenticate the device. See peer manager as suggested by @jorg1
Thanks...generally what type of BT address android device has?