XDK API  3.6.0
Documentation
Data Fields
BleCyclingSpeedAndCadenceServiceMeasurement Struct Reference

#include <SDK/xdk110/Libraries/BLEStack/3rd-party/Alpwise/ALPW-BLESDKCM3/BLESW_CoreStack/Interfaces/Services/BleCyclingSpeedAndCadence_Service.h>

+ Collaboration diagram for BleCyclingSpeedAndCadenceServiceMeasurement:

Data Fields

U16 cumulativeCrankRevolution
 
U32 cumulativeWheelRevolution
 
BleCyclingSpeedAndCadenceServiceMeasurementFlags flagValue
 
U16 lastCrankEvent
 
U16 lastWheelEvent
 

Detailed Description

BleCyclingSpeedAndCadenceServiceMeasurement type Define the current CSC Measurement value to be set during the call of BLECYCLINGSPEEDANDCADENCESERVICE_SetCscMeasurement

Field Documentation

U16 cumulativeCrankRevolution

CumulativeCrankRevolution: The Cumulative Crank Revolutions value, which represents the number of times a crank rotates, is used in combination with the Last Crank Event Time to determine:

  • if the cyclist is coasting
  • the average cadence. Average cadence is not accurate unless 0 cadence events (i.e. coasting) are subtracted. This value is intended to roll over and is not configurable.
U32 cumulativeWheelRevolution

CumulativeWheelRevolution: The Cumulative Wheel Revolutions value represents the number of times a wheel rotates, is used in combination with the Last Wheel Event Time and the wheel circumference stored on the Client to determine:

  • the speed of the bicycle
  • the distance traveled. This value is expected to be set to 0 (or another desired value in case of e.g. a sensor upgrade) at initial installation on a bicycle

flagValue: The flags indicating what values are included in the measurement.

U16 lastCrankEvent

lastCrankEvent: The 'crank event time' is a free-running-count of 1/1024 second units and it represents the time when the crank revolution was detected by the crank rotation sensor. Since several crank events can occur between transmissions, only the Last Crank Event Time value is transmitted. This value is used in combination with the Cumulative Crank Revolutions value to enable the Client to calculate cadence. The Last Crank Event Time value rolls over every 64 seconds.

U16 lastWheelEvent

lastWheelEvent: The 'wheel event time' is a free-running-count of 1/1024 second units and it represents the time when the wheel revolution was detected by the wheel rotation sensor. Since several wheel events can occur between transmissions, only the Last Wheel Event Time value is transmitted. The Last Wheel Event Time value rolls over every 64 seconds


The documentation for this struct was generated from the following file:

All rights reserved. The use is subject to the XDK SDK EULA by Bosch Connected Devices and Solutions GmbH.
This documentation file has been automatically generated on Thu Mar 14 2019 19:12:56 by doxygen 1.8.8