File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 4
4
# type and the last time differential corrections were received. A
5
5
# fix is valid when status >= STATUS_FIX.
6
6
7
+ int8 STATUS_UNKNOWN = -2 # status is not yet set
7
8
int8 STATUS_NO_FIX = -1 # unable to fix position
8
9
int8 STATUS_FIX = 0 # unaugmented fix
9
10
int8 STATUS_SBAS_FIX = 1 # with satellite-based augmentation
10
11
int8 STATUS_GBAS_FIX = 2 # with ground-based augmentation
11
12
12
- int8 status
13
+ int8 status -2 # STATUS_UNKNOWN
13
14
14
15
# Bits defining which Global Navigation Satellite System signals were
15
16
# used by the receiver.
16
17
18
+ uint16 SERVICE_UNKNOWN = 0 # Remember service is a bitfield, so checking (service & SERVICE_UNKNOWN) will not work. Use == instead.
17
19
uint16 SERVICE_GPS = 1
18
20
uint16 SERVICE_GLONASS = 2
19
21
uint16 SERVICE_COMPASS = 4 # includes BeiDou.
You can’t perform that action at this time.
0 commit comments