Cordio Stack and Cordio Profiles  r2p3-02rel0

Functions

void CppsConnOpen (dmConnId_t connId)
 Setup connection specific variables. More...
 
void CppsSendPowerMeasurement (dmConnId_t connId)
 Notifies the collector of a Cycle Power Measurement. More...
 
void CppsSetParameter (uint8_t type, uint32_t value)
 Set a cycle measurement parameter. More...
 
void CppsSetSensorLocation (uint8_t location)
 Set the sensor location attribute. More...
 
void CppsSetFeatures (uint32_t features)
 Set the features attribute. More...
 

Cycle Power Measurement Types

#define CPP_PM_PARAM_INSTANTANEOUS_POWER   0 /* Instantaneous Power Measurement */
 
#define CPP_PM_PARAM_PEDAL_POWER   1 /* Pedal Power Balance */
 
#define CPP_PM_PARAM_ACCUMULATED_TORQUE   2 /* Accumulated Torque */
 
#define CPP_PM_PARAM_WHEEL_REVOLUTIONS   3 /* Wheel Revolution */
 
#define CPP_PM_PARAM_LAST_WHEEL_REV_TIME   4 /* Last Wheel Revolution Event Time */
 
#define CPP_PM_PARAM_CRANK_REVOLUTIONS   5 /* Crank Revolution */
 
#define CPP_PM_PARAM_LAST_CRANK_TIME   6 /* Last Crank Revolution Event Time */
 
#define CPP_PM_PARAM_MAX_FORCE_MAGNITUDE   7 /* Max Extreme Force Magnitudes */
 
#define CPP_PM_PARAM_MIN_FORCE_MAGNITUDE   8 /* Min Extreme Force Magnitudes */
 
#define CPP_PM_PARAM_MAX_TORQUE_MAGNITUDE   9 /* Max Extreme Torque Magnitudes */
 
#define CPP_PM_PARAM_MIN_TORQUE_MAGNITUDE   10 /* Min Extreme Torque Magnitudes */
 
#define CPP_PM_PARAM_MAX_EXTREME_ANGLE   11 /* Max Extreme Angles */
 
#define CPP_PM_PARAM_MIN_EXTREME_ANGLE   12 /* Min Extreme Angles */
 
#define CPP_PM_PARAM_TOP_DEAD_SPOT   13 /* Top Dead Spot Angle */
 
#define CPP_PM_PARAM_BOTTOM_DEAD_SPOT   14 /* Bottom Dead Spot Angle */
 
#define CPP_PM_PARAM_ACCUMULATED_ENERGY   15 /* Accumulated Energy */
 

Description

Function Documentation

void CppsConnOpen ( dmConnId_t  connId)

Setup connection specific variables.

Parameters
connIdConnection ID
Returns
none
void CppsSendPowerMeasurement ( dmConnId_t  connId)

Notifies the collector of a Cycle Power Measurement.

Parameters
connIdConnection ID
Returns
none
void CppsSetParameter ( uint8_t  type,
uint32_t  value 
)

Set a cycle measurement parameter.

Parameters
typeParameter identifier
valueMeasurement value.
Returns
none
void CppsSetSensorLocation ( uint8_t  location)

Set the sensor location attribute.

Parameters
locationSensor Location.
Returns
none
void CppsSetFeatures ( uint32_t  features)

Set the features attribute.

Parameters
featuresFeatures bitmask.
Returns
none