public class UltimeterRawMessage extends Message
AX25Message.Precedencecomment, extensions, msgType, S_PERMANENT, S_PERMANENT_UC, symbolCode, symTableId, USASCIIax25Frame, invalid, ISO_8859_1, originatingCallsign, PERMANENT, rcptTime, thirdParty, timestamp, UTC, UTF8| Constructor and Description |
|---|
UltimeterRawMessage(byte[] body,
int offset,
java.lang.String tp,
long rcvTimestamp)
Constructor for Ultimeter raw weather message when decoding a binary AX.25 frame.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isSymbolInferred()
Report whether the non-null APRS symbol reported by this message is explicit or
inferred from destination or source callsign.
|
static boolean |
parseWeatherLine(java.lang.String line,
java.util.Map<java.lang.Enum,java.lang.Object> currentWeather,
long msgRcptTime)
Decode a line of text supposedly containing one of the Ultimeter weather station
ASCII text formats, as documented on the Peet Bros website.
|
bodyEquals, compareTo, decodeDatestamp, decodeHurricaneParams, decodeTimestamp, decodeWeatherParams, decodeWeatherParams, dup, encodeTimestamp, extractComment, extractComment, extractSymbol, formatBody, getComment, getExtension, getExtensionString, getMsgType, getReadOnlyExtensionMap, getSymbolCode, getSymTableId, hasWeather, inferSymbol, looksLikeLongFormatLatitude, paramString, setComment, setSymbolCode, setSymTableId, storeExtension, toStringequals, extractSource, getAx25Frame, getFirstDigipeat, getLastDigipeat, getOriginalDestination, getOriginalSource, getOriginatingCallsign, getPrecedence, getRcptTime, getTimestamp, hashCode, hasPosition, hasThisFirstDigi, indexOf, indexOf, isInvalid, onlyDigits, onlyDigits, onlyDigitsOrPeriod, onlyDigitsOrSpace, onlyDigitsPlus, onlyPeriods, setAx25Frame, setInvalid, setOriginatingCallsign, setRcptTime, setTimestamp, splitpublic UltimeterRawMessage(byte[] body,
int offset,
java.lang.String tp,
long rcvTimestamp)
body - byte array of frame bodyoffset - int array index offset for start of message (non-zero for encapsulated messages)tp - third-party relay String for encapsulated messages, or null for no third-party wrapperrcvTimestamp - Unix time when message was actually received by YAACpublic static boolean parseWeatherLine(java.lang.String line,
java.util.Map<java.lang.Enum,java.lang.Object> currentWeather,
long msgRcptTime)
line - String containing a weather reportcurrentWeather - a Map to store the weather parameters inmsgRcptTime - time weather sentence was received in Java milliseconds since Jan 1 19780 UTCpublic boolean isSymbolInferred()
isSymbolInferred in class Message