public class GpsRawMessage extends PositionMessage
AX25Message.Precedence
abc, altitude, altitudeUnit, COMPRESSED_LAT_SCALING, CONV_MPH_TO_METERS_PER_SEC, DHM, enabledForTransmit, encodeCompressed, fLatitude, fLatPrecision, fLongitude, fmtMonitorFreq, HMS, HUNDREDTH_MINUTE_F, isCustom, latitude, LN_BASE1_08, longitude, ONE_DEGREE_F, ONE_MINUTE_F, TEN_MINUTES_F, TENTH_MINUTE_F
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 |
---|
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, getHorizontalAccuracy, getLatitude, getLatitudeAccuracy, getLongitude, getPositionAltitude, getPositionLatitude, getPositionLongitude, getPositionTime, hasPosition, isCustom, isEnabled, isShowDate, isUsingCompressedFormat, looksLikeFrequency, looksLikeFrequency, paramString, setAbc, setAmbiguity, setCustom, setLatitude, setLocation, setLongitude, setShowDate, testIfValidCompressedLocation
compareTo, decodeDatestamp, decodeHurricaneParams, decodeTimestamp, decodeWeatherParams, decodeWeatherParams, dup, encodeTimestamp, extractComment, extractComment, extractSymbol, formatBody, getComment, getExtensionString, getMsgType, getPrecedence, getProtocols, getSymbolCode, getSymTableId, hasWeather, inferSymbol, isAppendCR, looksLikeLongFormatLatitude, setAppendCR, setComment, setSymbolCode, setSymTableId, toString
equals, extractSource, getAx25Frame, getExtension, getFirstDigipeat, getLastDigipeat, getNthDigipeat, getOriginalDestination, getOriginalSource, getOriginatingCallsign, getOriginatingDest, getRcptTime, getReadOnlyExtensionMap, getTimestamp, hashCode, hasThisFirstDigi, indexOf, indexOf, isDirect, isInvalid, isRf, onlyDigits, onlyDigits, onlyDigitsOrMinus, onlyDigitsOrPeriod, onlyDigitsOrSpace, onlyDigitsPlus, onlyPeriods, setAx25Frame, setInvalid, setOriginatingCallsign, setRcptTime, setTimestamp, split, storeExtension
public 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