Other Parts Discussed in Thread: CC2650, CC2560
I am trying to implement a battery level characteristic, but to save power I'd like to only read the battery level when a read request is issued to the characteristic.
Is it possible to detect when the characteristic is read, perform a task, then update the values before it is sent to the client?
If this isn't possible, what other periodic bluetooth events might I be able to use to update the battery characteristic? I want to avoid doing it with a timer so that I can keep the device (CC2650) in a low power mode.
Right now I'm building my app around the project zero example on the cc2560 launchpad