1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20 package triptracker.client.gps.core;
21
22 import static triptracker.client.gps.core.NMEAManufacturerID.*;
23
24 public enum NMEASentenceID {
25 AAM ("Waypoint Arrival Alarm", null),
26 ALM ("GPS Almanac Data", null),
27 APB ("Autopilot Sentence 'B'", null),
28 ASD ("Autopilot System Data", null),
29 BEC ("Bearing & Distance to Waypoint - Dead Reckoning", null),
30 BOD ("Bearing - Origin to Destination", null),
31 BWC ("Bearing & Distance to Waypoint - Great Circle", null),
32 BWR ("Bearing & Distance to Waypoint - Rhumb Line", null),
33 BWW ("Bearing, Waypoint to Waypoint", null),
34 DBT ("Depth Below Transducer", null),
35 DCN ("Decca Position", null),
36 DPT ("Depth", null),
37 FSI ("Frequency Set Information", null),
38 GGA ("Global Positioning System Fix Data", null),
39 GLC ("Geographic Position, Loran-C", null),
40 GLL ("Geographic Position, Latitude/Longitude", null),
41 GSA ("GPS DOP and Active Satellites", null),
42 GSV ("GPS Satellites in View", null),
43 GXA ("TRANSIT Position", null),
44 HDG ("Heading, Deviation & Variation", null),
45 HDM ("Heading, Magnetic", null),
46 HDT ("Heading, True", null),
47 HSC ("Heading Steering Command", null),
48 LCD ("Loran-C Signal Data", null),
49 MTW ("Water Temperature", null),
50 MWV ("Wind Speed and Angle", null),
51 OLN ("Omega Lane Numbers", null),
52 OSD ("Own Ship Data", null),
53
54
55 RMA ("Recommend Minimum Specific Loran-C Data", null),
56 RMB ("Recommend Minimum Navigation Information", null),
57 RMC ("Recommend Minimum Specific GPS/TRANSIT Data", null),
58 ROT ("Rate of Turn", null),
59 RPM ("Revolutions", null),
60 RSA ("Rudder Sensor Angle", null),
61 RSD ("RADAR System Data", null),
62 RTE ("Routes", null),
63 SFI ("Scanning Frequency Information", null),
64 STN ("Multiple Data ID", null),
65 TRF ("TRANSIT Fix Data", null),
66 TTM ("Tracked Target Message", null),
67 VBW ("Dual Ground/Water Speed", null),
68 VDR ("Set and Drift", null),
69 VHW ("Water Speed and Heading", null),
70 VLW ("Distance Traveled through the Water", null),
71 VPW ("Speed, Measured Parallel to Wind", null),
72 VTG ("Track Made Good and Ground Speed", null),
73 VWR ("Relative wind direction and speed", null),
74 WCV ("Waypoint Closure Velocity", null),
75 WDC ("Distance to Waypoint", null),
76 WDR ("Waypoint Distance, Rhumb Line", null),
77 WNC ("Distance, Waypoint to Waypoint", null),
78 WPL ("Waypoint Loacation", null),
79 XDR ("Transducer Measurements", null),
80 XTE ("Cross-Track Error, Measured", null),
81 XTR ("Cross-Track Error, Dead Reckoning", null),
82 ZDA ("Time & Date", null),
83 ZFO ("UTC & Time from Origin Waypoint", null),
84 ZTG ("UTC & Time to Destination Waypoint", null),
85
86
87 GRME ("", GRM),
88 GRMZ ("", GRM),
89 GRMM ("", GRM),
90
91
92 SLIB ("", SLI);
93
94 final String description;
95 final NMEAManufacturerID manufacturer;
96
97 NMEASentenceID(String description, NMEAManufacturerID manufacturer) {
98 this.description = description;
99 this.manufacturer = manufacturer;
100 }
101
102 public String getDescription() {
103 return description;
104 }
105
106 public NMEAManufacturerID getManufacturer() {
107 return manufacturer;
108 }
109 }