summaryrefslogtreecommitdiff
path: root/gps.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-12-18 12:38:31 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-12-18 12:38:31 +0000
commitd27626a60d41003b040164032db6739c6e39ba9a (patch)
tree01307cc80af2bcd63fb162692e7437eeabfb5e81 /gps.h
parent8a1dd307a40e9d4a1c4b49564c27209b93291e7f (diff)
downloadgpsd-d27626a60d41003b040164032db6739c6e39ba9a.tar.gz
Fix AIS dumping of altitude and speed in SAR report.
Diffstat (limited to 'gps.h')
-rw-r--r--gps.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gps.h b/gps.h
index d4b93e32..b1ea5fac 100644
--- a/gps.h
+++ b/gps.h
@@ -586,8 +586,10 @@ struct ais_t
struct {
uint alt; /* altitude in meters */
#define AIS_ALT_NOT_AVAILABLE 4095
-#define AIS_ALT_FAST_MOVER 4094 /* 4094 meters or higher */
+#define AIS_ALT_HIGH 4094 /* 4094 meters or higher */
uint speed; /* speed over ground in deciknots */
+#define AIS_SAR_SPEED_NOT_AVAILABLE 1023
+#define AIS_SAR_FAST_MOVER 1022
bool accuracy; /* position accuracy */
int lon; /* longitude */
int lat; /* latitude */