I have a project where specification requires disconnecting immediately after sending a response to a BLE read request. I'm using authorized reads.
Currently, I'm using sd_ble_gatts_rw_authorize_reply
to send the read response, and then follow with a sd_ble_gap_disconnect
. However, in this case, the disconnect is processed before the response is actually sent.
Is there an event of some kind to get notified after the reply has been sent to the central?