38 #define CPP_PM_PARAM_INSTANTANEOUS_POWER 0 39 #define CPP_PM_PARAM_PEDAL_POWER 1 40 #define CPP_PM_PARAM_ACCUMULATED_TORQUE 2 41 #define CPP_PM_PARAM_WHEEL_REVOLUTIONS 3 42 #define CPP_PM_PARAM_LAST_WHEEL_REV_TIME 4 43 #define CPP_PM_PARAM_CRANK_REVOLUTIONS 5 44 #define CPP_PM_PARAM_LAST_CRANK_TIME 6 45 #define CPP_PM_PARAM_MAX_FORCE_MAGNITUDE 7 46 #define CPP_PM_PARAM_MIN_FORCE_MAGNITUDE 8 47 #define CPP_PM_PARAM_MAX_TORQUE_MAGNITUDE 9 48 #define CPP_PM_PARAM_MIN_TORQUE_MAGNITUDE 10 49 #define CPP_PM_PARAM_MAX_EXTREME_ANGLE 11 50 #define CPP_PM_PARAM_MIN_EXTREME_ANGLE 12 51 #define CPP_PM_PARAM_TOP_DEAD_SPOT 13 52 #define CPP_PM_PARAM_BOTTOM_DEAD_SPOT 14 53 #define CPP_PM_PARAM_ACCUMULATED_ENERGY 15 uint8_t dmConnId_t
Connection identifier.
void CppsSetFeatures(uint32_t features)
Set the features attribute.
void CppsSendPowerMeasurement(dmConnId_t connId)
Notifies the collector of a Cycle Power Measurement.
void CppsConnOpen(dmConnId_t connId)
Setup connection specific variables.
unsigned long uint32_t
Unsigned 32-bit value.
void CppsSetSensorLocation(uint8_t location)
Set the sensor location attribute.
void CppsSetParameter(uint8_t type, uint32_t value)
Set a cycle measurement parameter.
unsigned char uint8_t
Unsigned 8-bit value.