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 Details

    • MSG_CMD_GEOCACHE_REQUESTDEVICEPROGRAMMING_PARAM_bundlePROGRAMMINGDATA

      public static final String MSG_CMD_GEOCACHE_REQUESTDEVICEPROGRAMMING_PARAM_bundlePROGRAMMINGDATA
      A bundle containing the (1 to many) data fields desired to be programmed to the device. Sent in the AntPlusGeocachePcc.IpcDefines.MSG_CMD_GEOCACHE_whatREQUESTDEVICEPROGRAMMING command.
      See Also:
    • intDEVICEID

      public static final String intDEVICEID
      Device ID of the geocache device.
      See Also:
    • stringIDENTIFICATIONSTRING

      public static final String stringIDENTIFICATIONSTRING
      Identification string of a geocache device. Note: This string is also received in the DeviceList information handled by AntPlusGeocachePcc.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

      public static final String 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

      public static final String 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

      public static final String 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

      public static final String 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

      public static final String 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

      public static final String 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

      public static final String intHARDWAREREVISION
      Manufacturer defined.
      See Also:
    • intMANUFACTURERID

      public static final String intMANUFACTURERID
      ANT+ Alliance managed manufacturer identifier.
      See Also:
    • intMODELNUMBER

      public static final String intMODELNUMBER
      Manufacturer defined.
      See Also:
    • intSOFTWAREREVISION

      public static final String intSOFTWAREREVISION
      Manufacturer defined.
      See Also:
    • longSERIALNUMBER

      public static final String longSERIALNUMBER
      Serial number of the device.
      See Also:
    • longCUMULATIVEOPERATINGTIME

      public static final String 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

      public static final String 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

      public static final String intBATTERYSTATUSCODE
      The current reported BatteryStatus.
      See Also:
    • intCUMULATIVEOPERATINGTIMERESOLUTION

      public static final String intCUMULATIVEOPERATINGTIMERESOLUTION
      The resolution accuracy of the cumulativeOperatingTime. Units: seconds.
      See Also:
  • Constructor Details

    • IpcDefinesCompat_v1

      public IpcDefinesCompat_v1()