Disable able remote notification after ble disconnect
To enable notifications, indications etc... we use the below command
gecko_cmd_gatt_set_characteristic_notification( handle , characteristic....)
gecko_cmd_gatt_set_characteristic_notification( handle, characteristic,
This may seem like a strange question.
A central device connects to peripheral devices and enables notification/indications.
On the central device side, when a connection_closed_id event occurs, is it necessary to disable any enabled notifications/indications. The connection is closed, so any setting will never reach the remote device, so it seems unnecessary. Having said that I have been told, it is necessary to disable, so I have so far always disabled them.
The subscription settings are volatile unless you are bonded. When bonded the GATT server device will restore the subscriptions when a new connection is established.
To modify any subscription you need to be connected, otherwise nothing will reach the GATT server as you said.