XDK API  3.6.0
Documentation
Data Fields
BleCyclingPowerServiceMeasurementFlags Union Reference

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

Data Fields

BleCyclingPowerServiceFlags cyclingPowerMeasurementFlagsValue
 
struct {
   unsigned int   accumulatedEnergyPresent:1
 
   unsigned int   accumulatedTorquePresent:1
 
   unsigned int   accumulatedTorqueSource:1
 
   unsigned int   bottomDeadSpotAnglePresent:1
 
   unsigned int   crankRevolutionDataPresent:1
 
   unsigned int   extremeAnglesPresent:1
 
   unsigned int   extremeForceMagnitudesPresent:1
 
   unsigned int   extremeTorqueMagnitudesPresent:1
 
   unsigned int   pedalPowerBalancePresent:1
 
   unsigned int   pedalPowerBalanceReference:1
 
   unsigned int   reserved:3
 
   unsigned int   topDeadSpotAnglePresent:1
 
   unsigned int   wheelRevolutionDataPresent:1
 
fields
 

Detailed Description

BleCyclingPowerServiceMeasurementFlags type Define the current Cycling Power Measurement flags to be set during the call of BLECYCLINGPOWERSERVICE_SetCyclingPowerMeasurement It can be builded using the flag value or bit to bit definition

Field Documentation

unsigned int accumulatedEnergyPresent

Accumulated Energy Present: Field indicating if the accumulated energy is included in the measurement. ignored if BLE_CYCLINGPOWERSERVICE_SUPPORT_ACCUMULATED_ENERGY is not supported

unsigned int accumulatedTorquePresent

Accumulated torque present and Accumulated torque source: Fields indicating if Accumulated Torque is included in the measurement. ignored if BLE_CYCLINGPOWERSERVICE_SUPPORT_ACCUMULATED_TORQUE is not supported. The Accumulated Torque Source bit of the Flags field (bit 3) describes whether the value is ’wheel based’ or ‘crank based’

unsigned int accumulatedTorqueSource
unsigned int bottomDeadSpotAnglePresent

Bottom Dead Spot Angle Present: Field indicating if the bottom dead spot angle is included in the measurement. ignored if BLE_CYCLINGPOWERSERVICE_SUPPORT_BOTTOM_DEAD_SPOT_ANGLE is not supported

unsigned int crankRevolutionDataPresent

Crank Revolution Data Present: Field indicating if the crank revolution data is included in the measurement. ignored if BLE_CYCLINGPOWERSERVICE_SUPPORT_CRANK_REVOLUTION_DATA is not supported

BleCyclingPowerServiceFlags cyclingPowerMeasurementFlagsValue

The flags byte value

unsigned int extremeAnglesPresent

Extreme Angles Present: Field indicating if the extreme angles is included in the measurement. ignored if BLE_CYCLINGPOWERSERVICE_SUPPORT_EXTREME_ANGLES is not supported

unsigned int extremeForceMagnitudesPresent

Extreme Force Magnitudes Present: Field indicating if the extreme force magnitudes is included in the measurement. ignored if BLE_CYCLINGPOWERSERVICE_SUPPORT_EXTREME_FORCE_MAGNITUDES is not supported

unsigned int extremeTorqueMagnitudesPresent

Extreme Torque Magnitudes Present: Field indicating if the extreme torque magnitudes is included in the measurement. ignored if BLE_CYCLINGPOWERSERVICE_SUPPORT_EXTREME_TORQUE_MAGNITUDES is not supported

struct { ... } fields
unsigned int pedalPowerBalancePresent

Pedal Power Balance Present et Pedal Power Balance Reference: Fields indicating if Pedal Power Balance is included in the measurement. ignored if BLE_CYCLINGPOWERSERVICE_SUPPORT_PEDAL_POWER_BALANCE is not supported. The Pedal Power Balance Reference bit of the Flags field (bit 1) describes whether the value is referenced from ’left’ or the reference is ‘unknown’.

unsigned int pedalPowerBalanceReference
unsigned int reserved
unsigned int topDeadSpotAnglePresent

Top Dead Spot Angle Present: Field indicating if the top dead spot angle is included in the measurement. ignored if BLE_CYCLINGPOWERSERVICE_SUPPORT_TOP_DEAD_SPOT_ANGLE is not supported

unsigned int wheelRevolutionDataPresent

Wheel Revolution Data Present: Field indicating if the wheel revolution data is included in the measurement. ignored if BLE_CYCLINGPOWERSERVICE_SUPPORT_WHEEL_REVOLUTION_DATA is not supported.


The documentation for this union 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