Package com.dsi.ant.plugins.antplus.pcc
Class AntPlusStrideSdmPcc.IpcDefines
java.lang.Object
com.dsi.ant.plugins.antplus.pcc.AntPlusStrideSdmPcc.IpcDefines
- Enclosing class:
- AntPlusStrideSdmPcc
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 total number of calories consumed from the start of the session.static final String
Sensor reported time counter value of last distance or speed computation (up to 1/200s accuracy).static final String
Sensor reported time elapsed between the last speed or distance computation and the message transmission (up to 1/32s accuracy).static final String
Total distance since the plugin connected to this device (up to 1/16m accuracy).static final String
Instantaneous cadence valid for display, computed by sensor (up to 1/16 strides/min accuracy).static final String
Instantaneous speed computed by sensor valid for display (up to 1/256 m/s accuracy).static final String
TheBatteryStatus
of the current sensor battery status.static final String
TheAntPlusStrideSdmPcc.SensorHealth
of the current sensor health.static final String
TheAntPlusStrideSdmPcc.SensorLocation
of the current sensor location.static final String
TheAntPlusStrideSdmPcc.SensorUseState
of the current sensor use state.static final String
Total number of strides taken during the session.static final int
The total calories consumed over the session.static final int
Data about the timing of the last speed and distance computation.static final int
The sensor reported latency between calculation and sensor transmission.static final int
The total distance travelled since the plugin connected to this device.static final int
The instantaneous cadence data.static final int
The instantaneous speed data.static final int
Various status information about the sensor.static final int
The cumulative stride count since the plugin connected to this device.static final String
The plugin package path.static final String
The plugin service path. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
PATH_ANTPLUS_STRIDESDMPLUGIN_PKG
The plugin package path.- See Also:
-
PATH_ANTPLUS_STRIDESDMPLUGIN_SERVICE
The plugin service path.- See Also:
-
MSG_EVENT_STRIDESDM_whatINSTANTANEOUSSPEED
public static final int MSG_EVENT_STRIDESDM_whatINSTANTANEOUSSPEEDThe instantaneous speed data. This data is optional and may not be sent by all sensors.- See Also:
-
MSG_EVENT_STRIDESDM_INSTANTANEOUSSPEED_PARAM_decimalINSTANTANEOUSSPEED
Instantaneous speed computed by sensor valid for display (up to 1/256 m/s accuracy). Sent in theMSG_EVENT_STRIDESDM_whatINSTANTANEOUSSPEED
event.- See Also:
-
MSG_EVENT_STRIDESDM_whatINSTANTANEOUSCADENCE
public static final int MSG_EVENT_STRIDESDM_whatINSTANTANEOUSCADENCEThe 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_decimalINSTANTANEOUSCADENCEInstantaneous cadence valid for display, computed by sensor (up to 1/16 strides/min accuracy). Sent in theMSG_EVENT_STRIDESDM_whatINSTANTANEOUSCADENCE
event.- See Also:
-
MSG_EVENT_STRIDESDM_whatDISTANCE
public static final int MSG_EVENT_STRIDESDM_whatDISTANCEThe 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
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 theMSG_EVENT_STRIDESDM_whatDISTANCE
event.- See Also:
-
MSG_EVENT_STRIDESDM_whatSTRIDECOUNT
public static final int MSG_EVENT_STRIDESDM_whatSTRIDECOUNTThe cumulative stride count since the plugin connected to this device.- See Also:
-
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 theMSG_EVENT_STRIDESDM_whatSTRIDECOUNT
event.- See Also:
-
MSG_EVENT_STRIDESDM_whatCOMPUTATIONTIMESTAMP
public static final int MSG_EVENT_STRIDESDM_whatCOMPUTATIONTIMESTAMPData 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_decimalTIMESTAMPOFLASTCOMPUTATIONSensor reported time counter value of last distance or speed computation (up to 1/200s accuracy). Sent in theMSG_EVENT_STRIDESDM_whatCOMPUTATIONTIMESTAMP
event.- See Also:
-
MSG_EVENT_STRIDESDM_whatDATALATENCY
public static final int MSG_EVENT_STRIDESDM_whatDATALATENCYThe sensor reported latency between calculation and sensor transmission.- See Also:
-
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 theMSG_EVENT_STRIDESDM_whatDATALATENCY
event.- See Also:
-
MSG_EVENT_STRIDESDM_whatCALORIEDATA
public static final int MSG_EVENT_STRIDESDM_whatCALORIEDATAThe total calories consumed over the session.- See Also:
-
MSG_EVENT_STRIDESDM_CALORIEDATA_PARAM_longCUMULATIVECALORIES
The total number of calories consumed from the start of the session. Sent in theMSG_EVENT_STRIDESDM_whatCALORIEDATA
event.- See Also:
-
MSG_EVENT_STRIDESDM_whatSENSORSTATUS
public static final int MSG_EVENT_STRIDESDM_whatSENSORSTATUSVarious status information about the sensor.- See Also:
-
MSG_EVENT_STRIDESDM_SENSORSTATUS_PARAM_intSENSORLOCATION
TheAntPlusStrideSdmPcc.SensorLocation
of the current sensor location. Sent in theMSG_EVENT_STRIDESDM_whatSENSORSTATUS
event.- See Also:
-
MSG_EVENT_STRIDESDM_SENSORSTATUS_PARAM_intBATTERYSTATUS
TheBatteryStatus
of the current sensor battery status. Sent in theMSG_EVENT_STRIDESDM_whatSENSORSTATUS
event. Note: This value may also be received in theAntPlusCommonPcc.IBatteryStatusReceiver.onNewBatteryStatus(long, java.util.EnumSet<com.dsi.ant.plugins.antplus.pcc.defines.EventFlag>, long, java.math.BigDecimal, com.dsi.ant.plugins.antplus.pcc.defines.BatteryStatus, int, int, int)
event if the sensor supports the battery status common page.- See Also:
-
MSG_EVENT_STRIDESDM_SENSORSTATUS_PARAM_intSENSORHEALTH
TheAntPlusStrideSdmPcc.SensorHealth
of the current sensor health. Sent in theMSG_EVENT_STRIDESDM_whatSENSORSTATUS
event.- See Also:
-
MSG_EVENT_STRIDESDM_SENSORSTATUS_PARAM_intUSESTATE
TheAntPlusStrideSdmPcc.SensorUseState
of the current sensor use state. Sent in theMSG_EVENT_STRIDESDM_whatSENSORSTATUS
event.- See Also:
-
-
Constructor Details
-
IpcDefines
public IpcDefines()
-