Package com.dsi.ant.plugins.antplus.pcc
Class AntPlusBikePowerPcc.IpcDefines
java.lang.Object
com.dsi.ant.plugins.antplus.pcc.AntPlusBikePowerPcc.IpcDefines
- Enclosing class:
- AntPlusBikePowerPcc
Defines the keys and values used to communicate between the PCC and plugin.
User code should never have to reference these defines.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The six manufacturer specific bytes to be sent to the power meter.static final String
Enable/disable auto-zero calibration on the power meter.static final String
A valid crank length to set to the power meter.static final String
TheAntPlusBikePowerPcc.CrankLengthSetting
to be sent to the power meter.static final String
The slope value to configure to the CTF power meter.static final String
The six manufacturer specific bytes to be sent to the power meter.static final int
Send a request to the power meter to get the crank parameters.static final int
Send a request to the power meter to send custom calibration parameters.static final int
Send a request to the power meter to perform a manual calibration.static final int
Send a request to the power meter to configure auto-zero calibration.static final int
Send a request to the power meter to set the crank parameters.static final int
Send a request to the CTF power meter to configure slope.static final int
Send a request to the power meter to set custom calibration parameters.static final String
TheAntPlusBikePowerPcc.AutoZeroStatus
currently known for the power meter, aggregated from multiple calibration page types.static final String
The average crank cadence calculated from sensor data.static final String
TheAntPlusBikePowerPcc.DataSource
indicating which type of data was used for calculation or if this is a new starting average value.static final String
The average power calculated from sensor data.static final String
TheAntPlusBikePowerPcc.DataSource
indicating which type of data was used for calculation or if this is a new starting average value.static final String
The average torque calculated from sensor data.static final String
TheAntPlusBikePowerPcc.DataSource
indicating which type of data was used for calculation or if this is a new starting average value.static final String
The distance calculated from sensor data.static final String
TheAntPlusBikePowerPcc.DataSource
indicating which type of data was used for calculation or if this is a new starting average value.static final String
The average speed calculated from sensor data.static final String
TheAntPlusBikePowerPcc.DataSource
indicating which type of data was used for calculation or if this is a new starting average value.static final String
TheAntPlusBikePowerPcc.DataSource
indicating which data page type this field was generated from.static final String
Instantaneous cadence valid for display, computed by sensor (up to 1RPM resolution).static final String
The signed data value sent by the power meter, the data type may be used to infer the type of data being received.static final String
The timestamp corresponding to the instantaneous measurement value.static final String
The data type and engineering units applicable to the measurement value.static final String
The total number of different data types the power meter intends to send.static final String
Indicates if the power meter is reporting the right pedal power (true), or if it does not know which pedal it is reporting (false).static final String
The percentage of the user's total power contribution to a single pedal (up to 1% resolution).static final String
Indicates if the power meter supports separate pedal smoothness or combined pedal smoothness reporting.static final String
The left (or combined) pedal smoothness as determined by the sensor (up to 1/2% resolution.static final String
The right pedal smoothness as determined by the sensor (up to 1/2% resolution.static final String
This field is incremented each time the sensor updates power-only data and is linked to the same field in the Power-Only Data Event.static final String
Used to indicate the average rotation period of the crank during the last update interval, in increments of 1/2048s.static final String
The cumulative sum of the average torque measured every crank rotation event (up to 1/32 Nm resolution).static final String
The crank ticks increment with each crank revolution and indicates a full rotation of the crank.static final String
This field is incremented each time the sensor updates crank torque data.static final String
The crank torque-frequency message uses a 2000Hz clock to time cadence events.static final String
The variation of the output frequency (up to 1/10 Nm/Hz resolution).static final String
Represents the most recent value of torque ticks since the last registered revolution.static final String
The update event count increments with each complete pedal stroke.static final String
Instantaneous power computed by the sensor valid for display (up to 1W resolution).static final String
Accumulated power is the running sum of the instantaneous power data and is incremented at each update of the update event count (up to 1W resolution).static final String
This field is incremented each time the sensor updates power-only data.static final String
The average rotation period of the wheel during the last update interval, in increments of 1/2048s.static final String
The cumulative sum of the average torque measured every update event count (up to 1/32 Nm resolution).static final String
The wheel ticks field increments with each wheel revolution and is used to calculate linear distance traveled (up to 1 rotation resolution).static final String
This field is incremented each time the sensor updates wheel torque data.static final String
TheRequestStatus
for the requested operation.static final String
The Torque Effectiveness is calculated for each crank arm based on the positive (clockwise) and negative (anti-clockwise) torque applied to the crank over each revolution (up to 1/2% resolution).static final String
The Torque Effectiveness is calculated for each crank arm based on the positive (clockwise) and negative (anti-clockwise) torque applied to the crank over each revolution (up to 1/2% resolution).static final String
This field is incremented each time the sensor updates power-only data and is linked to the same field in the Power-Only Data Event.static final int
The updated Auto Zero status of the sensor.static final int
The average cadence between two received messages calculated from the bet available data from the power sensor.static final int
The average power between two received messages calculated from the best available data from the power sensor.static final int
The average torque between two received messages calculated from the best available data from the power sensor.static final int
The distance travelled between two received messages calculated from the best available data from the power sensor.static final int
The average speed between two received messages calculated from the best available data from the power sensor.static final int
Response data from the power meter when calibration occurs (either by request or automatically performed by the power meter) or is confering current calibration status.static final int
The power meter returned the requested crank parameters.static final int
The instantaneous cadence data.static final int
Data sent by power meters intended to enrich the calibration process.static final int
The pedal power data field provides the user's power contribution (as a percentage) between the left and right pedals, as measured by a pedal power sensor.static final int
The instantaneous values of left and right, or combined, Pedal Smoothness from the sensor.static final int
Event timing information and torque values from a power sensor that measures torque at the crank.static final int
Event timing information and crank torque values from a power sensor reported as frequency instead.static final int
The basic power data calculated by the sensor itself.static final int
Event timing information and torque values from a power sensor that measures torque on the rear wheel.static final int
Final result of the command requested.static final int
The instantaneous values of left and right Torque Effectiveness from the sensor.static final String
The plugin package path.static final String
The plugin service path. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
PATH_ANTPLUS_BIKEPOWERPLUGIN_PKG
The plugin package path.- See Also:
-
PATH_ANTPLUS_BIKEPOWERPLUGIN_SERVICE
The plugin service path.- See Also:
-
MSG_EVENT_BIKEPOWER_whatRAWPOWERONLYDATA
public static final int MSG_EVENT_BIKEPOWER_whatRAWPOWERONLYDATAThe basic power data calculated by the sensor itself. This data is mandatory and must be sent by all non-CTF sensors.- See Also:
-
MSG_EVENT_BIKEPOWER_RAWPOWERONLYDATA_PARAM_longPOWERONLYUPDATEEVENTCOUNT
This field is incremented each time the sensor updates power-only data. Can be used to help calculate power between RF outages and to determine if the data from the sensor is new. Note: If the subscriber is not the first PCC connected to the device the accumulation will probably already be at a value greater than 0 and the subscriber should save the first received value as a relative zero for itself. Sent in theMSG_EVENT_BIKEPOWER_whatRAWPOWERONLYDATA
event.- See Also:
-
MSG_EVENT_BIKEPOWER_RAWPOWERONLYDATA_PARAM_intINSTANTANEOUSPOWER
Instantaneous power computed by the sensor valid for display (up to 1W resolution). Sent in theMSG_EVENT_BIKEPOWER_whatRAWPOWERONLYDATA
event.- See Also:
-
MSG_EVENT_BIKEPOWER_RAWPOWERONLYDATA_PARAM_longACCUMULATEDPOWER
Accumulated power is the running sum of the instantaneous power data and is incremented at each update of the update event count (up to 1W resolution). Can be used to help calculate power between RF outages. Note: If the subscriber is not the first PCC connected to the device the accumulation will probably already be at a value greater than 0 and the subscriber should save the first received value as a relative zero for itself. Sent in theMSG_EVENT_BIKEPOWER_whatRAWPOWERONLYDATA
event.- See Also:
-
MSG_EVENT_BIKEPOWER_whatPEDALPOWERBALANCE
public static final int MSG_EVENT_BIKEPOWER_whatPEDALPOWERBALANCEThe pedal power data field provides the user's power contribution (as a percentage) between the left and right pedals, as measured by a pedal power sensor. This data field should be interpreted with the power-only update event count field to determine if the sensor data is new. This data is optional and may not be sent by all sensors.- See Also:
-
MSG_EVENT_BIKEPOWER_PEDALPOWERBALANCE_PARAM_boolRIGHTPEDALINDICATOR
Indicates if the power meter is reporting the right pedal power (true), or if it does not know which pedal it is reporting (false). Sent in theMSG_EVENT_BIKEPOWER_whatPEDALPOWERBALANCE
event.- See Also:
-
MSG_EVENT_BIKEPOWER_PEDALPOWERBALANCE_PARAM_intPEDALPOWERPERCENTAGE
The percentage of the user's total power contribution to a single pedal (up to 1% resolution). Sent in theMSG_EVENT_BIKEPOWER_whatPEDALPOWERBALANCE
event.- See Also:
-
MSG_EVENT_BIKEPOWER_whatINSTANTANEOUSCADENCE
public static final int MSG_EVENT_BIKEPOWER_whatINSTANTANEOUSCADENCEThe instantaneous cadence data. This data is optional and may not be sent by all sensors.- See Also:
-
MSG_EVENT_BIKEPOWER_INSTANTANEOUSCADENCE_PARAM_intDATASOURCE
TheAntPlusBikePowerPcc.DataSource
indicating which data page type this field was generated from. Sent in theMSG_EVENT_BIKEPOWER_whatINSTANTANEOUSCADENCE
event.- See Also:
-
MSG_EVENT_BIKEPOWER_INSTANTANEOUSCADENCE_PARAM_intINSTANTANEOUSCADENCE
Instantaneous cadence valid for display, computed by sensor (up to 1RPM resolution). Sent in theMSG_EVENT_BIKEPOWER_whatINSTANTANEOUSCADENCE
event.- See Also:
-
MSG_EVENT_BIKEPOWER_whatRAWWHEELTORQUEDATA
public static final int MSG_EVENT_BIKEPOWER_whatRAWWHEELTORQUEDATAEvent timing information and torque values from a power sensor that measures torque on the rear wheel. Timing is based on a 2048Hz clock and torque is transmitted in Newton meters. This data is optional and may not be sent by all sensors. Power sensors do not support wheel torque and crank torque simultaneously.- See Also:
-
MSG_EVENT_BIKEPOWER_RAWWHEELTORQUEDATA_PARAM_longWHEELTORQUEUPDATEEVENTCOUNT
public static final String MSG_EVENT_BIKEPOWER_RAWWHEELTORQUEDATA_PARAM_longWHEELTORQUEUPDATEEVENTCOUNTThis field is incremented each time the sensor updates wheel torque data. Can be used to help calculate power between RF outages and to determine if the data from the sensor is new. Note: If the subscriber is not the first PCC connected to the device the accumulation will probably already be at a value greater than 0 and the subscriber should save the first received value as a relative zero for itself. Sent in theMSG_EVENT_BIKEPOWER_whatRAWWHEELTORQUEDATA
event.- See Also:
-
MSG_EVENT_BIKEPOWER_RAWWHEELTORQUEDATA_PARAM_longACCUMULATEDWHEELTICKS
The wheel ticks field increments with each wheel revolution and is used to calculate linear distance traveled (up to 1 rotation resolution). For event-synchronous systems, the wheel ticks and update event count increment at the same rate. Note: If the subscriber is not the first PCC connected to the device the accumulation will probably already be at a value greater than 0 and the subscriber should save the first received value as a relative zero for itself. Sent in theMSG_EVENT_BIKEPOWER_whatRAWWHEELTORQUEDATA
event.- See Also:
-
MSG_EVENT_BIKEPOWER_RAWWHEELTORQUEDATA_PARAM_decimalACCUMULATEDWHEELPERIOD
public static final String MSG_EVENT_BIKEPOWER_RAWWHEELTORQUEDATA_PARAM_decimalACCUMULATEDWHEELPERIODThe average rotation period of the wheel during the last update interval, in increments of 1/2048s. Each Wheel Period tick represents a 488-microsecond interval. In event-synchronous systems, the accumulated wheel period time stamp field rolls over in 32 seconds. In fixed time interval update systems, the time to rollover depends on wheel speed but is greater than 32 seconds. Note: If the subscriber is not the first PCC connected to the device the accumulation will probably already be at a value greater than 0 and the subscriber should save the first received value as a relative zero for itself. Sent in theMSG_EVENT_BIKEPOWER_whatRAWWHEELTORQUEDATA
event.- See Also:
-
MSG_EVENT_BIKEPOWER_RAWWHEELTORQUEDATA_PARAM_decimalACCUMULATEDWHEELTORQUE
public static final String MSG_EVENT_BIKEPOWER_RAWWHEELTORQUEDATA_PARAM_decimalACCUMULATEDWHEELTORQUEThe cumulative sum of the average torque measured every update event count (up to 1/32 Nm resolution). Do NOT use wheel ticks to calculate linear speed. Note: If the subscriber is not the first PCC connected to the device the accumulation will probably already be at a value greater than 0 and the subscriber should save the first received value as a relative zero for itself. Sent in theMSG_EVENT_BIKEPOWER_whatRAWWHEELTORQUEDATA
event.- See Also:
-
MSG_EVENT_BIKEPOWER_whatRAWCRANKTORQUEDATA
public static final int MSG_EVENT_BIKEPOWER_whatRAWCRANKTORQUEDATAEvent timing information and torque values from a power sensor that measures torque at the crank. Timing is based on a 2048Hz clock and torque is transmitted in Newton meters. This data is optional and may not be sent by all sensors. Power sensors do not support wheel torque and crank torque simultaneously.- See Also:
-
MSG_EVENT_BIKEPOWER_RAWCRANKTORQUEDATA_PARAM_longCRANKTORQUEUPDATEEVENTCOUNT
public static final String MSG_EVENT_BIKEPOWER_RAWCRANKTORQUEDATA_PARAM_longCRANKTORQUEUPDATEEVENTCOUNTThis field is incremented each time the sensor updates crank torque data. Can be used to help calculate power between RF outages and to determine if the data from the sensor is new. Note: If the subscriber is not the first PCC connected to the device the accumulation will probably already be at a value greater than 0 and the subscriber should save the first received value as a relative zero for itself. Sent in theMSG_EVENT_BIKEPOWER_whatRAWCRANKTORQUEDATA
event.- See Also:
-
MSG_EVENT_BIKEPOWER_RAWCRANKTORQUEDATA_PARAM_longACCUMULATEDCRANKTICKS
The crank ticks increment with each crank revolution and indicates a full rotation of the crank. For systems that update synchronously with crank events (event-synchronous), the crank ticks and update event count increment at the same rate. Note: If the subscriber is not the first PCC connected to the device the accumulation will probably already be at a value greater than 0 and the subscriber should save the first received value as a relative zero for itself. Sent in theMSG_EVENT_BIKEPOWER_whatRAWCRANKTORQUEDATA
event.- See Also:
-
MSG_EVENT_BIKEPOWER_RAWCRANKTORQUEDATA_PARAM_decimalACCUMULATEDCRANKPERIOD
public static final String MSG_EVENT_BIKEPOWER_RAWCRANKTORQUEDATA_PARAM_decimalACCUMULATEDCRANKPERIODUsed to indicate the average rotation period of the crank during the last update interval, in increments of 1/2048s. Each crank period tick represents a 488-microsecond interval. In event-synchronous systems, the accumulated crank period field rolls over in 32 seconds. In fixed update (time-synchronous) systems the time to rollover depends on wheel speed, but is greater than 32 seconds. Sent in theMSG_EVENT_BIKEPOWER_whatRAWCRANKTORQUEDATA
event.- See Also:
-
MSG_EVENT_BIKEPOWER_RAWCRANKTORQUEDATA_PARAM_decimalACCUMULATEDCRANKTORQUE
public static final String MSG_EVENT_BIKEPOWER_RAWCRANKTORQUEDATA_PARAM_decimalACCUMULATEDCRANKTORQUEThe cumulative sum of the average torque measured every crank rotation event (up to 1/32 Nm resolution). Note: If the subscriber is not the first PCC connected to the device the accumulation will probably already be at a value greater than 0 and the subscriber should save the first received value as a relative zero for itself. Sent in theMSG_EVENT_BIKEPOWER_whatRAWCRANKTORQUEDATA
event.- See Also:
-
MSG_EVENT_BIKEPOWER_whatTORQUEEFFECTIVENESS
public static final int MSG_EVENT_BIKEPOWER_whatTORQUEEFFECTIVENESSThe instantaneous values of left and right Torque Effectiveness from the sensor. This data is optional and may be sent by power-only or torque sensors.- See Also:
-
MSG_EVENT_BIKEPOWER_TORQUEEFFECTIVENESS_PARAM_longPOWERONLYUPDATEEVENTCOUNT
public static final String MSG_EVENT_BIKEPOWER_TORQUEEFFECTIVENESS_PARAM_longPOWERONLYUPDATEEVENTCOUNTThis field is incremented each time the sensor updates power-only data and is linked to the same field in the Power-Only Data Event. It can be used to help graph and associate data received in this event. Note: If the subscriber is not the first PCC connected to the device the accumulation will probably already be at a value greater than 0 and the subscriber should save the first received value as a relative zero for itself. Sent in theMSG_EVENT_BIKEPOWER_whatTORQUEEFFECTIVENESS
event.- See Also:
-
MSG_EVENT_BIKEPOWER_TORQUEEFFECTIVENESS_PARAM_decimalLEFTTORQUEEFFECTIVENESS
public static final String MSG_EVENT_BIKEPOWER_TORQUEEFFECTIVENESS_PARAM_decimalLEFTTORQUEEFFECTIVENESSThe Torque Effectiveness is calculated for each crank arm based on the positive (clockwise) and negative (anti-clockwise) torque applied to the crank over each revolution (up to 1/2% resolution). This is the torque effectiveness calculated for the left leg by the sensor. '-1' = Invalid or negative data. Sent in theMSG_EVENT_BIKEPOWER_whatTORQUEEFFECTIVENESS
event.- See Also:
-
MSG_EVENT_BIKEPOWER_TORQUEEFFECTIVENESS_PARAM_decimalRIGHTTORQUEEFFECTIVENESS
public static final String MSG_EVENT_BIKEPOWER_TORQUEEFFECTIVENESS_PARAM_decimalRIGHTTORQUEEFFECTIVENESSThe Torque Effectiveness is calculated for each crank arm based on the positive (clockwise) and negative (anti-clockwise) torque applied to the crank over each revolution (up to 1/2% resolution). This is the torque effectiveness calculated for the right leg by the sensor. '-1' = Invalid or negative data. Sent in theMSG_EVENT_BIKEPOWER_whatTORQUEEFFECTIVENESS
event.- See Also:
-
MSG_EVENT_BIKEPOWER_whatPEDALSMOOTHNESS
public static final int MSG_EVENT_BIKEPOWER_whatPEDALSMOOTHNESSThe instantaneous values of left and right, or combined, Pedal Smoothness from the sensor. This data is optional and may be sent by power-only or torque sensors.- See Also:
-
MSG_EVENT_BIKEPOWER_PEDALSMOOTHNESS_PARAM_longPOWERONLYUPDATEEVENTCOUNT
This field is incremented each time the sensor updates power-only data and is linked to the same field in the Power-Only Data Event. It can be used to help graph and associate data received in this event. Note: If the subscriber is not the first PCC connected to the device the accumulation will probably already be at a value greater than 0 and the subscriber should save the first received value as a relative zero for itself. Sent in theMSG_EVENT_BIKEPOWER_whatPEDALSMOOTHNESS
event.- See Also:
-
MSG_EVENT_BIKEPOWER_PEDALSMOOTHNESS_PARAM_boolSEPARATEPEDALSMOOTHNESSSUPPORT
public static final String MSG_EVENT_BIKEPOWER_PEDALSMOOTHNESS_PARAM_boolSEPARATEPEDALSMOOTHNESSSUPPORTIndicates if the power meter supports separate pedal smoothness or combined pedal smoothness reporting. Sent in theMSG_EVENT_BIKEPOWER_whatPEDALSMOOTHNESS
event.- See Also:
-
MSG_EVENT_BIKEPOWER_PEDALSMOOTHNESS_PARAM_decimalLEFTORCOMBINEDPEDALSMOOTHNESS
public static final String MSG_EVENT_BIKEPOWER_PEDALSMOOTHNESS_PARAM_decimalLEFTORCOMBINEDPEDALSMOOTHNESSThe left (or combined) pedal smoothness as determined by the sensor (up to 1/2% resolution. '-1' = Invalid or negative data. Sent in theMSG_EVENT_BIKEPOWER_whatPEDALSMOOTHNESS
event.- See Also:
-
MSG_EVENT_BIKEPOWER_PEDALSMOOTHNESS_PARAM_decimalRIGHTPEDALSMOOTHNESS
The right pedal smoothness as determined by the sensor (up to 1/2% resolution. '-1' = Invalid or negative data. Sent in theMSG_EVENT_BIKEPOWER_whatPEDALSMOOTHNESS
event.- See Also:
-
MSG_EVENT_BIKEPOWER_whatRAWCTFDATA
public static final int MSG_EVENT_BIKEPOWER_whatRAWCTFDATAEvent timing information and crank torque values from a power sensor reported as frequency instead. This data is optional and may not be sent by all sensors. Note: Crank Torque Frequency sensors require daily calibration to receive correct data.- See Also:
-
MSG_EVENT_BIKEPOWER_RAWCTFDATA_PARAM_longCTFUPDATEEVENTCOUNT
The update event count increments with each complete pedal stroke. The update event count is used to indicate the number of cadence events that have occurred between two consecutively received messages. Note: If the subscriber is not the first PCC connected to the device the accumulation will probably already be at a value greater than 0 and the subscriber should save the first received value as a relative zero for itself. Sent in theMSG_EVENT_BIKEPOWER_whatRAWCTFDATA
event.- See Also:
-
MSG_EVENT_BIKEPOWER_RAWCTFDATA_PARAM_decimalINSTANTANEOUSSLOPE
The variation of the output frequency (up to 1/10 Nm/Hz resolution). Sent in theMSG_EVENT_BIKEPOWER_whatRAWCTFDATA
event.- See Also:
-
MSG_EVENT_BIKEPOWER_RAWCTFDATA_PARAM_decimalACCUMULATEDTIMESTAMP
The crank torque-frequency message uses a 2000Hz clock to time cadence events. The time stamp field indicates the time of the most recent cadence event. Each time stamp tick represents a 500-microsecond interval. Note: If the subscriber is not the first PCC connected to the device the accumulation will probably already be at a value greater than 0 and the subscriber should save the first received value as a relative zero for itself. Sent in theMSG_EVENT_BIKEPOWER_whatRAWCTFDATA
event.- See Also:
-
MSG_EVENT_BIKEPOWER_RAWCTFDATA_PARAM_longACCUMULATEDTORQUETICKSSTAMP
Represents the most recent value of torque ticks since the last registered revolution. Note: If the subscriber is not the first PCC connected to the device the accumulation will probably already be at a value greater than 0 and the subscriber should save the first received value as a relative zero for itself. Sent in theMSG_EVENT_BIKEPOWER_whatRAWCTFDATA
event.- See Also:
-
MSG_EVENT_BIKEPOWER_whatCALIBRATIONMESSAGE
public static final int MSG_EVENT_BIKEPOWER_whatCALIBRATIONMESSAGEResponse data from the power meter when calibration occurs (either by request or automatically performed by the power meter) or is confering current calibration status. This data is optional and may not be sent by all sensors.- See Also:
-
MSG_EVENT_BIKEPOWER_whatAUTOZEROSTATUS
public static final int MSG_EVENT_BIKEPOWER_whatAUTOZEROSTATUSThe updated Auto Zero status of the sensor.- See Also:
-
MSG_EVENT_BIKEPOWER_AUTOZEROSTATUS_PARAM_intAUTOZEROSTATUS
TheAntPlusBikePowerPcc.AutoZeroStatus
currently known for the power meter, aggregated from multiple calibration page types. Sent in theMSG_EVENT_BIKEPOWER_whatAUTOZEROSTATUS
event.- See Also:
-
MSG_EVENT_BIKEPOWER_whatCALCULATEDPOWER
public static final int MSG_EVENT_BIKEPOWER_whatCALCULATEDPOWERThe average power between two received messages calculated from the best available data from the power sensor. Recommended method. This data is mandatory and must be sent by all sensors.- See Also:
-
MSG_EVENT_BIKEPOWER_CALCULATEDPOWER_PARAM_intDATASOURCE
TheAntPlusBikePowerPcc.DataSource
indicating which type of data was used for calculation or if this is a new starting average value. A new starting value could be indicated when starting the plugin, or if reception is lost for too long to guarantee accurate data. If using a new starting value to record data, please use this event as a new starting point in time. Sent in theMSG_EVENT_BIKEPOWER_whatCALCULATEDPOWER
event.- See Also:
-
MSG_EVENT_BIKEPOWER_CALCULATEDPOWER_PARAM_decimalCALCULATEDPOWER
The average power calculated from sensor data. Sent in theMSG_EVENT_BIKEPOWER_whatCALCULATEDPOWER
event.- See Also:
-
MSG_EVENT_BIKEPOWER_whatCALCULATEDTORQUE
public static final int MSG_EVENT_BIKEPOWER_whatCALCULATEDTORQUEThe average torque between two received messages calculated from the best available data from the power sensor. Recommended method. This data can only be sent by torque sensors.- See Also:
-
MSG_EVENT_BIKEPOWER_CALCULATEDTORQUE_PARAM_intDATASOURCE
TheAntPlusBikePowerPcc.DataSource
indicating which type of data was used for calculation or if this is a new starting average value. A new starting value could be indicated when starting the plugin, or if reception is lost for too long to guarantee accurate data. If using a new starting value to record data, please use this event as a new starting point in time. Sent in theMSG_EVENT_BIKEPOWER_whatCALCULATEDTORQUE
event.- See Also:
-
MSG_EVENT_BIKEPOWER_CALCULATEDTORQUE_PARAM_decimalCALCULATEDTORQUE
The average torque calculated from sensor data. Sent in theMSG_EVENT_BIKEPOWER_whatCALCULATEDTORQUE
event.- See Also:
-
MSG_EVENT_BIKEPOWER_whatCALCULATEDCRANKCADENCE
public static final int MSG_EVENT_BIKEPOWER_whatCALCULATEDCRANKCADENCEThe average cadence between two received messages calculated from the bet available data from the power sensor. Recommended method. This data can only be sent by crank torque power sensors.- See Also:
-
MSG_EVENT_BIKEPOWER_CALCULATEDCRANKCADENCE_PARAM_intDATASOURCE
TheAntPlusBikePowerPcc.DataSource
indicating which type of data was used for calculation or if this is a new starting average value. A new starting value could be indicated when starting the plugin, or if reception is lost for too long to guarantee accurate data. If using a new starting value to record data, please use this event as a new starting point in time. Sent in theMSG_EVENT_BIKEPOWER_whatCALCULATEDCRANKCADENCE
event.- See Also:
-
MSG_EVENT_BIKEPOWER_CALCULATEDCRANKCADENCE_PARAM_decimalCALCULATEDCRANKCADENCE
public static final String MSG_EVENT_BIKEPOWER_CALCULATEDCRANKCADENCE_PARAM_decimalCALCULATEDCRANKCADENCEThe average crank cadence calculated from sensor data. Sent in theMSG_EVENT_BIKEPOWER_whatCALCULATEDCRANKCADENCE
event.- See Also:
-
MSG_EVENT_BIKEPOWER_whatCALCULATEDWHEELSPEED
public static final int MSG_EVENT_BIKEPOWER_whatCALCULATEDWHEELSPEEDThe average speed between two received messages calculated from the best available data from the power sensor. Recommended method. This data can only be sent by wheel torque power sensors.- See Also:
-
MSG_EVENT_BIKEPOWER_CALCULATEDWHEELSPEED_PARAM_intDATASOURCE
TheAntPlusBikePowerPcc.DataSource
indicating which type of data was used for calculation or if this is a new starting average value. A new starting value could be indicated when starting the plugin, or if reception is lost for too long to guarantee accurate data. If using a new starting value to record data, please use this event as a new starting point in time. Sent in theMSG_EVENT_BIKEPOWER_whatCALCULATEDWHEELSPEED
event.- See Also:
-
MSG_EVENT_BIKEPOWER_CALCULATEDWHEELSPEED_PARAM_decimalCALCULATEDWHEELSPEED
public static final String MSG_EVENT_BIKEPOWER_CALCULATEDWHEELSPEED_PARAM_decimalCALCULATEDWHEELSPEEDThe average speed calculated from sensor data. Sent in theMSG_EVENT_BIKEPOWER_whatCALCULATEDWHEELSPEED
event.- See Also:
-
MSG_EVENT_BIKEPOWER_whatCALCULATEDWHEELDISTANCE
public static final int MSG_EVENT_BIKEPOWER_whatCALCULATEDWHEELDISTANCEThe distance travelled between two received messages calculated from the best available data from the power sensor. Recommended method. This data can only be sent by wheel torque power sensors.- See Also:
-
MSG_EVENT_BIKEPOWER_CALCULATEDWHEELDISTANCE_PARAM_intDATASOURCE
TheAntPlusBikePowerPcc.DataSource
indicating which type of data was used for calculation or if this is a new starting average value. A new starting value could be indicated when starting the plugin, or if reception is lost for too long to guarantee accurate data. If using a new starting value to record data, please use this event as a new starting point in time. Sent in theMSG_EVENT_BIKEPOWER_whatCALCULATEDWHEELDISTANCE
event.- See Also:
-
MSG_EVENT_BIKEPOWER_CALCULATEDWHEELDISTANCE_PARAM_decimalCALCULATEDWHEELDISTANCE
public static final String MSG_EVENT_BIKEPOWER_CALCULATEDWHEELDISTANCE_PARAM_decimalCALCULATEDWHEELDISTANCEThe distance calculated from sensor data. Sent in theMSG_EVENT_BIKEPOWER_whatCALCULATEDWHEELDISTANCE
event.- See Also:
-
MSG_EVENT_BIKEPOWER_whatMEASUREMENTOUTPUTDATA
public static final int MSG_EVENT_BIKEPOWER_whatMEASUREMENTOUTPUTDATAData sent by power meters intended to enrich the calibration process.- See Also:
-
MSG_EVENT_BIKEPOWER_MEASUREMENTOUTPUTDATA_PARAM_intNUMOFDATATYPES
The total number of different data types the power meter intends to send. Sent in theMSG_EVENT_BIKEPOWER_whatMEASUREMENTOUTPUTDATA
event.- See Also:
-
MSG_EVENT_BIKEPOWER_MEASUREMENTOUTPUTDATA_PARAM_intDATATYPE
The data type and engineering units applicable to the measurement value. Sent in theMSG_EVENT_BIKEPOWER_whatMEASUREMENTOUTPUTDATA
event.- See Also:
-
MSG_EVENT_BIKEPOWER_MEASUREMENTOUTPUTDATA_PARAM_decimalTIMESTAMP
The timestamp corresponding to the instantaneous measurement value. Sent in theMSG_EVENT_BIKEPOWER_whatMEASUREMENTOUTPUTDATA
event.- See Also:
-
MSG_EVENT_BIKEPOWER_MEASUREMENTOUTPUTDATA_PARAM_decimalMEASUREMENTVALUE
The signed data value sent by the power meter, the data type may be used to infer the type of data being received. Sent in theMSG_EVENT_BIKEPOWER_whatMEASUREMENTOUTPUTDATA
event.- See Also:
-
MSG_EVENT_BIKEPOWER_whatCRANKPARAMETERS
public static final int MSG_EVENT_BIKEPOWER_whatCRANKPARAMETERSThe power meter returned the requested crank parameters.- See Also:
-
MSG_EVENT_BIKEPOWER_whatREQUESTFINISHED
public static final int MSG_EVENT_BIKEPOWER_whatREQUESTFINISHEDFinal result of the command requested.- See Also:
-
MSG_EVENT_BIKEPOWER_REQUESTFINISHED_PARAM_intREQUESTSTATUS
TheRequestStatus
for the requested operation. Note that even if a command is sent successfully, there is no guaranteed response from the sensor. Please contact the manufacturer for more information on how this request is handled. Sent in theMSG_EVENT_BIKEPOWER_whatREQUESTFINISHED
event.- See Also:
-
MSG_CMD_BIKEPOWER_whatREQUESTMANUALCALIBRATION
public static final int MSG_CMD_BIKEPOWER_whatREQUESTMANUALCALIBRATIONSend a request to the power meter to perform a manual calibration. CTF meter's typically require this to be performed once per day.- See Also:
-
MSG_CMD_BIKEPOWER_whatSETAUTOZERO
public static final int MSG_CMD_BIKEPOWER_whatSETAUTOZEROSend a request to the power meter to configure auto-zero calibration.- See Also:
-
MSG_CMD_BIKEPOWER_SETAUTOZERO_PARAM_boolAUTOZEROENABLE
Enable/disable auto-zero calibration on the power meter. Sent in theMSG_CMD_BIKEPOWER_whatSETAUTOZERO
command.- See Also:
-
MSG_CMD_BIKEPOWER_whatSETCTFSLOPE
public static final int MSG_CMD_BIKEPOWER_whatSETCTFSLOPESend a request to the CTF power meter to configure slope.- See Also:
-
MSG_CMD_BIKEPOWER_SETCTFSLOPE_PARAM_decimalSLOPE
The slope value to configure to the CTF power meter. Sent in theMSG_CMD_BIKEPOWER_whatSETCTFSLOPE
command.- See Also:
-
MSG_CMD_BIKEPOWER_whatREQUESTCUSTOMCALIBRATIONPARAMETERS
public static final int MSG_CMD_BIKEPOWER_whatREQUESTCUSTOMCALIBRATIONPARAMETERSSend a request to the power meter to send custom calibration parameters.- See Also:
-
MSG_CMD_BIKEPOWER_REQUESTCUSTOMCALIBRATIONPARAMETERS_PARAM_arrayByteMANUFACTURERSPECIFICPARAMETERS
public static final String MSG_CMD_BIKEPOWER_REQUESTCUSTOMCALIBRATIONPARAMETERS_PARAM_arrayByteMANUFACTURERSPECIFICPARAMETERSThe six manufacturer specific bytes to be sent to the power meter. Sent in theMSG_CMD_BIKEPOWER_whatREQUESTCUSTOMCALIBRATIONPARAMETERS
command.- See Also:
-
MSG_CMD_BIKEPOWER_whatSETCUSTOMCALIBRATIONPARAMETERS
public static final int MSG_CMD_BIKEPOWER_whatSETCUSTOMCALIBRATIONPARAMETERSSend a request to the power meter to set custom calibration parameters.- See Also:
-
MSG_CMD_BIKEPOWER_SETCUSTOMCALIBRATIONPARAMETERS_PARAM_arrayByteMANUFACTURERSPECIFICPARAMETERS
public static final String MSG_CMD_BIKEPOWER_SETCUSTOMCALIBRATIONPARAMETERS_PARAM_arrayByteMANUFACTURERSPECIFICPARAMETERSThe six manufacturer specific bytes to be sent to the power meter. Sent in theMSG_CMD_BIKEPOWER_whatSETCUSTOMCALIBRATIONPARAMETERS
command.- See Also:
-
MSG_CMD_BIKEPOWER_whatREQUESTCRANKPARAMETERS
public static final int MSG_CMD_BIKEPOWER_whatREQUESTCRANKPARAMETERSSend a request to the power meter to get the crank parameters.- See Also:
-
MSG_CMD_BIKEPOWER_whatSETCRANKPARAMETERS
public static final int MSG_CMD_BIKEPOWER_whatSETCRANKPARAMETERSSend a request to the power meter to set the crank parameters.- See Also:
-
MSG_CMD_BIKEPOWER_SETCRANKPARAMETERS_PARAM_intCRANKLENGTHSETTING
TheAntPlusBikePowerPcc.CrankLengthSetting
to be sent to the power meter. Sent in theMSG_CMD_BIKEPOWER_whatSETCRANKPARAMETERS
command.- See Also:
-
MSG_CMD_BIKEPOWER_SETCRANKPARAMETERS_PARAM_decimalFULLCRANKLENGTH
A valid crank length to set to the power meter. Set to NULL if not intending to set this value. Sent in theMSG_CMD_BIKEPOWER_whatSETCRANKPARAMETERS
command.- See Also:
-
-
Constructor Details
-
IpcDefines
public IpcDefines()
-