This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

In BLE Central code, is there a way to get peer address from storage?

Hi,

I have the following situation:

1 central connects and bonds to 2 peripherals. All the above 3 devices are power cycled.

Now, the central need to remember the mac address of the 2 peripherals that it had already bonded to so that it can avoid any malacious connections, also to make sure that the central would connect only to those peripherals that have already bonded with the central.

Is there any api that would return me the mac addr of the peripherals that were already bonded (if so, could you please point me to some examples), or, do I need to remember them by storing the mac address in the flash memory?

Parents Reply Children
No Data
Related