public class EstimoteTelemetry extends Packet
Modifier and Type | Field and Description |
---|---|
Vector |
accelerometer
Vector of data with acceleration on each axis
|
java.lang.Double |
ambientLight
Ambient light level in Lux
|
java.lang.Boolean |
applicationError
If any error happened in firmware
|
java.lang.Integer |
batteryPercentage
Percentage of battery left
|
int |
batteryVoltage
Current battery voltage
|
static android.os.Parcelable.Creator<EstimoteTelemetry> |
CREATOR |
DeviceId |
deviceId
Identifier of device that broadcast this packet
|
boolean[] |
GPIO
Estimote GPIO state for each pin
|
Vector |
magnetometer
Normalized magnetic field on each axis
|
Duration |
motionDuration
Object containing data about motion duration (with time unit specified
|
java.lang.Boolean |
motionState
If this device is currently in motion
|
java.lang.Double |
pressure
Pressure value in Pascal degree
|
Duration |
previousMotionDuration
Previous motion duration object
|
int |
protocolVersion
Version of broadcast protocol
|
int |
rssi
Received signal strength indicator.
|
java.lang.Boolean |
rtcError
If any error happened to rtc clock
|
java.lang.Double |
temperature
Temperature in Celcius degree
|
java.util.Date |
timestamp
Time when this packet was discovered
|
Duration |
uptime
Uptime of device since boot.
|
packetType
Constructor and Description |
---|
EstimoteTelemetry() |
EstimoteTelemetry(android.os.Parcel in) |
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
java.lang.String |
getUniqueKey()
Returns unique key for this packet to identify it between other
Packet objects. |
java.lang.String |
toString() |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
getPacketType
public java.util.Date timestamp
public int rssi
public int protocolVersion
public DeviceId deviceId
public java.lang.Double temperature
public java.lang.Double ambientLight
public Vector accelerometer
public Vector magnetometer
public java.lang.Integer batteryPercentage
public int batteryVoltage
public Duration motionDuration
public Duration previousMotionDuration
public Duration uptime
public boolean[] GPIO
public java.lang.Boolean motionState
public java.lang.Boolean applicationError
public java.lang.Boolean rtcError
public java.lang.Double pressure
public static final android.os.Parcelable.Creator<EstimoteTelemetry> CREATOR
public EstimoteTelemetry()
public EstimoteTelemetry(android.os.Parcel in)
public java.lang.String getUniqueKey()
Packet
Packet
objects.
Child classes should implement this method.getUniqueKey
in class Packet
public int describeContents()
public void writeToParcel(android.os.Parcel dest, int flags)
writeToParcel
in interface android.os.Parcelable
writeToParcel
in class Packet
public java.lang.String toString()
toString
in class java.lang.Object