Package com.dsi.ant.plugins.antplus.pcc
Class AntPlusGeocachePcc.GeocacheDeviceData
java.lang.Object
com.dsi.ant.plugins.antplus.pcc.AntPlusGeocachePcc.GeocacheDeviceData
- All Implemented Interfaces:
android.os.Parcelable
- Enclosing class:
- AntPlusGeocachePcc
public static class AntPlusGeocachePcc.GeocacheDeviceData
extends Object
implements android.os.Parcelable
Represents the data contained on a Geocache device.
-
Nested Class Summary
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe current reportedBatteryStatus
.Current battery voltage.static final android.os.Parcelable.Creator<AntPlusGeocachePcc.GeocacheDeviceData>
Parcel CREATOR objectlong
The cumulative operating time since the battery was inserted.int
The resolution accuracy of the cumulativeOperatingTime.int
The device ID of this device.int
Manufacturer defined.static final String
Default IPC keyint
ANT+ Alliance managed manufacturer identifier.int
Manufacturer defined.The data that is programmable on the device.long
Serial number of the device.int
Manufacturer defined.Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
-
Constructor Summary
ConstructorsConstructorDescriptionConstructorGeocacheDeviceData
(int ipcVersionNumber) Constructor for internal use.GeocacheDeviceData
(android.os.Parcel in) Parcel constructor -
Method Summary
-
Field Details
-
KEY_DEFAULT_GEOCACHEDEVICEDATAKEY
Default IPC key- See Also:
-
deviceId
public int deviceIdThe device ID of this device. -
hardwareRevision
public int hardwareRevisionManufacturer defined. -
manufacturerID
public int manufacturerIDANT+ Alliance managed manufacturer identifier. -
modelNumber
public int modelNumberManufacturer defined. -
softwareRevision
public int softwareRevisionManufacturer defined. -
serialNumber
public long serialNumberSerial number of the device. -
cumulativeOperatingTime
public long cumulativeOperatingTimeThe cumulative operating time since the battery was inserted. Units: seconds (resolution indicated by cumulativeOperatingTimeResolution]). Rollover: Every 16777215s*resolution. ie:~1.1yrs at 2s resolution, ~8.5yrs at 16s resolution. -
batteryVoltage
Current battery voltage. Units: Volts (with 1/256V resolution). -
batteryStatus
The current reportedBatteryStatus
. -
cumulativeOperatingTimeResolution
public int cumulativeOperatingTimeResolutionThe resolution accuracy of the cumulativeOperatingTime. Units: seconds. -
programmableData
The data that is programmable on the device. -
CREATOR
Parcel CREATOR object
-
-
Constructor Details
-
GeocacheDeviceData
public GeocacheDeviceData(android.os.Parcel in) Parcel constructor- Parameters:
in
- Parcel with object data
-
GeocacheDeviceData
public GeocacheDeviceData()Constructor -
GeocacheDeviceData
public GeocacheDeviceData(int ipcVersionNumber) Constructor for internal use.- Parameters:
ipcVersionNumber
- ipcVersionNumber
-
-
Method Details
-
describeContents
public int describeContents()- Specified by:
describeContents
in interfaceandroid.os.Parcelable
-
writeToParcel
public void writeToParcel(android.os.Parcel dest, int flags) - Specified by:
writeToParcel
in interfaceandroid.os.Parcelable
-