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

Connection after disconnect

Hello. I created some HID device based ble_app_hrs_pairing_nfc example on NRF52. And I have a questions:

1.I need to automatically reconnect to bonded device after reboot, but I don't need to start advertising again if I have bonded device. Can I use whitelist for this or no? And how? Or I should save peer adress in storage and read this address when system is starting and run advertising direct? I use peer manager enstead device manager.

I have 2 variants. After master disconnected and try connect again I should automaticaly connect to him. How I can do this? Adverrtising in example start working when NFC field detected. second vaiant: after restarting my device I should automatically connect too. Shouls I use advertising girect?

Related