123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113 |
- /*
- * ubxproto
- * Copyright (c) 2014, Alexey Edelev aka semlanik, All rights reserved.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3.0 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library.
- *
- * Additionally to GNU Lesser General Public License you MUST NOT
- * static link this library and MUST add link to author
- * and source of this library in your application.
- *
- * Actual LGPL text https://www.gnu.org/licenses/lgpl.html
- *
- * File: ubxcfg.h
- */
- #ifndef UBLOXCFG_H
- #define UBLOXCFG_H
- #include "ubxmessage.h"
- #ifdef __cplusplus
- extern "C"
- {
- #endif
- extern struct UBXMsgBuffer getCFG_ANT(UBXX2_t flags, //See UBXANTFlags to fill this field
- struct UBXANTPins pins);
- extern struct UBXMsgBuffer getCFG_ANT_POLL();
- extern struct UBXMsgBuffer getCFG_CFG(UBXX4_t clearMask, //See UBXCFGMask to fill this field
- UBXX4_t saveMask, //See UBXCFGMask to fill this field
- UBXX4_t loadMask //See UBXCFGMask to fill this field
- );
- extern struct UBXMsgBuffer getCFG_CFG_OPT(UBXX4_t clearMask, //See UBXCFGMask to fill this field
- UBXX4_t saveMask, //See UBXCFGMask to fill this field
- UBXX4_t loadMask, //See UBXCFGMask to fill this field
- UBXX1_t deviceMask //See UBXCFGDeviceMask to fill this field
- );
- extern struct UBXMsgBuffer getCFG_DAT_IN(UBXR8_t majA,
- UBXR8_t flat,
- UBXR4_t dX,
- UBXR4_t dY,
- UBXR4_t dZ,
- UBXR4_t rotX,
- UBXR4_t rotY,
- UBXR4_t rotZ,
- UBXR4_t scale);
- extern struct UBXMsgBuffer getCFG_DAT_POLL();
- extern struct UBXMsgBuffer getCFG_GNSS_POLL();
- extern struct UBXMsgBuffer getCFG_GNSS(UBXU1_t msgVer,
- UBXU1_t numTrkChHw,
- UBXU1_t numTrkChUse,
- UBXU1_t numConfigBlocks,
- struct UBXCFG_GNSS_PART* gnssPart,
- int gnssPartCount);
- extern struct UBXMsgBuffer getCFG_INF_POLL(UBXU1_t protocolId);
- extern struct UBXMsgBuffer getCFG_INF(struct UBXCFG_INF_PART *infPart, int infPartCount);
- extern struct UBXMsgBuffer getCFG_ITFM_POLL();
- extern struct UBXMsgBuffer getCFG_ITFM();
- extern struct UBXMsgBuffer getCFG_LOGFILTER_POLL();
- extern struct UBXMsgBuffer getCFG_LOGFILTER();
- extern struct UBXMsgBuffer getCFG_MSG_POLL(enum UBXMessageClass msgClass, enum UBXMessageId msgId);
- extern struct UBXMsgBuffer getCFG_MSG_RATE(enum UBXMessageClass msgClass, enum UBXMessageId msgId, u_int8_t rate);
- extern struct UBXMsgBuffer getCFG_MSG_RATES(enum UBXMessageClass msgClass, enum UBXMessageId msgId, u_int8_t rate[6]);
- extern struct UBXMsgBuffer getCFG_NAV5_POLL();
- extern struct UBXMsgBuffer getCFG_NAV5();
- extern struct UBXMsgBuffer getCFG_NAVX5_POLL();
- extern struct UBXMsgBuffer getCFG_NAVX5();
- extern struct UBXMsgBuffer getCFG_NMEA_POLL();
- extern struct UBXMsgBuffer getCFG_NMEA();
- extern struct UBXMsgBuffer getCFG_NVS();
- extern struct UBXMsgBuffer getCFG_PM2_POLL();
- extern struct UBXMsgBuffer getCFG_PM2();
- extern struct UBXMsgBuffer getCFG_PRT_POLL();
- extern struct UBXMsgBuffer getCFG_PRT_POLL_OPT(UBXU1_t portId);
- extern struct UBXMsgBuffer getCFG_PRT();
- extern struct UBXMsgBuffer getCFG_RATE_POLL();
- extern struct UBXMsgBuffer getCFG_RATE();
- extern struct UBXMsgBuffer getCFG_RINV();
- extern struct UBXMsgBuffer getCFG_RINV_POLL();
- extern struct UBXMsgBuffer getCFG_RST(enum UBXResetMode mode, u_int16_t mask);
- extern struct UBXMsgBuffer getCFG_RXM();
- extern struct UBXMsgBuffer getCFG_RXM_POLL();
- extern struct UBXMsgBuffer getCFG_SBAS_POLL();
- extern struct UBXMsgBuffer getCFG_SBAS();
- extern struct UBXMsgBuffer getCFG_TP5_POLL();
- extern struct UBXMsgBuffer getCFG_TP5_POLL_OPT(enum UBXCFGTimepulses tpIdx);
- extern struct UBXMsgBuffer getCFG_TP5(enum UBXCFGTimepulses tpIdx,
- int16_t antCableDelay,
- int16_t rfGroupDelay,
- u_int32_t freqPeriod,
- u_int32_t freqPeriodLock,
- u_int32_t pulseLenRatio,
- u_int32_t pulseLenRatioLock,
- int32_t userConfigDelay,
- int32_t flags);
- extern struct UBXMsgBuffer getCFG_USB_POLL();
- extern struct UBXMsgBuffer getCFG_USB();
- #ifdef __cplusplus
- }
- #endif
- #endif // UBLOXCFG_H
|