ubxlog.h 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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: ubxlog.h
  25. */
  26. /*! \file */
  27. #ifndef UBLOXLOG_H
  28. #define UBLOXLOG_H
  29. #include "ubxmessage.h"
  30. #ifdef __cplusplus
  31. extern "C"
  32. {
  33. #endif
  34. extern UBXMsgBuffer getLOG_CREATE(UBXX1_t logCfg, //See UBXLOGCfg
  35. UBXU1_t logSize,
  36. UBXU4_t userDefinedSize);
  37. extern UBXMsgBuffer getLOG_ERASE();
  38. extern UBXMsgBuffer getLOG_FINDTIME_IN(UBXU2_t year,
  39. UBXU1_t month,
  40. UBXU1_t day,
  41. UBXU1_t hour,
  42. UBXU1_t minute,
  43. UBXU1_t second);
  44. extern UBXMsgBuffer getLOG_INFO_POLL();
  45. extern UBXMsgBuffer getLOG_RETRIEVE(UBXU4_t startNumber,
  46. UBXU4_t entryCount,
  47. UBXU1_t version);
  48. extern UBXMsgBuffer getLOG_STRING();
  49. #ifdef __cplusplus
  50. }
  51. #endif
  52. #endif // UBLOXLOG_H