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

Question about read operation

Hello! I want to ask about read operation on nrf51822. In your examples, as I understand, BT stack handles Read Request automatically and then sends Read Response. The value that I try to read is Attribute in Service Table (for example only read permission without notify/indicate). To keep this value actual I must call sd_ble_gatts_value_set() when it changes. Can I set attribute value only during processing Read Request? Because I don't want to track all the time this value. I only need send actual value in Read Response after Read Request. Thank you for answer!

Artem Zemlyanuklhin Woodenshark

Related