summaryrefslogtreecommitdiff
path: root/driver_superstar2.h
blob: c39d85233e6950873d2f40cb9bd8b11769aa019d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
/*
 * This file is Copyright (c) 2010 by the GPSD project
 * SPDX-License-Identifier: BSD-2-clause
 */
#ifndef _GPSD_SUPERSTAR2_H_
#define _GPSD_SUPERSTAR2_H_

#define SUPERSTAR2_BASE_SIZE 4
#define SUPERSTAR2_TYPE_OFFSET 1

/* input-only */
#define SUPERSTAR2_RESET 2
#define SUPERSTAR2_LINKUP 63
#define SUPERSTAR2_CHANNEL_INHIBIT 64
#define SUPERSTAR2_TIME_PARAMS 69
#define SUPERSTAR2_ALMANAC_INCREMENT 77
#define SUPERSTAR2_ALMANAC_UPLOAD 79
#define SUPERSTAR2_SET_OPMODE 80
#define SUPERSTAR2_SET_MASK 81
#define SUPERSTAR2_SET_DGPS 83
#define SUPERSTAR2_SET_IONOMODEL 84
#define SUPERSTAR2_SET_MSLMODEL 86
#define SUPERSTAR2_SET_HEIGHT_MODE 87
#define SUPERSTAR2_SET_DATUM 88
#define SUPERSTAR2_SATELLITE_INHIBIT 90
#define SUPERSTAR2_BASE_CONFIG 91
#define SUPERSTAR2_SATELLITE_TRACK 95
#define SUPERSTAR2_NVM_ERASE 99
#define SUPERSTAR2_SET_TIME 103
#define SUPERSTAR2_MESSAGE_CONFIG 105
#define SUPERSTAR2_SERIAL_CONFIG 110

/* output-only */
#define SUPERSTAR2_CHANINF2 7
#define SUPERSTAR2_LINKERR 125
#define SUPERSTAR2_ACK 126

/* bidirectional */
#define SUPERSTAR2_DUMMY 0
#define SUPERSTAR2_CHANINF 6
#define SUPERSTAR2_NAVSOL_LLA 20
#define SUPERSTAR2_NAVSOL_ECEF 21
#define SUPERSTAR2_EPHEMERIS 22
#define SUPERSTAR2_MEASUREMENT 23
#define SUPERSTAR2_RECV_CONFIG 30
#define SUPERSTAR2_SVINFO 33
#define SUPERSTAR2_DGPSCONFIG 43
#define SUPERSTAR2_VERSION 45
#define SUPERSTAR2_BASE_STATUS 47
#define SUPERSTAR2_DGPS_STATUS 48
#define SUPERSTAR2_RECV_STATUS 49
#define SUPERSTAR2_SAT_HEALTH 50
#define SUPERSTAR2_SELFTEST 51
#define SUPERSTAR2_RTCM_DATA 65
#define SUPERSTAR2_SBAS_DATA 67
#define SUPERSTAR2_SBAS_STATUS 68
#define SUPERSTAR2_IONO_UTC 75
#define SUPERSTAR2_ALMANAC_DATA 76
#define SUPERSTAR2_ALMANAC_STATUS 78
#define SUPERSTAR2_TIMING 113

#endif /* _GPSD_SUPERSTAR2_H_ */