This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Return dynamic data to GATT client, using nRF51 SDK for Bluetooth Low Energy

I am trying to develop a GATT service on nRF51.

The GATT service measures a few values, and stores them in a characteristic. When the GATT server (phone) requests data from this characteristic, I would like to return the stored values, after a little data processing.

I am unable to find a way to make the nRF51 return control into my code, upon a GATT read. This is necessary to return dynamic data. I feel I must be missing something -- this seems like an obvious API call. Hope someone can point me to the right API call.

Related