Characteristic read event/callback

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hi,

   

Is there a way in the main application to detect when a characteristic read is occurring. 

   

In my application, I need to generate the characteristic data dynamically as it is requested. Ideally I would like a callback so that I can update the characteristic value before it is sent.

   

 

   

Thanks

0 Likes
1 Solution
Anonymous
Not applicable

Yes, there is a CYBLE_EVT_GATTS_READ_CHAR_VAL_ACCESS_REQ event. See this thread: http://www.cypress.com/forum/psoc-4-ble/gatt-server-event-when-long-read-completes

View solution in original post

0 Likes
4 Replies