Hi,
How to check whether is the device bonded? What value I could check? What I want to do is to perform auto pairing request when bonding is not founded, therefore my code will try to check whether the device is bonded before. If yes, it will skip the advertising process.
I also encounter a problem, after I pair and bond using ble_app_hrs_freertos example I just cannot unbond the device (it cannot appear in normal BLE scan, only can detect using Nordic Connect). Please advice how can I unbond the example. And when I tried to call pm_peers_delete( during BLE_GAP_EVT_DISCONNECTED, the device enter NRF_BREAKPOINT_COND.
HW:PCA10056
SW:nRF5_SDK_15.2.0_9412b96
Example:
ble_app_beacon
ble_app_hrs_freertos