XDK API  3.6.0
Documentation
Data Fields
BleCyclingPowerServiceMeasurement Struct Reference

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

+ Collaboration diagram for BleCyclingPowerServiceMeasurement:

Data Fields

U16 accumulatedEnergyValue
 
U16 bottomDeadSpotAngleValue
 
U16 cumulativeCrankRevolution
 
U16 cumulativeTorqueValue
 
U32 cumulativeWheelRevolution
 
BleCyclingPowerServiceMeasurementFlags flagValue
 
S16 instantaneousPowerValue
 
U16 lastCrankEvent
 
U16 lastWheelEvent
 
U16 maximumAngle
 
S16 maximumForceMagnitude
 
U16 minimumAngle
 
S16 minimumForceMagnitude
 
U8 pedalPowerBalanceValue
 
U16 topDeadSpotAngleValue
 

Detailed Description

BleCyclingPowerServiceMeasurement type Define the current Cycling Power Measurement value to be set during the call of BLECYCLINGPOWERSERVICE_SetCyclingPowerMeasurement

Field Documentation

U16 accumulatedEnergyValue
U16 bottomDeadSpotAngleValue
U16 cumulativeCrankRevolution

Cumulative Crank Revolution: 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.
U16 cumulativeTorqueValue

Cumulative Torque Value: The Accumulated Torque field represents the cumulative value of the torque measured by the Sensor.When a connection is established, this value starts at 0 Newton meter and is may roll over. Unit is in newton metres with a resolution of 1/32

U32 cumulativeWheelRevolution

Cumulative Wheel Revolution: The Cumulative Wheel Revolution 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.
  • the power if combined with the Crank Revolution Data 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.

S16 instantaneousPowerValue

Instantaneous Power: Field shall be included in the Cycling Power Measurement represents the value of the power measured by the Server Unit is in watts with a resolution of 1.

U16 lastCrankEvent

Last Crank Event: 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

Last Wheel Event: The 'wheel event time' is a free-running-count of 1/2048 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 32 seconds

U16 maximumAngle

Maximum Angle: The Maximum Force Magnitude value, which represents the angle of the crank when the maximum value is measured in a single crank revolution. Unit is in degrees with a resolution of 1

S16 maximumForceMagnitude

Maximum Force Magnitude: The maximumForceMagnitude value, which represents the maximum force value measured in a single crank revolution. Unit is in newtons with a resolution of 1.

U16 minimumAngle

Minimum Angle: The maximumAngle value, which represents the minimum force value measured in a single crank revolution. Unit is in newtons with a resolution of 1.

S16 minimumForceMagnitude

Minimum Force Magnitude: The Maximum Force Magnitude value, which represents the minimum force value measured in a single crank revolution. Unit is in newtons with a resolution of 1.

U8 pedalPowerBalanceValue

Pedal Power Balance Value : Field represents the ratio between the total amount of power measured by the sensor and a reference Unit is in percentage with a resolution of 1/2

U16 topDeadSpotAngleValue

Top Dead Spot Angle Value: The Top Dead Spot Angle field represents the crank angle when the value of the Instantaneous Power value becomes Positive Unit is in degrees with a resolution of 1.


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