ubxrxm.h 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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: ubxrxm.h
  25. */
  26. #ifndef UBLOXRXM_H
  27. #define UBLOXRXM_H
  28. #include "ubxmessage.h"
  29. #ifdef __cplusplus
  30. extern "C"
  31. {
  32. #endif
  33. extern struct UBXMsgBuffer getRXM_ALM_POLL();
  34. extern struct UBXMsgBuffer getRXM_ALM_POLL_OPT(UBXU1_t svid);
  35. extern struct UBXMsgBuffer getRXM_EPH_POLL();
  36. extern struct UBXMsgBuffer getRXM_EPH_POLL_OPT(UBXU1_t svid);
  37. extern struct UBXMsgBuffer getRXM_PMREQ(UBXU4_t duration,
  38. UBXX4_t flags //See UBXPMREQFlags to fill this field
  39. );
  40. extern struct UBXMsgBuffer getRXM_SVSI(UBXU4_t iTOW,
  41. UBXI2_t week,
  42. UBXU1_t numVis,
  43. UBXU1_t numSV,
  44. struct UBXRXM_SVSI_PART* svsiPart,
  45. int svsiPartCount);
  46. #ifdef __cplusplus
  47. }
  48. #endif
  49. #endif // UBLOXRXM_H