Class AntPlusBikeCadencePcc.IpcDefines

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

public class AntPlusBikeCadencePcc.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_BIKECADENCE_whatCALCULATEDCADENCE

      public static final int MSG_EVENT_BIKECADENCE_whatCALCULATEDCADENCE
      The cadence calculated from the raw values in the sensor broadcast.
      See Also:
    • MSG_EVENT_BIKECADENCE_CALCULATEDCADENCE_PARAM_decimalCALCULATEDCADENCE

      public static final String MSG_EVENT_BIKECADENCE_CALCULATEDCADENCE_PARAM_decimalCALCULATEDCADENCE
      The cadence calculated from the raw values in the sensor broadcast. Sent in the MSG_EVENT_BIKECADENCE_whatCALCULATEDCADENCE event.
      See Also:
    • MSG_EVENT_BIKECADENCE_whatRAWCADENCEDATA

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

      public static final String MSG_EVENT_BIKECADENCE_RAWCADENCEDATA_PARAM_decimalTIMESTAMPOFLASTEVENT
      Sensor reported time counter value of last event (up to 1/1024s accuracy). Sent in the MSG_EVENT_BIKECADENCE_whatRAWCADENCEDATA event.
      See Also:
    • MSG_EVENT_BIKECADENCE_RAWCADENCEDATA_PARAM_longCUMULATIVEREVOLUTIONS

      public static final String MSG_EVENT_BIKECADENCE_RAWCADENCEDATA_PARAM_longCUMULATIVEREVOLUTIONS
      Total number of revolutions since the sensor was 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_BIKECADENCE_whatRAWCADENCEDATA event.
      See Also:
    • MSG_EVENT_BIKECADENCE_whatMOTIONANDCADENCEDATA

      public static final int MSG_EVENT_BIKECADENCE_whatMOTIONANDCADENCEDATA
      Page 5 extra data
      See Also:
    • MSG_EVENT_BIKECADENCE_MOTIONANDCADENCEDATA_PARAM_boolISSTOPPED

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

    • IpcDefines

      public IpcDefines()