ubxaid.h 4.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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: ubxaid.h
  25. */
  26. /*! \file */
  27. #ifndef UBLOXAID_H
  28. #define UBLOXAID_H
  29. #include "ubxmessage.h"
  30. #ifdef __cplusplus
  31. extern "C"
  32. {
  33. #endif
  34. extern struct UBXMsgBuffer getAID_ALM_POLL();
  35. extern struct UBXMsgBuffer getAID_ALM_POLL_OPT(UBXU1_t svid);
  36. extern struct UBXMsgBuffer getAID_ALM(UBXU4_t svid, UBXU4_t week);
  37. extern struct UBXMsgBuffer getAID_ALM_OPT(UBXU4_t svid, UBXU4_t week, UBXU4_t dwrd[8]);
  38. extern struct UBXMsgBuffer getAID_ALPSRV(struct UBXMsg* clientMgs, const struct UBXAlpFileInfo *fileInfo);
  39. extern struct UBXMsgBuffer getAID_ALP_POLL(UBXU4_t predTow, UBXU4_t predDur, UBXI4_t age, UBXU2_t predWno, UBXU2_t almWno, UBXU1_t svs);
  40. extern struct UBXMsgBuffer getAID_ALP_END();
  41. extern struct UBXMsgBuffer getAID_ALP(UBXU2_t *chunk, int chunkSize);
  42. extern struct UBXMsgBuffer getAID_AOP_POLL();
  43. extern struct UBXMsgBuffer getAID_AOP_POLL_OPT(UBXU1_t svid);
  44. extern struct UBXMsgBuffer getAID_AOP(UBXU1_t svid, UBXU1_t data[59]);
  45. extern struct UBXMsgBuffer getAID_AOP_OPT(UBXU1_t svid, UBXU1_t data[59], UBXU1_t optional0[48], UBXU1_t optional1[48], UBXU1_t optional2[48]);
  46. extern struct UBXMsgBuffer getAID_DATA_POLL();
  47. extern struct UBXMsgBuffer getAID_EPH_POLL();
  48. extern struct UBXMsgBuffer getAID_EPH_POLL_OPT(UBXU1_t svid);
  49. extern struct UBXMsgBuffer getAID_EPH(UBXU4_t svid, UBXU4_t how);
  50. extern struct UBXMsgBuffer getAID_EPH_OPT(UBXU4_t svid, UBXU4_t how, UBXU4_t sf1d[8], UBXU4_t sf2d[8], UBXU4_t sf3d[8]);
  51. extern struct UBXMsgBuffer getAID_HUI_POLL();
  52. extern struct UBXMsgBuffer getAID_HUI(UBXI4_t health,
  53. UBXR4_t utcA0,
  54. UBXR4_t utcA1,
  55. UBXI4_t utcTOW,
  56. UBXI2_t utcWNT,
  57. UBXI2_t utcLS,
  58. UBXI2_t utcWNF,
  59. UBXI2_t utcDN,
  60. UBXI2_t utcLSF,
  61. UBXI2_t utcSpare,
  62. UBXR4_t klobA0,
  63. UBXR4_t klobA1,
  64. UBXR4_t klobA2,
  65. UBXR4_t klobA3,
  66. UBXR4_t klobB0,
  67. UBXR4_t klobB1,
  68. UBXR4_t klobB2,
  69. UBXR4_t klobB3,
  70. UBXX2_t flags //See UBXHUIFlags to fill this field
  71. );
  72. extern struct UBXMsgBuffer getAID_INI_POLL();
  73. extern struct UBXMsgBuffer getAID_INI(UBXI1_t ecefXOrLat,
  74. UBXI1_t ecefYOrLat,
  75. UBXI1_t ecefZOrLat,
  76. UBXU1_t posAcc,
  77. UBXI1_t tmCfg, //See UBXINItmCfg to fill this field
  78. UBXU2_t wnoOrDate,
  79. UBXU4_t towOrDate,
  80. UBXI4_t towNs,
  81. UBXU4_t tAccMS,
  82. UBXU4_t tAccNS,
  83. UBXI4_t clkDOrFreq,
  84. UBXU4_t clkDAccOrFreqAcc,
  85. UBXX4_t flags //See UBXINIFlags to fill this field
  86. );
  87. #ifdef __cplusplus
  88. }
  89. #endif
  90. #endif // UBLOXAID_H