This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Event related to read request on characteristic

Hi,

imagine that I have a proprietary characteristic that allows only READ operation (from a smartphone for example) that expose an internal value in my application. I see that there isn't an event raised when a READ request arrives to the BLE layer (it exists for a WRITE request, ex. BLE_GATTS_EVT_WRITE event). It means that I need to update periodically (with a timer) the characteristic value (using sd_ble_gatts_value_set) even if I don't receive READ request to keep update the value for future requests. Why there isn't an event model on this ?

Thanks, Paolo.