ble_gatts_connection_broken() function
Handles GATT server clean up for a terminated connection: o Informs the application that the peer is no longer subscribed to any characteristic updates. o Frees GATT server resources consumed by the connection (CCCDs).
Syntax
void ble_gatts_connection_broken(uint16_t conn_handle);