ubxrxm.h 1.8 KB

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