public interface GSASentence extends Sentence
Example:
$GPGSA,A,3,02,,,07,,09,24,26,,,,,1.6,1.6,1.0*3D
ALTERNATIVE_BEGIN_CHAR, BEGIN_CHAR, CHECKSUM_DELIMITER, FIELD_DELIMITER, MAX_LENGTH, TERMINATOR
Modifier and Type | Method and Description |
---|---|
GpsFixStatus |
getFixStatus()
Get the GPS fix mode; 2D, 3D or no fix.
|
double |
getHorizontalDOP()
Get the horizontal dilution Of precision (HDOP).
|
FaaMode |
getMode()
Get the FAA operation mode of GPS.
|
double |
getPositionDOP()
Get the dilution of precision (PDOP) for position.
|
String[] |
getSatelliteIds()
Get list of satellites used for acquiring the GPS fix.
|
double |
getVerticalDOP()
Get the vertical dilution of precision (VDOP).
|
void |
setFixStatus(GpsFixStatus status)
Set the GPS fix mode; 2D, 3D or no fix.
|
void |
setHorizontalDOP(double hdop)
Set the horizontal dilution of precision (HDOP).
|
void |
setMode(FaaMode mode)
Set the FAA operation mode of GPS.
|
void |
setPositionDOP(double pdop)
Set the dilution of precision for position.
|
void |
setSatelliteIds(String[] ids)
Set list of satellites used for acquiring the GPS fix.
|
void |
setVerticalDOP(double vdop)
Set the vertical dilution of precision (VDOP).
|
getBeginChar, getFieldCount, getSentenceId, getTalkerId, isAISSentence, isProprietary, isValid, reset, setBeginChar, setTalkerId, toSentence, toSentence, toString
GpsFixStatus getFixStatus()
DataNotAvailableException
- If the data is
not available.ParseException
- If the field contains
unexpected or illegal value.double getHorizontalDOP()
DataNotAvailableException
- If the data is
not available.ParseException
- If the field contains
unexpected or illegal value.FaaMode getMode()
DataNotAvailableException
- If the data is
not available.ParseException
- If the field contains
unexpected or illegal value.double getPositionDOP()
DataNotAvailableException
- If the data is
not available.ParseException
- If the field contains
unexpected or illegal value.String[] getSatelliteIds()
DataNotAvailableException
- If the data is
not available.ParseException
- If the field contains
unexpected or illegal value.double getVerticalDOP()
DataNotAvailableException
- If the data is
not available.ParseException
- If the field contains
unexpected or illegal value.void setFixStatus(GpsFixStatus status)
status
- Status to setvoid setHorizontalDOP(double hdop)
hdop
- Precision value to setvoid setMode(FaaMode mode)
mode
- Mode to setvoid setPositionDOP(double pdop)
pdop
- Precision value to setvoid setSatelliteIds(String[] ids)
ids
- List of satellite IDs, maximum length of array is 12.void setVerticalDOP(double vdop)
vdop
- Precision value to setCopyright (C) 2010-2017 Java Marine API authors. All Rights Reserved.