Hi,
In my application, I would like to take some action, when the bonding is removed from the phone. At the moment I'm using static key for bonding and I see that BLE_GAP_EVT_SEC_PARAMS_REQUEST event gets generated for an attempt to bond with the bluetooth module on nrf51822. Seeing the above GAP event, my application invokes some procedure. Similarly, I am thinking to implement some action when bonding from the client (Say phone) is removed. However, I do not see any GAP event generation due to unbonding. Note that BLE_GAP_EVT_DISCONNECTED is not the event that gets generated when un-bonding. Is there a way ?
I'm using Softdevice version 6.1(SDK 110) and the hardware is NRF51822.