![]() |
Cordio Stack and Cordio Profiles
r2p3-02rel0
|
Functions | |
| void | RscpsSetParameter (uint8_t type, uint32_t value) |
| Set a running speed measurement parameter. More... | |
| void | RscpsSetSensorLocation (uint8_t location) |
| Set the sensor location attribute. More... | |
| void | RscpsSetFeatures (uint16_t features) |
| Set the features attribute. More... | |
| void | RscpsSendSpeedMeasurement (dmConnId_t connId) |
| Notifies the collector of a Running Speed and Cadence Measurement. More... | |
Running Speed and Cadence Measurement Parameter Types | |
| #define | RSCP_SM_PARAM_SPEED 0 |
| Instantaneous Speed. | |
| #define | RSCP_SM_PARAM_CADENCE 1 |
| Instantaneous Cadence. | |
| #define | RSCP_SM_PARAM_STRIDE_LENGTH 2 |
| Instantaneous Stride Length. | |
| #define | RSCP_SM_PARAM_TOTAL_DISTANCE 3 |
| Total Distance. | |
| #define | RSCP_SM_PARAM_STATUS 4 |
| Walking or Running Status (0: walking, 1: running) | |
Running Speed and Cadence Running Status Values | |
| #define | RSCP_SM_STATUS_WALKING 0 |
| Walking. | |
| #define | RSCP_SM_STATUS_RUNNING 1 |
| Running. | |
Set a running speed measurement parameter.
| type | Parameter identifier |
| value | Measurement value. |
| void RscpsSetSensorLocation | ( | uint8_t | location | ) |
Set the sensor location attribute.
| location | Sensor Location. |
| void RscpsSetFeatures | ( | uint16_t | features | ) |
Set the features attribute.
| features | Features bitmask. |
| void RscpsSendSpeedMeasurement | ( | dmConnId_t | connId | ) |
Notifies the collector of a Running Speed and Cadence Measurement.
| connId | Connection ID |