![]() |
Cordio Stack and Cordio Profiles
r2p3-02rel0
|
Running Speed and Cadence Profile API. More...
Go to the source code of this file.
Macros | |
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. | |
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 Profile API.
Copyright (c) 2016-2018 Arm Ltd. All Rights Reserved. ARM Ltd. confidential and proprietary.
IMPORTANT. Your use of this file is governed by a Software License Agreement ("Agreement") that must be accepted in order to download or otherwise receive a copy of this file. You may not use or copy this file for any purpose other than as described in the Agreement. If you do not agree to all of the terms of the Agreement do not use this file and delete all copies in your possession or control; if you do not have a copy of the Agreement, you must contact ARM Ltd. prior to any use, copying or further distribution of this software.
Definition in file rscp_api.h.