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.