Data Structures | Macros | Typedefs
BleRunningSpeedAndCadence_Service.h File Reference
#include "bleTypes.h"
+ Include dependency graph for BleRunningSpeedAndCadence_Service.h:

Data Structures

struct  BleRunningSpeedAndCadenceServiceMeasurement
union  BleRunningSpeedAndCadenceServiceMeasurementFlags




typedef void(* BleRunningSpeedAndCadenceServiceCallBack )(BleRunningSpeedAndCadenceServiceEvent event, BleStatus status, void *parms)
typedef U8 BleRunningSpeedAndCadenceServiceEvent
typedef U8 BleRunningSpeedAndCadenceServiceFlags

Macro Definition Documentation


BLE_RUNNINGSPEEDANDCADENCESERVICE_SUPPORT_INSTANTANEOUS_STRIDE_LENGTH Define if the the RSC Sensor supports (1) or not (0) to set the instantaneous stride length value in a measurement. The default value is not supported (0)


BLE_RUNNINGSPEEDANDCADENCESERVICE_SUPPORT_RUNNING_STATUS Define if the the RSC Sensor supports (1) or not (0) to set the Running status bit defining if the sensor detect a run or a walk. The default value is not supported (0)


BLE_RUNNINGSPEEDANDCADENCESERVICE_SUPPORT_TOTAL_DISTANCE Define if the the RSC Sensor supports (1) or not (0) to set the total Distance value in a measurement. The default value is not supported (0)


BLE_SUPPORT_RUNNINGSPEEDANDCADENCE_SERVICE Defines if the BLE local device enables access to the local RUNNING SPEED AND CADENCE service and characteristic.

If enabled ( set to 1 ) it enables Profiles or directly an Application to get access to the RUNNING SPEED AND CADENCE Service and characteristic

The default value for this option is disabled (0).


BLERUNNINGSPEEDANDCADENCESERVICE_EVENT_TOTALDISTANCEUPDATED Event received when a collector has Set a new Cumulative Value for the total distance. The Status field is always BLESTATUS_SUCCESS The parms field indicates the total distance value as a U32 U32 totalDistance = *((U32 *) parms). NOTE : The Sensor shall apply/set the new Total Distance Value when receiving this event. This event is only applicable when BLE_RUNNINGSPEEDANDCADENCESERVICE_SUPPORT_TOTAL_DISTANCE is supported

Typedef Documentation

typedef void(* BleRunningSpeedAndCadenceServiceCallBack)(BleRunningSpeedAndCadenceServiceEvent event, BleStatus status, void *parms)

BleRunningSpeedAndCadenceServiceCallBack This callback receives the RUNNING SPEED AND CADENCE SERVICE events. Each events may be assiociated with specified status and parameters. The callback is executed during the stack context, be careful to not doing heavy process in this function.

BleRunningSpeedAndCadenceServiceEvent type Define the different kind of events that could be received by the BleRunningSpeedAndCadenceServiceCallBack

BleRunningSpeedAndCadenceServiceFlags type Bitfield defining the available flags values.

This documentation file has been automatically generated on Wed May 6 2020 20:45:08 by doxygen 1.8.8