public enum SentenceId extends Enum<SentenceId>
TalkerId
Enum Constant and Description |
---|
APB
Autopilot sentence "B"; xte, bearings and heading toward destination
|
BOD
Bearing Origin to Destination
|
CUR
Current
|
DBT
Depth of water below transducer; in meters, feet and fathoms
|
DPT
Depth of water below transducer; in meters.
|
DTM
Datum reference.
|
GGA
Global Positioning System fix data
|
GLL
Geographic position (latitude/longitude)
|
GNS
GNSS fix data (GPS, GLONASS and future constellations).
|
GSA
Dilution of precision (DOP) of GPS fix and active satellites
|
GSV
Detailed satellite data
|
HDG
Vessel heading in degrees with magnetic variation and deviation.
|
HDM
Vessel heading in degrees with respect to true north.
|
HDT
Vessel heading in degrees true
|
MDA
Meteorological Composite
|
MHU
Relative and absolute humidity with dew point
|
MMB
Barometric pressure in inches of mercury and bars.
|
MTA
Air temperature in degrees centigrade (Celsius).
|
MTW
Water temperature in degrees centigrade (Celsius).
|
MWD
Wind speed and direction
|
MWV
Wind speed and angle
|
RMB
Recommended minimum navigation information
|
RMC
Recommended minimum specific GPS/TRANSIT data
|
ROT
Rate of Turn
|
RPM
Revolutions measured from engine or shaft.
|
RSA
Rudder angle, measured in degrees
|
RTE
Route data and waypoint list
|
TTM
Tracked target
|
VBW
Dual ground/water speed and stern ground/water speed.
|
VDM
AIS - Received data from other vessels
|
VDO
AIS - Own vessel data
|
VDR
Set and drift, direction and speed of current.
|
VHW
Water speed and heading
|
VLW
Distance traveled through water, cumulative and since reset.
|
VTG
Track made good and ground speed
|
VWR
Relative Wind Speed and Angle
|
VWT
True Wind Speed and Angle
|
WPL
Waypoint location (latitude/longitude)
|
XDR
Transducer measurements (sensor data)
|
XTE
Cross-track error, measured
|
ZDA
UTC time and date with local time zone offset
|
Modifier and Type | Method and Description |
---|---|
static SentenceId |
parse(String nmea)
Parses the sentence id from specified sentence String and returns a
corresponding
SentenceId enum (assuming it exists). |
static String |
parseStr(String nmea)
Parses the sentence id from specified sentence String and returns it as
String.
|
static SentenceId |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SentenceId[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SentenceId APB
public static final SentenceId BOD
public static final SentenceId CUR
public static final SentenceId DBT
public static final SentenceId DPT
public static final SentenceId DTM
public static final SentenceId GGA
public static final SentenceId GLL
public static final SentenceId GNS
public static final SentenceId GSA
public static final SentenceId GSV
public static final SentenceId HDG
public static final SentenceId HDM
public static final SentenceId HDT
public static final SentenceId MHU
public static final SentenceId MMB
public static final SentenceId MTA
public static final SentenceId MTW
public static final SentenceId MWV
public static final SentenceId RMB
public static final SentenceId RMC
public static final SentenceId ROT
public static final SentenceId RPM
public static final SentenceId RSA
public static final SentenceId RTE
public static final SentenceId TTM
public static final SentenceId VBW
public static final SentenceId VDM
public static final SentenceId VDO
public static final SentenceId VDR
public static final SentenceId VLW
public static final SentenceId VTG
public static final SentenceId VHW
public static final SentenceId WPL
public static final SentenceId VWR
public static final SentenceId VWT
public static final SentenceId XDR
public static final SentenceId XTE
public static final SentenceId MDA
public static final SentenceId MWD
public static final SentenceId ZDA
public static SentenceId[] values()
for (SentenceId c : SentenceId.values()) System.out.println(c);
public static SentenceId valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static SentenceId parse(String nmea)
SentenceId
enum (assuming it exists).nmea
- Sentence StringIllegalArgumentException
- If specified String is not valid
sentencepublic static String parseStr(String nmea)
nmea
- Sentence StringIllegalArgumentException
- If specified String is not recognized as
NMEA sentenceCopyright (C) 2010-2017 Java Marine API authors. All Rights Reserved.