sdk16.0 ble_peripheral/ble_app_hrs example
I start on nrf52840 DK with the SES
I run the following commands
nrfjprog --recover
nrfjprog --eraseall (?? just because)
SES build and run
using nrfConnect on android
I connect and bond to the DK board
I delete the bond on the phone
And the phone will not rebond to the DK.
Comment: I want to reconnect and bond to the DK board multiple times but also completely clear any part of the old connection
Question: Is there NO communications from the central to the peripheral that states the it is deleting the bond?
I have tried to delete the peer using ret_code_t pm_peer_delete(pm_peer_id_t peer_id); when i see the disconnect and that is not working.
I have tried to use ret_code_t pm_peer_data_delete(pm_peer_id_t peer_id, pm_peer_data_id_t data_id); but not having much luck as the peer is already disconnected
How can I accomplish a complete connection, bonding, LESC and teardown of that connection multiple times with out failing to rebond?
Thanks