public class GpsRawMessage extends PositionMessage
AX25Message.Precedenceabc, altitude, altitudeUnit, COMPRESSED_LAT_SCALING, CONV_MPH_TO_METERS_PER_SEC, DHM, fLatitude, fLatPrecision, fLongitude, fmtMonitorFreq, HMS, isCustom, latitude, LN_BASE1_08, longitude, MDHMcomment, extensions, msgType, S_PERMANENT, S_PERMANENT_UC, symbolCode, symTableId, USASCIIax25Frame, invalid, ISO_8859_1, originatingCallsign, PERMANENT, rcptTime, thirdParty, timestamp, UTC, UTF8| Constructor and Description |
|---|
GpsRawMessage(byte[] body,
int offset,
java.lang.String tp,
long rcvTimestamp,
AX25Callsign src,
AX25Callsign dest)
Create a GpsRawMessage from the bytes in a byte array (such as the body of an AX25Frame).
|
GpsRawMessage(GpsFix fix,
char symTableId,
char symbolCode)
Alternate constructor to support remote GPS tracking.
|
GpsRawMessage(java.lang.String line,
long timestamp,
java.lang.String callsign,
java.lang.String lat,
java.lang.String lon,
int speed,
int bearing,
char symTableId,
char symbolCode)
Alternate constructor to support waypoint sentence backfeeds from Kenwood D7100/D710 GPS jack.
|
| 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.
|
appendAreaParameters, appendRepeaterParameters, appendSignpostParameters, bodyEquals, createObjectFromThisPosition, decodeDataExtension, decodeLatitude, decodeLongitude, decodeOnlyLatitude, decodeOnlyLongitude, encodeLatitudeCompressed, encodeLatitudePlainText, encodeLongitudeCompressed, encodeLongitudePlainText, extractCompressedLatitude, extractCompressedLongitude, extractLatitude, extractLongitude, getAbc, getAltitude, getAltitudeUnit, getCustom, getLatitude, getLatitudeAccuracy, getLongitude, hasPosition, isEnabled, isShowDate, isUsingCompressedFormat, looksLikeFrequency, looksLikeFrequency, paramString, setAbc, setLatitude, setLocation, setLongitude, setShowDate, testIfValidCompressedLocationcompareTo, decodeDatestamp, decodeHurricaneParams, decodeTimestamp, decodeWeatherParams, decodeWeatherParams, dup, encodeTimestamp, extractComment, extractComment, extractSymbol, formatBody, getComment, getExtension, getExtensionString, getMsgType, getReadOnlyExtensionMap, getSymbolCode, getSymTableId, hasWeather, inferSymbol, looksLikeLongFormatLatitude, setComment, setSymbolCode, setSymTableId, storeExtension, toStringequals, extractSource, getAx25Frame, getFirstDigipeat, getLastDigipeat, getOriginalDestination, getOriginalSource, getOriginatingCallsign, getPrecedence, getRcptTime, getTimestamp, hashCode, hasThisFirstDigi, indexOf, indexOf, isInvalid, onlyDigits, onlyDigits, onlyDigitsOrPeriod, onlyDigitsOrSpace, onlyDigitsPlus, onlyPeriods, setAx25Frame, setInvalid, setOriginatingCallsign, setRcptTime, setTimestamp, splitpublic GpsRawMessage(byte[] body,
int offset,
java.lang.String tp,
long rcvTimestamp,
AX25Callsign src,
AX25Callsign dest)
body - byte array containing the transmission format of the messageoffset - index into the array where the message startstp - String of third-party routing information (or null if this was not routed over another network)rcvTimestamp - the time (in milliseconds in Jan 1970 UTC) when this message was receivedsrc - AX25Callsign of sending stationdest - AX25Callsign of destination tocallpublic GpsRawMessage(GpsFix fix, char symTableId, char symbolCode)
fix - GpsFix record to extract fix fromsymTableId - APRS symbol table ID or overlay for remote GPSsymbolCode - APRS symbol code for remote GPSpublic GpsRawMessage(java.lang.String line,
long timestamp,
java.lang.String callsign,
java.lang.String lat,
java.lang.String lon,
int speed,
int bearing,
char symTableId,
char symbolCode)
line - String of GPS sentence parsed apart to provide related parameterstimestamp - timestamp in Java milliseconds since midnight Jan 1 1970 UTCcallsign - callsign of reported stationlat - latitude in APRS standard ddmm.mmN formatlon - longitude in APRS standard dddmm.mmW formatspeed - speed in knots, or -1 if not providedbearing - bearing in degrees from true NorthsymTableId - symbol table ID or overlay charactersymbolCode - symbol code characterpublic boolean isSymbolInferred()
isSymbolInferred in class Message