Class AntPlusStrideSdmPcc.IpcDefines

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

public class AntPlusStrideSdmPcc.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

    • PATH_ANTPLUS_STRIDESDMPLUGIN_PKG

      public static final String PATH_ANTPLUS_STRIDESDMPLUGIN_PKG
      The plugin package path.
      See Also:
    • PATH_ANTPLUS_STRIDESDMPLUGIN_SERVICE

      public static final String PATH_ANTPLUS_STRIDESDMPLUGIN_SERVICE
      The plugin service path.
      See Also:
    • MSG_EVENT_STRIDESDM_whatINSTANTANEOUSSPEED

      public static final int MSG_EVENT_STRIDESDM_whatINSTANTANEOUSSPEED
      The instantaneous speed data. This data is optional and may not be sent by all sensors.
      See Also:
    • MSG_EVENT_STRIDESDM_INSTANTANEOUSSPEED_PARAM_decimalINSTANTANEOUSSPEED

      public static final String MSG_EVENT_STRIDESDM_INSTANTANEOUSSPEED_PARAM_decimalINSTANTANEOUSSPEED
      Instantaneous speed computed by sensor valid for display (up to 1/256 m/s accuracy). Sent in the MSG_EVENT_STRIDESDM_whatINSTANTANEOUSSPEED event.
      See Also:
    • MSG_EVENT_STRIDESDM_whatINSTANTANEOUSCADENCE

      public static final int MSG_EVENT_STRIDESDM_whatINSTANTANEOUSCADENCE
      The instantaneous cadence data. This data is optional and may not be sent by all sensors.
      See Also:
    • MSG_EVENT_STRIDESDM_INSTANTANEOUSCADENCE_PARAM_decimalINSTANTANEOUSCADENCE

      public static final String MSG_EVENT_STRIDESDM_INSTANTANEOUSCADENCE_PARAM_decimalINSTANTANEOUSCADENCE
      Instantaneous cadence valid for display, computed by sensor (up to 1/16 strides/min accuracy). Sent in the MSG_EVENT_STRIDESDM_whatINSTANTANEOUSCADENCE event.
      See Also:
    • MSG_EVENT_STRIDESDM_whatDISTANCE

      public static final int MSG_EVENT_STRIDESDM_whatDISTANCE
      The total distance travelled since the plugin connected to this device. This data is optional and may not be sent by all sensors.
      See Also:
    • MSG_EVENT_STRIDESDM_DISTANCE_PARAM_decimalCUMULATIVEDISTANCE

      public static final String MSG_EVENT_STRIDESDM_DISTANCE_PARAM_decimalCUMULATIVEDISTANCE
      Total distance since the plugin connected to this device (up to 1/16m accuracy). 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_STRIDESDM_whatDISTANCE event.
      See Also:
    • MSG_EVENT_STRIDESDM_whatSTRIDECOUNT

      public static final int MSG_EVENT_STRIDESDM_whatSTRIDECOUNT
      The cumulative stride count since the plugin connected to this device.
      See Also:
    • MSG_EVENT_STRIDESDM_STRIDECOUNT_PARAM_longCUMULATIVESTRIDES

      public static final String MSG_EVENT_STRIDESDM_STRIDECOUNT_PARAM_longCUMULATIVESTRIDES
      Total number of strides taken during the session. 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_STRIDESDM_whatSTRIDECOUNT event.
      See Also:
    • MSG_EVENT_STRIDESDM_whatCOMPUTATIONTIMESTAMP

      public static final int MSG_EVENT_STRIDESDM_whatCOMPUTATIONTIMESTAMP
      Data about the timing of the last speed and distance computation.
      See Also:
    • MSG_EVENT_STRIDESDM_COMPUTATIONTIMESTAMP_PARAM_decimalTIMESTAMPOFLASTCOMPUTATION

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

      public static final int MSG_EVENT_STRIDESDM_whatDATALATENCY
      The sensor reported latency between calculation and sensor transmission.
      See Also:
    • MSG_EVENT_STRIDESDM_DATALATENCY_PARAM_decimalUPDATELATENCY

      public static final String MSG_EVENT_STRIDESDM_DATALATENCY_PARAM_decimalUPDATELATENCY
      Sensor reported time elapsed between the last speed or distance computation and the message transmission (up to 1/32s accuracy). Note: This latency time is a sensor reported value and does not include the time between the message being transmitted by the sensor to the plugin receiver and then to the plugin triggering this event. Sent in the MSG_EVENT_STRIDESDM_whatDATALATENCY event.
      See Also:
    • MSG_EVENT_STRIDESDM_whatCALORIEDATA

      public static final int MSG_EVENT_STRIDESDM_whatCALORIEDATA
      The total calories consumed over the session.
      See Also:
    • MSG_EVENT_STRIDESDM_CALORIEDATA_PARAM_longCUMULATIVECALORIES

      public static final String MSG_EVENT_STRIDESDM_CALORIEDATA_PARAM_longCUMULATIVECALORIES
      The total number of calories consumed from the start of the session. Sent in the MSG_EVENT_STRIDESDM_whatCALORIEDATA event.
      See Also:
    • MSG_EVENT_STRIDESDM_whatSENSORSTATUS

      public static final int MSG_EVENT_STRIDESDM_whatSENSORSTATUS
      Various status information about the sensor.
      See Also:
    • MSG_EVENT_STRIDESDM_SENSORSTATUS_PARAM_intSENSORLOCATION

      public static final String MSG_EVENT_STRIDESDM_SENSORSTATUS_PARAM_intSENSORLOCATION
      The AntPlusStrideSdmPcc.SensorLocation of the current sensor location. Sent in the MSG_EVENT_STRIDESDM_whatSENSORSTATUS event.
      See Also:
    • MSG_EVENT_STRIDESDM_SENSORSTATUS_PARAM_intBATTERYSTATUS

      public static final String MSG_EVENT_STRIDESDM_SENSORSTATUS_PARAM_intBATTERYSTATUS
      See Also:
    • MSG_EVENT_STRIDESDM_SENSORSTATUS_PARAM_intSENSORHEALTH

      public static final String MSG_EVENT_STRIDESDM_SENSORSTATUS_PARAM_intSENSORHEALTH
      The AntPlusStrideSdmPcc.SensorHealth of the current sensor health. Sent in the MSG_EVENT_STRIDESDM_whatSENSORSTATUS event.
      See Also:
    • MSG_EVENT_STRIDESDM_SENSORSTATUS_PARAM_intUSESTATE

      public static final String MSG_EVENT_STRIDESDM_SENSORSTATUS_PARAM_intUSESTATE
      The AntPlusStrideSdmPcc.SensorUseState of the current sensor use state. Sent in the MSG_EVENT_STRIDESDM_whatSENSORSTATUS event.
      See Also:
  • Constructor Details

    • IpcDefines

      public IpcDefines()