ubxcfg.h 3.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. /*
  2. * ubxproto
  3. * Copyright (c) 2014, Alexey Edelev aka semlanik, All rights reserved.
  4. *
  5. * This library is free software; you can redistribute it and/or
  6. * modify it under the terms of the GNU Lesser General Public
  7. * License as published by the Free Software Foundation; either
  8. * version 3.0 of the License, or (at your option) any later version.
  9. *
  10. * This library is distributed in the hope that it will be useful,
  11. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  13. * Lesser General Public License for more details.
  14. *
  15. * You should have received a copy of the GNU Lesser General Public
  16. * License along with this library.
  17. *
  18. * Additionally to GNU Lesser General Public License you MUST NOT
  19. * static link this library and MUST add link to author
  20. * and source of this library in your application.
  21. *
  22. * Actual LGPL text https://www.gnu.org/licenses/lgpl.html
  23. *
  24. * File: ubxcfg.h
  25. */
  26. #ifndef UBLOXCFG_H
  27. #define UBLOXCFG_H
  28. #include "ubxmessage.h"
  29. #ifdef __cplusplus
  30. extern "C"
  31. {
  32. #endif
  33. extern struct UBXMsgBuffer getCFG_ANT();
  34. extern struct UBXMsgBuffer getCFG_ANT_POLL();
  35. extern struct UBXMsgBuffer getCFG_CFG();
  36. extern struct UBXMsgBuffer getCFG_CFG_OPT();
  37. extern struct UBXMsgBuffer getCFG_DAT_IN();
  38. extern struct UBXMsgBuffer getCFG_DAT_POLL();
  39. extern struct UBXMsgBuffer getCFG_GNSS_POLL();
  40. extern struct UBXMsgBuffer getCFG_GNSS();
  41. extern struct UBXMsgBuffer getCFG_INF_POLL(UBXU1_t protocolId);
  42. extern struct UBXMsgBuffer getCFG_INF();
  43. extern struct UBXMsgBuffer getCFG_ITFM_POLL();
  44. extern struct UBXMsgBuffer getCFG_ITFM();
  45. extern struct UBXMsgBuffer getCFG_LOGFILTER_POLL();
  46. extern struct UBXMsgBuffer getCFG_LOGFILTER();
  47. extern struct UBXMsgBuffer getCFG_MSG_POLL(enum UBXMessageClass msgClass, enum UBXMessageId msgId);
  48. extern struct UBXMsgBuffer getCFG_MSG_RATE(enum UBXMessageClass msgClass, enum UBXMessageId msgId, u_int8_t rate);
  49. extern struct UBXMsgBuffer getCFG_MSG_RATES(enum UBXMessageClass msgClass, enum UBXMessageId msgId, u_int8_t rate[6]);
  50. extern struct UBXMsgBuffer getCFG_NAV5_POLL();
  51. extern struct UBXMsgBuffer getCFG_NAV5();
  52. extern struct UBXMsgBuffer getCFG_NAVX5_POLL();
  53. extern struct UBXMsgBuffer getCFG_NAVX5();
  54. extern struct UBXMsgBuffer getCFG_NMEA_POLL();
  55. extern struct UBXMsgBuffer getCFG_NMEA();
  56. extern struct UBXMsgBuffer getCFG_NVS();
  57. extern struct UBXMsgBuffer getCFG_PM2_POLL();
  58. extern struct UBXMsgBuffer getCFG_PM2();
  59. extern struct UBXMsgBuffer getCFG_PRT_POLL();
  60. extern struct UBXMsgBuffer getCFG_PRT_POLL_OPT(UBXU1_t portId);
  61. extern struct UBXMsgBuffer getCFG_PRT();
  62. extern struct UBXMsgBuffer getCFG_RATE_POLL();
  63. extern struct UBXMsgBuffer getCFG_RATE();
  64. extern struct UBXMsgBuffer getCFG_RINV();
  65. extern struct UBXMsgBuffer getCFG_RINV_POLL();
  66. extern struct UBXMsgBuffer getCFG_RST(enum UBXResetMode mode, u_int16_t mask);
  67. extern struct UBXMsgBuffer getCFG_RXM();
  68. extern struct UBXMsgBuffer getCFG_RXM_POLL();
  69. extern struct UBXMsgBuffer getCFG_SBAS_POLL();
  70. extern struct UBXMsgBuffer getCFG_SBAS();
  71. extern struct UBXMsgBuffer getCFG_TP5_POLL();
  72. extern struct UBXMsgBuffer getCFG_TP5_POLL_OPT(enum UBXCFGTimepulses tpIdx);
  73. extern struct UBXMsgBuffer getCFG_TP5(enum UBXCFGTimepulses tpIdx,
  74. int16_t antCableDelay,
  75. int16_t rfGroupDelay,
  76. u_int32_t freqPeriod,
  77. u_int32_t freqPeriodLock,
  78. u_int32_t pulseLenRatio,
  79. u_int32_t pulseLenRatioLock,
  80. int32_t userConfigDelay,
  81. int32_t flags);
  82. extern struct UBXMsgBuffer getCFG_USB_POLL();
  83. extern struct UBXMsgBuffer getCFG_USB();
  84. #ifdef __cplusplus
  85. }
  86. #endif
  87. #endif // UBLOXCFG_H