Hi,
I use the BLE_APP_UART example for reference and in the code there is the ble_evt_handler with the following states:
case BLE_GAP_EVT_CONNECTED:
case BLE_GAP_EVT_DISCONNECTED:
case BLE_GAP_EVT_PHY_UPDATE_REQUEST:
case BLE_GAP_EVT_SEC_PARAMS_REQUEST:
case BLE_GATTS_EVT_SYS_ATTR_MISSING:
case BLE_GATTC_EVT_TIMEOUT:
case BLE_GATTS_EVT_TIMEOUT:
CONNECTED and DISCONNECTED are easy to trigger. Is there a way to trigger the other states in order to verify the functionality of my code?
I am not sure what the other states do - is there somewhere a description on the causes?
Regards,
Morten