Is there a mechanism to notify the application when a client reads from an attribute? For example, I have a large attribute buffer (100 bytes max) with a default MTU size, and I'd like to be able to be notified when the client reads out the last payload of the buffer, so I can ensure that I do not overwrite the buffer before the client reads it out.
Would the correct way to do this be to enable read authorization for the characteristic and inspect the MTU, buffer len, and offset in the BLE_GATTS_EVT_RW_AUTHORIZE_REQUEST
event handler, or is there a better way to do this?