Class LegacyGeocacheCompat.GeocacheDeviceDataCompat_v1.IpcDefinesCompat_v1
java.lang.Object
com.dsi.ant.plugins.internal.compatibility.LegacyGeocacheCompat.GeocacheDeviceDataCompat_v1.IpcDefinesCompat_v1
- Enclosing class:
- LegacyGeocacheCompat.GeocacheDeviceDataCompat_v1
public static class LegacyGeocacheCompat.GeocacheDeviceDataCompat_v1.IpcDefinesCompat_v1
extends Object
Defines the keys used to bundle and unbundle the
AntPlusGeocachePcc.GeocacheDeviceData
before it was a parcelable-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Current battery voltage.static final String
The "next stage" latitude coordinate.static final String
The "next stage" longitude coordinate.static final String
Timestamp of the last visit.static final String
The current reportedBatteryStatus
.static final String
The resolution accuracy of the cumulativeOperatingTime.static final String
Device ID of the geocache device.static final String
Manufacturer defined.static final String
ANT+ Alliance managed manufacturer identifier.static final String
Manufacturer defined.static final String
The number of visits logged on the device.static final String
Manufacturer defined.static final String
The cumulative operating time since the battery was inserted.static final String
The programming PIN to protect against accidental reprogramming.static final String
Serial number of the device.static final String
A bundle containing the (1 to many) data fields desired to be programmed to the device.static final String
The "hint" message string stored on the device.static final String
Identification string of a geocache device. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
MSG_CMD_GEOCACHE_REQUESTDEVICEPROGRAMMING_PARAM_bundlePROGRAMMINGDATA
A bundle containing the (1 to many) data fields desired to be programmed to the device. Sent in theAntPlusGeocachePcc.IpcDefines.MSG_CMD_GEOCACHE_whatREQUESTDEVICEPROGRAMMING
command.- See Also:
-
intDEVICEID
Device ID of the geocache device.- See Also:
-
stringIDENTIFICATIONSTRING
Identification string of a geocache device. Note: This string is also received in the DeviceList information handled byAntPlusGeocachePcc.IAvailableDeviceListReceiver
. Supports ASCII characters from 0x20 to 0x5F. IDs must be 9 characters long. If an ID is composed only of spaces (" "), it signifies it is in the unprogrammed state.- See Also:
-
longPIN
The programming PIN to protect against accidental reprogramming. The Geocache profile documentation states it is the responsibility of the receiver to not reprogram devices on which that receiver did not originally program and set the PIN. Range: 0 to 0xFFFFFFFE (If a PIN value equals 0xFFFFFFFF it signifies it is in the unprogrammed state).- See Also:
-
decimalLATITUDE
The "next stage" latitude coordinate. Units: degrees, -90 (90S) to 90 (90N). Hint: Use 'serializable' for bundle put/get. ie: "BigDecimal latitude = (BigDecimal)b.getSerializable(GeocacheDataKeys.decimalLATITUDE)"- See Also:
-
decimalLONGITUDE
The "next stage" longitude coordinate. | degrees, -180 (180W) to 180 (180E). Hint: Use 'serializable' for bundle put/get. ie: "BigDecimal longitude = (BigDecimal)b.getSerializable(GeocacheDataKeys.decimalLONGITUDE)"- See Also:
-
stringHINTSTRING
The "hint" message string stored on the device. Note: The maximum length of this string depends on how much other data is saved on the device.- See Also:
-
gregorianCalendarLASTVISITTIMESTAMP
Timestamp of the last visit. Note for receivers: The plugin takes care of updating this field automatically whenever any application requests to read the data (and the field is auto-updated only once during the entire duration the device can be detected in range regardless of how many downloads requests occur). Format: UTC time using the Gregorian Calendar. Hint: Use 'serializable' for bundle put/get. ie: "GregorianCalendar lastVisitTimestamp = (GregorianCalendar)b.getSerializable(GeocacheDataKeys.gregorianCalendarLASTVISITTIMESTAMP)"- See Also:
-
intNUMBEROFVISITS
The number of visits logged on the device. Note for receivers: The plugin takes care of updating this field automatically whenever any application requests to read the data (and the field is auto-updated only once during the entire duration the device can be detected in range regardless of how many downloads requests occur). Range: 0-65535.- See Also:
-
intHARDWAREREVISION
Manufacturer defined.- See Also:
-
intMANUFACTURERID
ANT+ Alliance managed manufacturer identifier.- See Also:
-
intMODELNUMBER
Manufacturer defined.- See Also:
-
intSOFTWAREREVISION
Manufacturer defined.- See Also:
-
longSERIALNUMBER
Serial number of the device.- See Also:
-
longCUMULATIVEOPERATINGTIME
The cumulative operating time since the battery was inserted. Units: seconds (with 2 or 16 resolution[indicated by the cumulativeOperatingTimeResolutionFlag]). Rollover: At ~1.1yrs (at 2s resolution) or ~8.5yrs (at 16s resolution).- See Also:
-
decimalBATTERYVOLTAGE
Current battery voltage. Units: Volts (with 1/256V resolution). Hint: Use 'serializable' for bundle put/get. ie: "BigDecimal batteryVoltage = (BigDecimal)b.getSerializable(GeocacheDataKeys.decimalBATTERYVOLTAGE)"- See Also:
-
intBATTERYSTATUSCODE
The current reportedBatteryStatus
.- See Also:
-
intCUMULATIVEOPERATINGTIMERESOLUTION
The resolution accuracy of the cumulativeOperatingTime. Units: seconds.- See Also:
-
-
Constructor Details
-
IpcDefinesCompat_v1
public IpcDefinesCompat_v1()
-