Package com.dsi.ant.plugins.antplus.pcc
Class AntPlusBikeSpeedDistancePcc.IpcDefines
java.lang.Object
com.dsi.ant.plugins.antplus.pcc.AntPlusBikeSpeedDistancePcc.IpcDefines
- Enclosing class:
- AntPlusBikeSpeedDistancePcc
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
MSG_EVENT_BIKESPEEDDISTANCE_CALCULATEDACCUMULATEDDISTANCE_PARAM_decimalCALCULATEDACCUMULATEDDISTANCE
The accumulated distance calculated from the raw values in the sensor broadcast since the sensor was first connected.static final String
The speed calculated from the raw values in the sensor broadcast.static final String
Page 5 IsStopped flagstatic final String
Sensor reported time counter value of last distance or speed computation (up to 1/200s accuracy).static final String
Total number of revolutions since the sensor was first connected.static final int
The accumulated distance calculated from the raw values in the sensor broadcast since the sensor was first connected.static final int
The speed calculated from the raw values in the sensor broadcast.static final int
Page 5 extra datastatic final int
The raw event timestamp and revolution count accumulation. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
MSG_EVENT_BIKESPEEDDISTANCE_whatCALCULATEDSPEED
public static final int MSG_EVENT_BIKESPEEDDISTANCE_whatCALCULATEDSPEEDThe speed calculated from the raw values in the sensor broadcast.- See Also:
-
MSG_EVENT_BIKESPEEDDISTANCE_CALCULATEDSPEED_PARAM_decimalCALCULATEDSPEED
The speed calculated from the raw values in the sensor broadcast. Sent in theMSG_EVENT_BIKESPEEDDISTANCE_whatCALCULATEDSPEED
event.- See Also:
-
MSG_EVENT_BIKESPEEDDISTANCE_whatCALCULATEDACCUMULATEDDISTANCE
public static final int MSG_EVENT_BIKESPEEDDISTANCE_whatCALCULATEDACCUMULATEDDISTANCEThe accumulated distance calculated from the raw values in the sensor broadcast since the sensor was first connected.- See Also:
-
MSG_EVENT_BIKESPEEDDISTANCE_CALCULATEDACCUMULATEDDISTANCE_PARAM_decimalCALCULATEDACCUMULATEDDISTANCE
public static final String MSG_EVENT_BIKESPEEDDISTANCE_CALCULATEDACCUMULATEDDISTANCE_PARAM_decimalCALCULATEDACCUMULATEDDISTANCEThe accumulated distance calculated from the raw values in the sensor broadcast since the sensor was first connected. Sent in theMSG_EVENT_BIKESPEEDDISTANCE_whatCALCULATEDACCUMULATEDDISTANCE
event.- See Also:
-
MSG_EVENT_BIKESPEEDDISTANCE_whatRAWSPEEDANDDISTANCEDATA
public static final int MSG_EVENT_BIKESPEEDDISTANCE_whatRAWSPEEDANDDISTANCEDATAThe raw event timestamp and revolution count accumulation.- See Also:
-
MSG_EVENT_BIKESPEEDDISTANCE_RAWSPEEDANDDISTANCEDATA_PARAM_decimalTIMESTAMPOFLASTEVENT
public static final String MSG_EVENT_BIKESPEEDDISTANCE_RAWSPEEDANDDISTANCEDATA_PARAM_decimalTIMESTAMPOFLASTEVENTSensor reported time counter value of last distance or speed computation (up to 1/200s accuracy). Sent in theMSG_EVENT_BIKESPEEDDISTANCE_whatRAWSPEEDANDDISTANCEDATA
event.- See Also:
-
MSG_EVENT_BIKESPEEDDISTANCE_RAWSPEEDANDDISTANCEDATA_PARAM_longCUMULATIVEREVOLUTIONS
public static final String MSG_EVENT_BIKESPEEDDISTANCE_RAWSPEEDANDDISTANCEDATA_PARAM_longCUMULATIVEREVOLUTIONSTotal number of revolutions since the sensor was first connected. 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_BIKESPEEDDISTANCE_whatRAWSPEEDANDDISTANCEDATA
event.- See Also:
-
MSG_EVENT_BIKESPEEDDISTANCE_whatMOTIONANDSPEEDDATA
public static final int MSG_EVENT_BIKESPEEDDISTANCE_whatMOTIONANDSPEEDDATAPage 5 extra data- See Also:
-
MSG_EVENT_BIKESPEEDDISTANCE_MOTIONANDSPEEDDATA_PARAM_boolISSTOPPED
Page 5 IsStopped flag- See Also:
-
-
Constructor Details
-
IpcDefines
public IpcDefines()
-