38 #define RSCP_SM_PARAM_SPEED 0 39 #define RSCP_SM_PARAM_CADENCE 1 40 #define RSCP_SM_PARAM_STRIDE_LENGTH 2 41 #define RSCP_SM_PARAM_TOTAL_DISTANCE 3 42 #define RSCP_SM_PARAM_STATUS 4 49 #define RSCP_SM_STATUS_WALKING 0 50 #define RSCP_SM_STATUS_RUNNING 1 uint8_t dmConnId_t
Connection identifier.
void RscpsSetSensorLocation(uint8_t location)
Set the sensor location attribute.
void RscpsSetFeatures(uint16_t features)
Set the features attribute.
unsigned long uint32_t
Unsigned 32-bit value.
void RscpsSendSpeedMeasurement(dmConnId_t connId)
Notifies the collector of a Running Speed and Cadence Measurement.
unsigned short uint16_t
Unsigned 16-bit value.
unsigned char uint8_t
Unsigned 8-bit value.
void RscpsSetParameter(uint8_t type, uint32_t value)
Set a running speed measurement parameter.