public class UltimeterRawMessage extends Message
AX25Message.Precedence
appendCR, APRS_AND_OPENTRAC_AND_RAW, APRS_AND_RAW, comment, msgType, S_PERMANENT, S_PERMANENT_UC, symbolCode, symTableId
APRS_AND_OPENTRAC, ax25Frame, extensions, invalid, originatingCallsign, originatingDest, PERMANENT, rcptTime, thirdParty, timestamp, UTC
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, getExtensionString, getMsgType, getPrecedence, getProtocols, getSymbolCode, getSymTableId, hasWeather, inferSymbol, isAppendCR, looksLikeLongFormatLatitude, paramString, setAppendCR, setComment, setSymbolCode, setSymTableId, toString
equals, extractSource, getAx25Frame, getExtension, getFirstDigipeat, getLastDigipeat, getNthDigipeat, getOriginalDestination, getOriginalSource, getOriginatingCallsign, getOriginatingDest, getRcptTime, getReadOnlyExtensionMap, getTimestamp, hashCode, hasPosition, hasThisFirstDigi, indexOf, indexOf, isDirect, isInvalid, isRf, onlyDigits, onlyDigits, onlyDigitsOrMinus, onlyDigitsOrPeriod, onlyDigitsOrSpace, onlyDigitsPlus, onlyPeriods, setAx25Frame, setInvalid, setOriginatingCallsign, setRcptTime, setTimestamp, split, storeExtension
public 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