BlueToe
an alternative GATT/BLE implementation
|
Denotes, that the csc service provides wheel revolution data. More...
#include <bluetoe/services/csc.hpp>
Denotes, that the csc service provides wheel revolution data.
If added to bluetoe::cycling_speed_and_cadence, the user handler have to have the following two functions:
The first is a callback that gives the service the information about the last time, a wheel revolution value was measured and the coresponding wheel revolution value. The second function will be called by the service, to set the current wheel revolution value.
A service must provide wheel_revolution_data_supported, or crank_revolution_data_supported.