Cordio Stack and Cordio Profiles  r2p3-02rel0
cscp_api.h File Reference

Cycling Speed and Cadence Profile API. More...

Go to the source code of this file.

Macros

Cycling Speed Measurement Parameter Types
#define CSCP_SM_PARAM_WHEEL_REVOLUTIONS   0 /* Cumulative Wheel Revolutions */
 
#define CSCP_SM_PARAM_LAST_WHEEL_EVT_TIME   1 /* Last Wheel Event Time */
 
#define CSCP_SM_PARAM_CRANK_REVOLUTIONS   2 /* Cumulative Crank Revolutions */
 
#define CSCP_SM_PARAM_LAST_CRANK_TIME   3 /* Last Crank Event Time */
 

Functions

void CscpsSetParameter (uint8_t type, uint32_t value)
 Set a cycling speed measurement parameter. More...
 
void CscpsSendSpeedMeasurement (dmConnId_t connId)
 Notifies the collector of a Cycle Speed Measurement. More...
 
void CscpsSetSensorLocation (uint8_t location)
 Set the sensor location attribute. More...
 
void CscpsSetFeatures (uint16_t features)
 Set the features attribute. More...
 

Description

Cycling 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 cscp_api.h.