|
MRTKLIB 0.7.14
Modernized GNSS Positioning Library
|
MRTKLIB MADOCA-PPP Module — QZSS L6E CSSR message decode functions. More...
#include "mrtklib/mrtk_context.h"#include "mrtklib/mrtk_foundation.h"#include "mrtklib/mrtk_nav.h"#include "mrtklib/mrtk_obs.h"#include "mrtklib/mrtk_rtcm.h"#include "mrtklib/mrtk_rtkpos.h"#include "mrtklib/mrtk_time.h"Go to the source code of this file.
Functions | |
| void | set_mcssr_ch (int ch) |
| Set MADOCA-PPP CSSR channel index for multi-L6E. | |
| int | get_mcssr_ch (void) |
| Get current MADOCA-PPP CSSR channel index. | |
| void | init_mcssr (const gtime_t gt) |
| Initialize MADOCA-PPP CSSR control struct for current channel. | |
| int | decode_qzss_l6emsg (rtcm_t *rtcm) |
| Decode QZSS L6E message and convert to RTCM SSR. | |
| int | input_qzssl6e (rtcm_t *rtcm, const uint8_t data) |
| Stack QZSS L6E message and synchronize frame with L6 preamble. | |
| int | input_qzssl6ef (rtcm_t *rtcm, FILE *fp) |
| Fetch next QZSS L6E message and input a message from file. | |
| int | mcssr_sel_biascode (const int sys, const int code) |
| Select MADOCA-PPP code/phase bias code from observation code. | |
MRTKLIB MADOCA-PPP Module — QZSS L6E CSSR message decode functions.
This header provides functions for decoding QZSS L6E (MADOCA-PPP) Compact SSR messages and converting them to RTCM SSR format, extracted from mdccssr.c with zero algorithmic changes.
Definition in file mrtk_madoca.h.
| int decode_qzss_l6emsg | ( | rtcm_t * | rtcm | ) |
Decode QZSS L6E message and convert to RTCM SSR.
| [in,out] | rtcm | RTCM control struct |
Definition at line 704 of file mrtk_madoca.c.
References _mcssr, _mcssr_ch, l6_header_t::alert, l6_header_t::anme, l6_header_t::csid, decode_mcssr_cb(), decode_mcssr_cc(), decode_mcssr_mask(), decode_mcssr_oc(), decode_mcssr_pb(), decode_mcssr_ura(), l6_header_t::fac, framelen, getbitu(), L6_DATA_BITS, L6_HEADER_BITS, l6_parse_header(), L6_PREAMBLE, MCSSR_MAX_PRN, MCSSR_ST_CB, MCSSR_ST_CC, MCSSR_ST_MASK, MCSSR_ST_OC, MCSSR_ST_PB, MCSSR_ST_URA, l6_header_t::msgid, l6_header_t::preamble, l6_header_t::prn, rtcm, RTCM_MN_CSSR, l6_header_t::sf_ind, time_str(), trace(), and l6_header_t::vid.
Referenced by decode_qzss_l6frame(), and input_qzssl6e().
| int get_mcssr_ch | ( | void | ) |
Get current MADOCA-PPP CSSR channel index.
Definition at line 912 of file mrtk_madoca.c.
References _mcssr_ch.
| void init_mcssr | ( | const gtime_t | gt | ) |
Initialize MADOCA-PPP CSSR control struct for current channel.
| [in] | gt | GPST for week number determination |
Definition at line 919 of file mrtk_madoca.c.
References _mcssr, and _mcssr_ch.
Referenced by decoderaw(), and update_qzssl6e().
| int input_qzssl6e | ( | rtcm_t * | rtcm, |
| const uint8_t | data ) |
Stack QZSS L6E message and synchronize frame with L6 preamble.
| [in,out] | rtcm | RTCM control struct |
| [in] | data | L6E 1-byte data |
Definition at line 935 of file mrtk_madoca.c.
References decode_qzss_l6emsg(), L6_FRAME_LEN, rtcm, and trace().
Referenced by decoderaw(), and input_qzssl6ef().
| int input_qzssl6ef | ( | rtcm_t * | rtcm, |
| FILE * | fp ) |
Fetch next QZSS L6E message and input a message from file.
| [in,out] | rtcm | RTCM control struct |
| [in] | fp | File pointer |
Definition at line 965 of file mrtk_madoca.c.
References input_qzssl6e(), rtcm, and trace().
Referenced by update_qzssl6e().
| int mcssr_sel_biascode | ( | const int | sys, |
| const int | code ) |
Select MADOCA-PPP code/phase bias code from observation code.
| [in] | sys | Navigation system |
| [in] | code | Observation code |
Definition at line 988 of file mrtk_madoca.c.
References CODE_L1B, CODE_L1C, CODE_L1D, CODE_L1E, CODE_L1L, CODE_L1P, CODE_L1S, CODE_L1W, CODE_L1X, CODE_L2C, CODE_L2I, CODE_L2L, CODE_L2P, CODE_L2Q, CODE_L2S, CODE_L2W, CODE_L2X, CODE_L5D, CODE_L5I, CODE_L5P, CODE_L5Q, CODE_L5X, CODE_L6B, CODE_L6C, CODE_L6I, CODE_L6Q, CODE_L6X, CODE_L7D, CODE_L7I, CODE_L7Q, CODE_L7X, CODE_NONE, SYS_CMP, SYS_GAL, SYS_GLO, SYS_GPS, and SYS_QZS.
Referenced by udsatcb(), and udsatpb().
| void set_mcssr_ch | ( | int | ch | ) |
Set MADOCA-PPP CSSR channel index for multi-L6E.
| [in] | ch | Channel index (0 or 1) |
Definition at line 907 of file mrtk_madoca.c.
References _mcssr_ch, and SSR_CH_NUM.