Class AntPlusBikeSpeedDistancePcc.IpcDefines

java.lang.Object
com.dsi.ant.plugins.antplus.pcc.AntPlusBikeSpeedDistancePcc.IpcDefines
Enclosing class:
AntPlusBikeSpeedDistancePcc

public class AntPlusBikeSpeedDistancePcc.IpcDefines extends Object
Defines the keys and values used to communicate between the PCC and plugin. User code should never have to reference these defines.
  • Field Details

    • MSG_EVENT_BIKESPEEDDISTANCE_whatCALCULATEDSPEED

      public static final int MSG_EVENT_BIKESPEEDDISTANCE_whatCALCULATEDSPEED
      The speed calculated from the raw values in the sensor broadcast.
      See Also:
    • MSG_EVENT_BIKESPEEDDISTANCE_CALCULATEDSPEED_PARAM_decimalCALCULATEDSPEED

      public static final String MSG_EVENT_BIKESPEEDDISTANCE_CALCULATEDSPEED_PARAM_decimalCALCULATEDSPEED
      The speed calculated from the raw values in the sensor broadcast. Sent in the MSG_EVENT_BIKESPEEDDISTANCE_whatCALCULATEDSPEED event.
      See Also:
    • MSG_EVENT_BIKESPEEDDISTANCE_whatCALCULATEDACCUMULATEDDISTANCE

      public static final int MSG_EVENT_BIKESPEEDDISTANCE_whatCALCULATEDACCUMULATEDDISTANCE
      The 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_decimalCALCULATEDACCUMULATEDDISTANCE
      The accumulated distance calculated from the raw values in the sensor broadcast since the sensor was first connected. Sent in the MSG_EVENT_BIKESPEEDDISTANCE_whatCALCULATEDACCUMULATEDDISTANCE event.
      See Also:
    • MSG_EVENT_BIKESPEEDDISTANCE_whatRAWSPEEDANDDISTANCEDATA

      public static final int MSG_EVENT_BIKESPEEDDISTANCE_whatRAWSPEEDANDDISTANCEDATA
      The raw event timestamp and revolution count accumulation.
      See Also:
    • MSG_EVENT_BIKESPEEDDISTANCE_RAWSPEEDANDDISTANCEDATA_PARAM_decimalTIMESTAMPOFLASTEVENT

      public static final String MSG_EVENT_BIKESPEEDDISTANCE_RAWSPEEDANDDISTANCEDATA_PARAM_decimalTIMESTAMPOFLASTEVENT
      Sensor reported time counter value of last distance or speed computation (up to 1/200s accuracy). Sent in the MSG_EVENT_BIKESPEEDDISTANCE_whatRAWSPEEDANDDISTANCEDATA event.
      See Also:
    • MSG_EVENT_BIKESPEEDDISTANCE_RAWSPEEDANDDISTANCEDATA_PARAM_longCUMULATIVEREVOLUTIONS

      public static final String MSG_EVENT_BIKESPEEDDISTANCE_RAWSPEEDANDDISTANCEDATA_PARAM_longCUMULATIVEREVOLUTIONS
      Total 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 the MSG_EVENT_BIKESPEEDDISTANCE_whatRAWSPEEDANDDISTANCEDATA event.
      See Also:
    • MSG_EVENT_BIKESPEEDDISTANCE_whatMOTIONANDSPEEDDATA

      public static final int MSG_EVENT_BIKESPEEDDISTANCE_whatMOTIONANDSPEEDDATA
      Page 5 extra data
      See Also:
    • MSG_EVENT_BIKESPEEDDISTANCE_MOTIONANDSPEEDDATA_PARAM_boolISSTOPPED

      public static final String MSG_EVENT_BIKESPEEDDISTANCE_MOTIONANDSPEEDDATA_PARAM_boolISSTOPPED
      Page 5 IsStopped flag
      See Also:
  • Constructor Details

    • IpcDefines

      public IpcDefines()