public class MiniEventReport extends Report
Modifier and Type | Method and Description |
---|---|
byte |
getCommunicationState() |
long |
getEpochTime()
Actually the message time, not the true GPS fix time, but it should be
the same.
|
byte |
getEventCode() |
byte |
getFixStatus() |
java.lang.String |
getFixStatusStr()
Returns string representing the error status of the fix.
|
short |
getHeading() |
byte |
getInputs() |
double |
getLat() |
double |
getLon() |
int |
getMessageTime()
Actually the message time, not the true GPS fix time, but it should be
the same.
|
static MiniEventReport |
getMiniEventReport(OptionsHeader optionsHeader,
MessageHeader messageHeader,
byte[] bytes,
int offset)
Reads MiniEventReport from byte stream starting at the offset, which should
be just past the message header.
|
short |
getNumberSatellites() |
float |
getSpeed() |
boolean |
isValidGps()
Whether GPS fix is actually valid.
|
void |
process()
Converts the CalAmp MiniEventReport into a an AvlReport and processes it.
|
java.lang.String |
toString() |
main, parseReport
public static MiniEventReport getMiniEventReport(OptionsHeader optionsHeader, MessageHeader messageHeader, byte[] bytes, int offset)
optionsHeader
- messageHeader
- bytes
- offset
- public java.lang.String toString()
toString
in class java.lang.Object
public int getMessageTime()
public long getEpochTime()
public double getLat()
public double getLon()
public short getHeading()
public float getSpeed()
public byte getFixStatus()
public java.lang.String getFixStatusStr()
public boolean isValidGps()
public short getNumberSatellites()
public byte getCommunicationState()
public byte getInputs()
public byte getEventCode()