driver_superstar2.h 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. /*
  2. * This file is Copyright (c) 2010 by the GPSD project
  3. * SPDX-License-Identifier: BSD-2-clause
  4. */
  5. #ifndef _GPSD_SUPERSTAR2_H_
  6. #define _GPSD_SUPERSTAR2_H_
  7. #define SUPERSTAR2_BASE_SIZE 4
  8. #define SUPERSTAR2_TYPE_OFFSET 1
  9. /* input-only */
  10. #define SUPERSTAR2_RESET 2
  11. #define SUPERSTAR2_LINKUP 63
  12. #define SUPERSTAR2_CHANNEL_INHIBIT 64
  13. #define SUPERSTAR2_TIME_PARAMS 69
  14. #define SUPERSTAR2_ALMANAC_INCREMENT 77
  15. #define SUPERSTAR2_ALMANAC_UPLOAD 79
  16. #define SUPERSTAR2_SET_OPMODE 80
  17. #define SUPERSTAR2_SET_MASK 81
  18. #define SUPERSTAR2_SET_DGPS 83
  19. #define SUPERSTAR2_SET_IONOMODEL 84
  20. #define SUPERSTAR2_SET_MSLMODEL 86
  21. #define SUPERSTAR2_SET_HEIGHT_MODE 87
  22. #define SUPERSTAR2_SET_DATUM 88
  23. #define SUPERSTAR2_SATELLITE_INHIBIT 90
  24. #define SUPERSTAR2_BASE_CONFIG 91
  25. #define SUPERSTAR2_SATELLITE_TRACK 95
  26. #define SUPERSTAR2_NVM_ERASE 99
  27. #define SUPERSTAR2_SET_TIME 103
  28. #define SUPERSTAR2_MESSAGE_CONFIG 105
  29. #define SUPERSTAR2_SERIAL_CONFIG 110
  30. /* output-only */
  31. #define SUPERSTAR2_CHANINF2 7
  32. #define SUPERSTAR2_LINKERR 125
  33. #define SUPERSTAR2_ACK 126
  34. /* bidirectional */
  35. #define SUPERSTAR2_DUMMY 0
  36. #define SUPERSTAR2_CHANINF 6
  37. #define SUPERSTAR2_NAVSOL_LLA 20
  38. #define SUPERSTAR2_NAVSOL_ECEF 21
  39. #define SUPERSTAR2_EPHEMERIS 22
  40. #define SUPERSTAR2_MEASUREMENT 23
  41. #define SUPERSTAR2_RECV_CONFIG 30
  42. #define SUPERSTAR2_SVINFO 33
  43. #define SUPERSTAR2_DGPSCONFIG 43
  44. #define SUPERSTAR2_VERSION 45
  45. #define SUPERSTAR2_BASE_STATUS 47
  46. #define SUPERSTAR2_DGPS_STATUS 48
  47. #define SUPERSTAR2_RECV_STATUS 49
  48. #define SUPERSTAR2_SAT_HEALTH 50
  49. #define SUPERSTAR2_SELFTEST 51
  50. #define SUPERSTAR2_RTCM_DATA 65
  51. #define SUPERSTAR2_SBAS_DATA 67
  52. #define SUPERSTAR2_SBAS_STATUS 68
  53. #define SUPERSTAR2_IONO_UTC 75
  54. #define SUPERSTAR2_ALMANAC_DATA 76
  55. #define SUPERSTAR2_ALMANAC_STATUS 78
  56. #define SUPERSTAR2_TIMING 113
  57. #endif /* _GPSD_SUPERSTAR2_H_ */