public enum Sentence extends java.lang.Enum<Sentence>
Most GPS sensors emit only RMC, GGA, GSA, GSV, GLL, VTG, and (rarely) ZDA. Newer ones conforming to NMEA 3.x may emit GBS as well. Other NMEA sentences are usually only emitted by high-end maritime navigation systems.
Enum Constant and Description |
---|
GBS
GBS - GPS Satellite Fault Detection
|
GGA
GGA - Global Positioning System Fix Data
|
GLL
GLL - Geographic Position - Latitude/Longitude
|
GSA
GSA - GPS DOP and active satellites
|
GSV
GSV - Satellites in view
|
RMC
RMC - Recommended Minimum Navigation Information
|
VTG
VTG - Track made good and Ground speed
|
ZDA
ZDA - Time & Date - UTC, day, month, year and local time zone
|
Modifier and Type | Method and Description |
---|---|
static Sentence |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Sentence[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Sentence GBS
1 2 3 4 5 6 7 8 9 | | | | | | | | | $--GBS,hhmmss.ss,x.x,x.x,x.x,x.x,x.x,x.x,x.x*hhField Number:
public static final Sentence GGA
11 1 2 3 4 5 6 7 8 9 10 | 12 13 14 15 | | | | | | | | | | | | | | | $--GGA,hhmmss.ss,llll.ll,a,yyyyy.yy,a,x,xx,x.x,x.x,M,x.x,M,x.x,xxxx*hhField Number:
public static final Sentence GSA
1 2 3 14 15 16 17 18 | | | | | | | | $--GSA,a,a,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x.x,x.x,x.x*hhField Number:
public static final Sentence GSV
1 2 3 4 5 6 7 n | | | | | | | | $--GSV,x,x,x,x,x,x,x,...*hhField Number:
public static final Sentence GLL
1 2 3 4 5 6 7 8 | | | | | | | | $--GLL,llll.ll,a,yyyyy.yy,a,hhmmss.ss,a,m,*hhField Number:
public static final Sentence RMC
12 1 2 3 4 5 6 7 8 9 10 11| 13 | | | | | | | | | | | | | $--RMC,hhmmss.ss,A,llll.ll,a,yyyyy.yy,a,x.x,x.x,xxxx,x.x,a,m,*hhField Number:
public static final Sentence VTG
1 2 3 4 5 6 7 8 9 10 | | | | | | | | | | $--VTG,x.x,T,x.x,M,x.x,N,x.x,K,m,*hhField Number:
public static final Sentence ZDA
1 2 3 4 5 6 7 | | | | | | | $--ZDA,hhmmss.ss,xx,xx,xxxx,xx,xx*hhField Number:
public static Sentence[] values()
for (Sentence c : Sentence.values()) System.out.println(c);
public static Sentence valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null