diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2013-11-20 07:23:43 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2013-11-20 07:23:43 -0500 |
commit | 35c31e25ece7cdfc64755f8721198b2714cc89ec (patch) | |
tree | 4de30544345f8a5e19f0da292c86c49f8f56b36e /gps | |
parent | 4b85f3b799839053c79d987c3fb5f542e882bbe4 (diff) | |
download | gpsd-35c31e25ece7cdfc64755f8721198b2714cc89ec.tar.gz |
Resync the Python interface's list of various magic constants.
Diffstat (limited to 'gps')
-rwxr-xr-x | gps/gps.py | 16 |
1 files changed, 15 insertions, 1 deletions
@@ -50,7 +50,10 @@ SUBFRAME_SET = (1<<26) GST_SET = (1<<27) VERSION_SET = (1<<28) POLICY_SET = (1<<29) -ERROR_SET = (1<<30) +LOGMESSAGE_SET = (1<<30) +ERROR_SET = (1<<31) +TIMEDRIFT_SET = (1<<32) +SET_HIGH_BIT = 33 UNION_SET = (RTCM2_SET|RTCM3_SET|SUBFRAME_SET|AIS_SET|VERSION_SET|DEVICELIST_SET|ERROR_SET|GST_SET) STATUS_NO_FIX = 0 STATUS_FIX = 1 @@ -61,6 +64,17 @@ MODE_3D = 3 MAXCHANNELS = 20 SIGNAL_STRENGTH_UNKNOWN = NaN +WATCH_ENABLE = 0x000001 # enable streaming +WATCH_DISABLE = 0x000002 # disable watching +WATCH_JSON = 0x000010 # JSON output +WATCH_NMEA = 0x000020 # output in NMEA +WATCH_RARE = 0x000040 # output of packets in hex +WATCH_RAW = 0x000080 # output of raw packets +WATCH_SCALED = 0x000100 # scale output to floats +WATCH_TIMING = 0x000200 # timing information +WATCH_DEVICE = 0x000800 # watch specific device +WATCH_SPLIT24 = 0x001000 # split AIS Type 24s +WATCH_PPS = 0x002000 # enable PPS JSON WATCH_NEWSTYLE = 0x010000 # force JSON streaming WATCH_OLDSTYLE = 0x020000 # force old-style streaming |