|
MRTKLIB 0.7.14
Modernized GNSS Positioning Library
|
#include <math.h>#include <stdlib.h>#include <string.h>#include "mrtklib/mrtk_atmos.h"#include "mrtklib/mrtk_bits.h"#include "mrtklib/mrtk_coords.h"#include "mrtklib/mrtk_eph.h"#include "mrtklib/mrtk_obs.h"#include "mrtklib/mrtk_rtcm.h"#include "mrtklib/mrtk_sys.h"#include "mrtklib/mrtk_trace.h"Go to the source code of this file.
Classes | |
| struct | msm_h_t |
Macros | |
| #define | SYS_NONE 0x00 |
| #define | SYS_GPS 0x01 |
| #define | SYS_SBS 0x02 |
| #define | SYS_GLO 0x04 |
| #define | SYS_GAL 0x08 |
| #define | SYS_QZS 0x10 |
| #define | SYS_CMP 0x20 |
| #define | SYS_IRN 0x40 |
| #define | TSYS_GPS 0 |
| #define | TSYS_UTC 1 |
| #define | TSYS_GLO 2 |
| #define | TSYS_GAL 3 |
| #define | TSYS_QZS 4 |
| #define | TSYS_CMP 5 |
| #define | TSYS_IRN 6 |
| #define | LLI_SLIP 0x01 |
| #define | LLI_HALFC 0x02 |
| #define | LLI_BOCTRK 0x04 |
| #define | LLI_HALFA 0x40 |
| #define | LLI_HALFS 0x80 |
| #define | SSR_VENDOR_L6 0 /* vendor type L6(MADOCA-PPP) */ |
| #define | SSR_VENDOR_RTCM 1 /* vendor type RTCM3(JAXA-MADOCA) */ |
| #define | PRUNIT_GPS 299792.458 /* rtcm ver.3 unit of gps pseudorange (m) */ |
| #define | PRUNIT_GLO 599584.916 /* rtcm ver.3 unit of glonass pseudorange (m) */ |
| #define | RANGE_MS (CLIGHT * 0.001) /* range in 1 ms */ |
| #define | P2_5 0.03125 |
| #define | P2_6 0.015625 |
| #define | P2_10 0.0009765625 |
| #define | P2_11 4.882812500000000E-04 |
| #define | P2_19 1.907348632812500E-06 |
| #define | P2_20 9.536743164062500E-07 |
| #define | P2_24 5.960464477539063E-08 |
| #define | P2_28 3.725290298461914E-09 |
| #define | P2_29 1.862645149230957E-09 |
| #define | P2_30 9.313225746154785E-10 |
| #define | P2_31 4.656612873077393E-10 |
| #define | P2_32 2.328306436538696E-10 |
| #define | P2_33 1.164153218269348E-10 |
| #define | P2_34 5.820766091346740E-11 |
| #define | P2_40 9.094947017729280E-13 |
| #define | P2_41 4.547473508864641E-13 |
| #define | P2_43 1.136868377216160E-13 |
| #define | P2_46 1.421085471520200E-14 |
| #define | P2_50 8.881784197001252E-16 |
| #define | P2_55 2.775557561562891E-17 |
| #define | P2_59 1.734723475976810E-18 |
| #define | P2_66 1.355252715606880E-20 |
Functions | |
| int | decode_qzss_l6emsg (rtcm_t *rtcm) |
| static double | getbitg (const uint8_t *buff, int pos, int len) |
| static void | adjweek (rtcm_t *rtcm, double tow) |
| static int | adjbdtweek (int week) |
| static void | adjday_glot (rtcm_t *rtcm, double tod) |
| static double | adjcp (rtcm_t *rtcm, int sat, int idx, double cp) |
| static int | lossoflock (rtcm_t *rtcm, int sat, int idx, int lock) |
| static uint16_t | snratio (double snr) |
| static int | obsindex (obs_t *obs, gtime_t time, int sat) |
| static int | test_staid (rtcm_t *rtcm, int staid) |
| static int | decode_head1001 (rtcm_t *rtcm, int *sync) |
| static int | decode_type1001 (rtcm_t *rtcm) |
| static int | decode_type1002 (rtcm_t *rtcm) |
| static int | decode_type1003 (rtcm_t *rtcm) |
| static int | decode_type1004 (rtcm_t *rtcm) |
| static double | getbits_38 (const uint8_t *buff, int pos) |
| static int | decode_type1005 (rtcm_t *rtcm) |
| static int | decode_type1006 (rtcm_t *rtcm) |
| static int | decode_type1007 (rtcm_t *rtcm) |
| static int | decode_type1008 (rtcm_t *rtcm) |
| static int | decode_head1009 (rtcm_t *rtcm, int *sync) |
| static int | decode_type1009 (rtcm_t *rtcm) |
| static int | decode_type1010 (rtcm_t *rtcm) |
| static int | decode_type1011 (rtcm_t *rtcm) |
| static int | decode_type1012 (rtcm_t *rtcm) |
| static int | decode_type1013 (rtcm_t *rtcm) |
| static int | decode_type1019 (rtcm_t *rtcm) |
| static int | decode_type1020 (rtcm_t *rtcm) |
| static int | decode_type1021 (rtcm_t *rtcm) |
| static int | decode_type1022 (rtcm_t *rtcm) |
| static int | decode_type1023 (rtcm_t *rtcm) |
| static int | decode_type1024 (rtcm_t *rtcm) |
| static int | decode_type1025 (rtcm_t *rtcm) |
| static int | decode_type1026 (rtcm_t *rtcm) |
| static int | decode_type1027 (rtcm_t *rtcm) |
| static int | decode_type1029 (rtcm_t *rtcm) |
| static int | decode_type1030 (rtcm_t *rtcm) |
| static int | decode_type1031 (rtcm_t *rtcm) |
| static int | decode_type1032 (rtcm_t *rtcm) |
| static int | decode_type1033 (rtcm_t *rtcm) |
| static int | decode_type1034 (rtcm_t *rtcm) |
| static int | decode_type1035 (rtcm_t *rtcm) |
| static int | decode_type1037 (rtcm_t *rtcm) |
| static int | decode_type1038 (rtcm_t *rtcm) |
| static int | decode_type1039 (rtcm_t *rtcm) |
| static int | decode_type1041 (rtcm_t *rtcm) |
| static int | decode_type1044 (rtcm_t *rtcm) |
| static int | decode_type1045 (rtcm_t *rtcm) |
| static int | decode_type1046 (rtcm_t *rtcm) |
| static int | decode_type1042 (rtcm_t *rtcm) |
| static int | decode_ssr_epoch (rtcm_t *rtcm, int sys, int subtype) |
| static int | decode_ssr1_head (rtcm_t *rtcm, int sys, int subtype, int *sync, int *iod, double *udint, int *refd, int *hsize) |
| static int | decode_ssr2_head (rtcm_t *rtcm, int sys, int subtype, int *sync, int *iod, double *udint, int *hsize) |
| static int | decode_ssr1 (rtcm_t *rtcm, int sys, int subtype) |
| static int | decode_ssr2 (rtcm_t *rtcm, int sys, int subtype) |
| static int | decode_ssr3 (rtcm_t *rtcm, int sys, int subtype) |
| static int | decode_ssr4 (rtcm_t *rtcm, int sys, int subtype) |
| static int | decode_ssr5 (rtcm_t *rtcm, int sys, int subtype) |
| static int | decode_ssr6 (rtcm_t *rtcm, int sys, int subtype) |
| static int | decode_ssr7_head (rtcm_t *rtcm, int sys, int subtype, int *sync, int *iod, double *udint, int *dispe, int *mw, int *hsize) |
| static int | decode_ssr7 (rtcm_t *rtcm, int sys, int subtype) |
| static void | sigindex (int sys, const uint8_t *code, int n, const char *opt, int *idx) |
| static void | save_msm_obs (rtcm_t *rtcm, int sys, msm_h_t *h, const double *r, const double *pr, const double *cp, const double *rr, const double *rrf, const double *cnr, const int *lock, const int *ex, const int *half) |
| static int | decode_msm_head (rtcm_t *rtcm, int sys, int *sync, int *iod, msm_h_t *h, int *hsize) |
| static int | decode_msm0 (rtcm_t *rtcm, int sys) |
| static int | decode_msm4 (rtcm_t *rtcm, int sys) |
| static int | decode_msm5 (rtcm_t *rtcm, int sys) |
| static int | decode_msm6 (rtcm_t *rtcm, int sys) |
| static int | decode_msm7 (rtcm_t *rtcm, int sys) |
| static int | decode_type1230 (rtcm_t *rtcm) |
| static int | decode_type4073 (rtcm_t *rtcm) |
| static int | decode_type4076 (rtcm_t *rtcm) |
| static int | decode_type4050 (rtcm_t *rtcm) |
| int | decode_rtcm3 (rtcm_t *rtcm) |
| Decode RTCM ver.3 message (called from rtcm.c). | |
Variables | |
| static const double | CLIGHT = 299792458.0 |
| static const double | FREQ1 = 1.57542E9 |
| static const double | FREQ2 = 1.22760E9 |
| static const double | FREQ5 = 1.17645E9 |
| static const double | FREQ6 = 1.27875E9 |
| static const double | FREQ7 = 1.20714E9 |
| static const double | FREQ8 = 1.191795E9 |
| static const double | FREQ9 = 2.492028E9 |
| static const double | FREQ1_GLO = 1.60200E9 |
| static const double | DFRQ1_GLO = 0.56250E6 |
| static const double | FREQ2_GLO = 1.24600E9 |
| static const double | DFRQ2_GLO = 0.43750E6 |
| static const double | FREQ3_GLO = 1.202025E9 |
| static const double | FREQ1a_GLO = 1.600995E9 |
| static const double | FREQ2a_GLO = 1.248060E9 |
| static const double | FREQ1_CMP = 1.561098E9 |
| static const double | FREQ2_CMP = 1.20714E9 |
| static const double | FREQ3_CMP = 1.26852E9 |
| static const double | D2R = 3.1415926535897932 / 180.0 |
| static const double | R2D = 180.0 / 3.1415926535897932 |
| static const double | SC2RAD = 3.1415926535897932 |
| static const double | RE_WGS84 = 6378137.0 |
| const char * | msm_sig_gps [32] |
| const char * | msm_sig_glo [32] |
| const char * | msm_sig_gal [32] |
| const char * | msm_sig_qzs [32] |
| const char * | msm_sig_sbs [32] |
| const char * | msm_sig_cmp [32] |
| const char * | msm_sig_irn [32] |
| const uint8_t | ssr_sig_gps [32] |
| const uint8_t | ssr_sig_glo [32] |
| const uint8_t | ssr_sig_gal [32] |
| const uint8_t | ssr_sig_qzs [32] |
| const uint8_t | ssr_sig_cmp [32] |
| const uint8_t | ssr_sig_sbs [32] = {CODE_L1C, CODE_L5I, CODE_L5Q} |
| static const double | ssrudint [16] = {1, 2, 5, 10, 15, 30, 60, 120, 240, 300, 600, 900, 1800, 3600, 7200, 10800} |
| #define LLI_BOCTRK 0x04 |
Definition at line 49 of file mrtk_rtcm3.c.
| #define LLI_HALFA 0x40 |
Definition at line 50 of file mrtk_rtcm3.c.
| #define LLI_HALFC 0x02 |
Definition at line 48 of file mrtk_rtcm3.c.
| #define LLI_HALFS 0x80 |
Definition at line 51 of file mrtk_rtcm3.c.
| #define LLI_SLIP 0x01 |
Definition at line 47 of file mrtk_rtcm3.c.
| #define P2_10 0.0009765625 |
Definition at line 90 of file mrtk_rtcm3.c.
| #define P2_11 4.882812500000000E-04 |
Definition at line 91 of file mrtk_rtcm3.c.
| #define P2_19 1.907348632812500E-06 |
Definition at line 92 of file mrtk_rtcm3.c.
| #define P2_20 9.536743164062500E-07 |
Definition at line 93 of file mrtk_rtcm3.c.
| #define P2_24 5.960464477539063E-08 |
Definition at line 94 of file mrtk_rtcm3.c.
| #define P2_28 3.725290298461914E-09 |
Definition at line 95 of file mrtk_rtcm3.c.
| #define P2_29 1.862645149230957E-09 |
Definition at line 96 of file mrtk_rtcm3.c.
| #define P2_30 9.313225746154785E-10 |
Definition at line 97 of file mrtk_rtcm3.c.
| #define P2_31 4.656612873077393E-10 |
Definition at line 98 of file mrtk_rtcm3.c.
| #define P2_32 2.328306436538696E-10 |
Definition at line 99 of file mrtk_rtcm3.c.
| #define P2_33 1.164153218269348E-10 |
Definition at line 100 of file mrtk_rtcm3.c.
| #define P2_34 5.820766091346740E-11 |
Definition at line 101 of file mrtk_rtcm3.c.
| #define P2_40 9.094947017729280E-13 |
Definition at line 102 of file mrtk_rtcm3.c.
| #define P2_41 4.547473508864641E-13 |
Definition at line 103 of file mrtk_rtcm3.c.
| #define P2_43 1.136868377216160E-13 |
Definition at line 104 of file mrtk_rtcm3.c.
| #define P2_46 1.421085471520200E-14 |
Definition at line 105 of file mrtk_rtcm3.c.
| #define P2_5 0.03125 |
Definition at line 88 of file mrtk_rtcm3.c.
| #define P2_50 8.881784197001252E-16 |
Definition at line 106 of file mrtk_rtcm3.c.
| #define P2_55 2.775557561562891E-17 |
Definition at line 107 of file mrtk_rtcm3.c.
| #define P2_59 1.734723475976810E-18 |
Definition at line 108 of file mrtk_rtcm3.c.
| #define P2_6 0.015625 |
Definition at line 89 of file mrtk_rtcm3.c.
| #define P2_66 1.355252715606880E-20 |
Definition at line 109 of file mrtk_rtcm3.c.
| #define PRUNIT_GLO 599584.916 /* rtcm ver.3 unit of glonass pseudorange (m) */ |
Definition at line 85 of file mrtk_rtcm3.c.
Referenced by decode_type1010(), decode_type1012(), and gen_obs_glo().
| #define PRUNIT_GPS 299792.458 /* rtcm ver.3 unit of gps pseudorange (m) */ |
Definition at line 84 of file mrtk_rtcm3.c.
Referenced by decode_type1002(), decode_type1004(), and gen_obs_gps().
Definition at line 86 of file mrtk_rtcm3.c.
Referenced by decode_msm4(), decode_msm5(), decode_msm6(), decode_msm7(), encode_msm_int_rrng(), encode_msm_mod_rrng(), encode_msm_phrng(), encode_msm_phrng_ex(), encode_msm_psrng(), encode_msm_psrng_ex(), and gen_msm_sat().
| #define SSR_VENDOR_L6 0 /* vendor type L6(MADOCA-PPP) */ |
Definition at line 76 of file mrtk_rtcm3.c.
| #define SSR_VENDOR_RTCM 1 /* vendor type RTCM3(JAXA-MADOCA) */ |
Definition at line 77 of file mrtk_rtcm3.c.
| #define SYS_CMP 0x20 |
Definition at line 36 of file mrtk_rtcm3.c.
| #define SYS_GAL 0x08 |
Definition at line 34 of file mrtk_rtcm3.c.
| #define SYS_GLO 0x04 |
Definition at line 33 of file mrtk_rtcm3.c.
| #define SYS_GPS 0x01 |
Definition at line 31 of file mrtk_rtcm3.c.
| #define SYS_IRN 0x40 |
Definition at line 37 of file mrtk_rtcm3.c.
| #define SYS_NONE 0x00 |
Definition at line 30 of file mrtk_rtcm3.c.
| #define SYS_QZS 0x10 |
Definition at line 35 of file mrtk_rtcm3.c.
| #define SYS_SBS 0x02 |
Definition at line 32 of file mrtk_rtcm3.c.
| #define TSYS_CMP 5 |
Definition at line 44 of file mrtk_rtcm3.c.
| #define TSYS_GAL 3 |
Definition at line 42 of file mrtk_rtcm3.c.
| #define TSYS_GLO 2 |
Definition at line 41 of file mrtk_rtcm3.c.
| #define TSYS_GPS 0 |
Definition at line 39 of file mrtk_rtcm3.c.
| #define TSYS_IRN 6 |
Definition at line 45 of file mrtk_rtcm3.c.
| #define TSYS_QZS 4 |
Definition at line 43 of file mrtk_rtcm3.c.
| #define TSYS_UTC 1 |
Definition at line 40 of file mrtk_rtcm3.c.
|
static |
Definition at line 196 of file mrtk_rtcm3.c.
References gpst2bdt(), time2bdt(), timeget(), and utc2gpst().
Referenced by decode_type1042().
|
static |
Definition at line 226 of file mrtk_rtcm3.c.
References rtcm.
Referenced by decode_type1002(), decode_type1004(), decode_type1010(), and decode_type1012().
|
static |
Definition at line 205 of file mrtk_rtcm3.c.
References gpst2time(), gpst2utc(), rtcm, time2gpst(), timeadd(), timeget(), and utc2gpst().
Referenced by decode_head1009(), decode_msm_head(), and decode_ssr_epoch().
|
static |
Definition at line 179 of file mrtk_rtcm3.c.
References gpst2time(), rtcm, time2gpst(), timeget(), and utc2gpst().
Referenced by decode_head1001(), decode_msm_head(), and decode_ssr_epoch().
|
static |
Definition at line 294 of file mrtk_rtcm3.c.
References adjweek(), getbitu(), rtcm, test_staid(), time2str(), and trace().
Referenced by decode_type1001(), decode_type1002(), decode_type1003(), and decode_type1004().
|
static |
Definition at line 653 of file mrtk_rtcm3.c.
References adjday_glot(), getbitu(), rtcm, test_staid(), time2str(), and trace().
Referenced by decode_type1009(), decode_type1010(), decode_type1011(), and decode_type1012().
|
static |
Definition at line 2870 of file mrtk_rtcm3.c.
References decode_msm_head(), and rtcm.
Referenced by decode_rtcm3().
|
static |
Definition at line 2880 of file mrtk_rtcm3.c.
References decode_msm_head(), getbits(), getbitu(), msm_h_t::nsat, P2_10, P2_24, P2_29, RANGE_MS, rtcm, save_msm_obs(), and trace().
Referenced by decode_rtcm3().
|
static |
Definition at line 2952 of file mrtk_rtcm3.c.
References decode_msm_head(), getbits(), getbitu(), msm_h_t::nsat, P2_10, P2_24, P2_29, RANGE_MS, rtcm, save_msm_obs(), and trace().
Referenced by decode_rtcm3().
|
static |
Definition at line 3044 of file mrtk_rtcm3.c.
References decode_msm_head(), getbits(), getbitu(), msm_h_t::nsat, P2_10, P2_29, P2_31, RANGE_MS, rtcm, save_msm_obs(), and trace().
Referenced by decode_rtcm3().
|
static |
Definition at line 3116 of file mrtk_rtcm3.c.
References decode_msm_head(), getbits(), getbitu(), msm_h_t::nsat, P2_10, P2_29, P2_31, RANGE_MS, rtcm, save_msm_obs(), and trace().
Referenced by decode_rtcm3().
|
static |
Definition at line 2774 of file mrtk_rtcm3.c.
References adjday_glot(), adjweek(), msm_h_t::cellmask, msm_h_t::clk_ext, msm_h_t::clk_str, getbitu(), msm_h_t::nsat, msm_h_t::nsig, rtcm, msm_h_t::sats, msm_h_t::sigs, msm_h_t::smooth, SYS_CMP, SYS_GLO, test_staid(), time2str(), msm_h_t::time_s, msm_h_t::tint_s, and trace().
Referenced by decode_msm0(), decode_msm4(), decode_msm5(), decode_msm6(), and decode_msm7().
|
extern |
Definition at line 704 of file mrtk_madoca.c.
Referenced by decode_type4050().
| int decode_rtcm3 | ( | rtcm_t * | rtcm | ) |
Decode RTCM ver.3 message (called from rtcm.c).
| [in,out] | rtcm | RTCM control struct |
Definition at line 3402 of file mrtk_rtcm3.c.
References decode_lcliono(), decode_lcltrop(), decode_msm0(), decode_msm4(), decode_msm5(), decode_msm6(), decode_msm7(), decode_ssr1(), decode_ssr2(), decode_ssr3(), decode_ssr4(), decode_ssr5(), decode_ssr6(), decode_ssr7(), decode_type1001(), decode_type1002(), decode_type1003(), decode_type1004(), decode_type1005(), decode_type1006(), decode_type1007(), decode_type1008(), decode_type1009(), decode_type1010(), decode_type1011(), decode_type1012(), decode_type1013(), decode_type1019(), decode_type1020(), decode_type1021(), decode_type1022(), decode_type1023(), decode_type1024(), decode_type1025(), decode_type1026(), decode_type1027(), decode_type1029(), decode_type1030(), decode_type1031(), decode_type1032(), decode_type1033(), decode_type1034(), decode_type1035(), decode_type1037(), decode_type1038(), decode_type1039(), decode_type1041(), decode_type1042(), decode_type1044(), decode_type1045(), decode_type1046(), decode_type1230(), decode_type4050(), decode_type4073(), decode_type4076(), getbitu(), gpst2time(), rtcm, SYS_CMP, SYS_GAL, SYS_GLO, SYS_GPS, SYS_IRN, SYS_QZS, SYS_SBS, time2gpst(), timeget(), trace(), and utc2gpst().
Referenced by input_rtcm3().
|
static |
Definition at line 1918 of file mrtk_rtcm3.c.
References decode_ssr1_head(), getbits(), getbitu(), rtcm, satno(), SSR_VENDOR_RTCM, SYS_CMP, SYS_GAL, SYS_GLO, SYS_GPS, SYS_QZS, SYS_SBS, and trace().
Referenced by decode_rtcm3(), and decode_type4076().
|
static |
Definition at line 1821 of file mrtk_rtcm3.c.
References decode_ssr_epoch(), getbitu(), rtcm, ssrudint, SYS_GLO, SYS_QZS, time2str(), and trace().
Referenced by decode_ssr1(), and decode_ssr4().
|
static |
Definition at line 2022 of file mrtk_rtcm3.c.
References decode_ssr2_head(), getbits(), getbitu(), rtcm, satno(), SSR_VENDOR_RTCM, SYS_CMP, SYS_GAL, SYS_GLO, SYS_GPS, SYS_QZS, SYS_SBS, and trace().
Referenced by decode_rtcm3(), and decode_type4076().
|
static |
Definition at line 1874 of file mrtk_rtcm3.c.
References decode_ssr_epoch(), getbitu(), rtcm, ssrudint, SYS_GLO, SYS_QZS, time2str(), and trace().
Referenced by decode_ssr2(), decode_ssr3(), decode_ssr5(), and decode_ssr6().
|
static |
Definition at line 2095 of file mrtk_rtcm3.c.
References decode_ssr2_head(), getbits(), getbitu(), MAXCODE, rtcm, satno(), ssr_sig_cmp, ssr_sig_gal, ssr_sig_glo, ssr_sig_gps, ssr_sig_qzs, ssr_sig_sbs, SSR_VENDOR_RTCM, SYS_CMP, SYS_GAL, SYS_GLO, SYS_GPS, SYS_QZS, SYS_SBS, and trace().
Referenced by decode_rtcm3(), and decode_type4076().
|
static |
Definition at line 2189 of file mrtk_rtcm3.c.
References decode_ssr1_head(), getbits(), getbitu(), rtcm, satno(), SSR_VENDOR_RTCM, SYS_CMP, SYS_GAL, SYS_GLO, SYS_GPS, SYS_QZS, SYS_SBS, and trace().
Referenced by decode_rtcm3(), and decode_type4076().
|
static |
Definition at line 2298 of file mrtk_rtcm3.c.
References decode_ssr2_head(), getbitu(), rtcm, satno(), SSR_VENDOR_RTCM, SYS_CMP, SYS_GAL, SYS_GLO, SYS_GPS, SYS_QZS, SYS_SBS, and trace().
Referenced by decode_rtcm3(), and decode_type4076().
|
static |
Definition at line 2364 of file mrtk_rtcm3.c.
References decode_ssr2_head(), getbits(), getbitu(), rtcm, satno(), SSR_VENDOR_RTCM, SYS_CMP, SYS_GAL, SYS_GLO, SYS_GPS, SYS_QZS, SYS_SBS, and trace().
Referenced by decode_rtcm3(), and decode_type4076().
|
static |
Definition at line 2479 of file mrtk_rtcm3.c.
References decode_ssr7_head(), getbits(), getbitu(), MAXCODE, rtcm, satno(), ssr_sig_cmp, ssr_sig_gal, ssr_sig_glo, ssr_sig_gps, ssr_sig_qzs, SSR_VENDOR_RTCM, SYS_CMP, SYS_GAL, SYS_GLO, SYS_GPS, SYS_QZS, SYS_SBS, and trace().
Referenced by decode_rtcm3(), and decode_type4076().
|
static |
Definition at line 2430 of file mrtk_rtcm3.c.
References decode_ssr_epoch(), getbitu(), rtcm, ssrudint, SYS_GLO, SYS_QZS, time2str(), and trace().
Referenced by decode_ssr7().
|
static |
Definition at line 1797 of file mrtk_rtcm3.c.
References adjday_glot(), adjweek(), getbitu(), rtcm, and SYS_GLO.
Referenced by decode_ssr1_head(), decode_ssr2_head(), and decode_ssr7_head().
|
static |
Definition at line 331 of file mrtk_rtcm3.c.
References decode_head1001(), and rtcm.
Referenced by decode_rtcm3().
|
static |
Definition at line 340 of file mrtk_rtcm3.c.
References adjcp(), CLIGHT, CODE_L1C, CODE_L1P, decode_head1001(), FREQ1, getbits(), getbitu(), lossoflock(), MAXOBS, obsindex(), PRUNIT_GPS, rtcm, satno(), snratio(), SYS_GPS, SYS_SBS, timediff(), and trace().
Referenced by decode_rtcm3().
|
static |
Definition at line 394 of file mrtk_rtcm3.c.
References decode_head1001(), and rtcm.
Referenced by decode_rtcm3().
|
static |
Definition at line 403 of file mrtk_rtcm3.c.
References adjcp(), CLIGHT, CODE_L1C, CODE_L1P, CODE_L2D, CODE_L2P, CODE_L2W, CODE_L2X, decode_head1001(), FREQ1, FREQ2, getbits(), getbitu(), lossoflock(), MAXOBS, obsindex(), PRUNIT_GPS, rtcm, satno(), snratio(), SYS_GPS, SYS_SBS, timediff(), and trace().
Referenced by decode_rtcm3().
|
static |
Definition at line 485 of file mrtk_rtcm3.c.
References ecef2pos(), getbits_38(), getbitu(), R2D, rtcm, test_staid(), and trace().
Referenced by decode_rtcm3().
|
static |
Definition at line 528 of file mrtk_rtcm3.c.
References ecef2pos(), getbits_38(), getbitu(), R2D, rtcm, test_staid(), and trace().
Referenced by decode_rtcm3().
|
static |
Definition at line 574 of file mrtk_rtcm3.c.
References getbitu(), rtcm, test_staid(), and trace().
Referenced by decode_rtcm3().
|
static |
Definition at line 610 of file mrtk_rtcm3.c.
References getbitu(), rtcm, test_staid(), and trace().
Referenced by decode_rtcm3().
|
static |
Definition at line 690 of file mrtk_rtcm3.c.
References decode_head1009(), and rtcm.
Referenced by decode_rtcm3().
|
static |
Definition at line 699 of file mrtk_rtcm3.c.
References adjcp(), CLIGHT, code2freq(), CODE_L1C, CODE_L1P, decode_head1009(), getbits(), getbitu(), lossoflock(), MAXOBS, obsindex(), PRUNIT_GLO, rtcm, satno(), snratio(), SYS_GLO, timediff(), and trace().
Referenced by decode_rtcm3().
|
static |
Definition at line 753 of file mrtk_rtcm3.c.
References decode_head1009(), and rtcm.
Referenced by decode_rtcm3().
|
static |
Definition at line 762 of file mrtk_rtcm3.c.
References adjcp(), CLIGHT, code2freq(), CODE_L1C, CODE_L1P, CODE_L2C, CODE_L2P, decode_head1009(), getbits(), getbitu(), lossoflock(), MAXOBS, obsindex(), PRUNIT_GLO, rtcm, satno(), snratio(), SYS_GLO, timediff(), and trace().
Referenced by decode_rtcm3().
|
static |
Definition at line 840 of file mrtk_rtcm3.c.
References rtcm.
Referenced by decode_rtcm3().
|
static |
Definition at line 842 of file mrtk_rtcm3.c.
References eph_t::A, adjgpsweek(), eph_t::cic, eph_t::cis, eph_t::code, eph_t::crc, eph_t::crs, eph_t::cuc, eph_t::cus, eph_t::deln, eph_t::e, eph_t::f0, eph_t::f1, eph_t::f2, eph_t::fit, eph_t::flag, getbits(), getbitu(), gpst2time(), eph_t::i0, eph_t::idot, eph_t::iodc, eph_t::iode, eph_t::M0, eph_t::omg, eph_t::OMG0, eph_t::OMGd, P2_19, P2_29, P2_31, P2_33, P2_43, P2_5, P2_55, rtcm, eph_t::sat, satno(), SC2RAD, eph_t::sva, eph_t::svh, SYS_GPS, SYS_SBS, eph_t::tgd, timediff(), timeget(), eph_t::toc, eph_t::toe, eph_t::toes, trace(), eph_t::ttr, eph_t::type, utc2gpst(), and eph_t::week.
Referenced by decode_rtcm3().
|
static |
Definition at line 954 of file mrtk_rtcm3.c.
References geph_t::acc, geph_t::age, geph_t::dtaun, geph_t::flags, geph_t::frq, geph_t::gamn, getbitg(), getbitu(), gpst2time(), gpst2utc(), geph_t::iode, P2_11, P2_20, P2_30, P2_40, geph_t::pos, rtcm, geph_t::sat, satno(), geph_t::sva, geph_t::svh, SYS_GLO, geph_t::taun, time2gpst(), timediff(), timeget(), geph_t::toe, geph_t::tof, trace(), utc2gpst(), and geph_t::vel.
Referenced by decode_rtcm3().
|
static |
Definition at line 1070 of file mrtk_rtcm3.c.
Referenced by decode_rtcm3().
|
static |
Definition at line 1075 of file mrtk_rtcm3.c.
Referenced by decode_rtcm3().
|
static |
Definition at line 1080 of file mrtk_rtcm3.c.
Referenced by decode_rtcm3().
|
static |
Definition at line 1085 of file mrtk_rtcm3.c.
Referenced by decode_rtcm3().
|
static |
Definition at line 1090 of file mrtk_rtcm3.c.
Referenced by decode_rtcm3().
|
static |
Definition at line 1095 of file mrtk_rtcm3.c.
Referenced by decode_rtcm3().
|
static |
Definition at line 1100 of file mrtk_rtcm3.c.
Referenced by decode_rtcm3().
|
static |
Definition at line 1105 of file mrtk_rtcm3.c.
References getbitu(), rtcm, and trace().
Referenced by decode_rtcm3().
|
static |
Definition at line 1141 of file mrtk_rtcm3.c.
Referenced by decode_rtcm3().
|
static |
Definition at line 1146 of file mrtk_rtcm3.c.
Referenced by decode_rtcm3().
|
static |
Definition at line 1151 of file mrtk_rtcm3.c.
Referenced by decode_rtcm3().
|
static |
Definition at line 1156 of file mrtk_rtcm3.c.
References getbitu(), rtcm, test_staid(), and trace().
Referenced by decode_rtcm3().
|
static |
Definition at line 1225 of file mrtk_rtcm3.c.
Referenced by decode_rtcm3().
|
static |
Definition at line 1230 of file mrtk_rtcm3.c.
Referenced by decode_rtcm3().
|
static |
Definition at line 1235 of file mrtk_rtcm3.c.
Referenced by decode_rtcm3().
|
static |
Definition at line 1240 of file mrtk_rtcm3.c.
Referenced by decode_rtcm3().
|
static |
Definition at line 1245 of file mrtk_rtcm3.c.
Referenced by decode_rtcm3().
|
static |
Definition at line 1250 of file mrtk_rtcm3.c.
References eph_t::A, adjgpsweek(), eph_t::cic, eph_t::cis, eph_t::crc, eph_t::crs, eph_t::cuc, eph_t::cus, eph_t::deln, eph_t::e, eph_t::f0, eph_t::f1, eph_t::f2, getbits(), getbitu(), gpst2time(), eph_t::i0, eph_t::idot, eph_t::iodc, eph_t::iode, eph_t::M0, eph_t::omg, eph_t::OMG0, eph_t::OMGd, P2_19, P2_28, P2_31, P2_33, P2_41, P2_43, P2_55, rtcm, eph_t::sat, satno(), SC2RAD, eph_t::sva, eph_t::svh, SYS_IRN, eph_t::tgd, timediff(), timeget(), eph_t::toc, eph_t::toe, eph_t::toes, trace(), eph_t::ttr, eph_t::type, utc2gpst(), and eph_t::week.
Referenced by decode_rtcm3().
|
static |
Definition at line 1691 of file mrtk_rtcm3.c.
References eph_t::A, adjbdtweek(), bdt2gpst(), bdt2time(), eph_t::cic, eph_t::cis, eph_t::crc, eph_t::crs, eph_t::cuc, eph_t::cus, eph_t::deln, eph_t::e, eph_t::f0, eph_t::f1, eph_t::f2, getbits(), getbitu(), eph_t::i0, eph_t::idot, eph_t::iodc, eph_t::iode, eph_t::M0, eph_t::omg, eph_t::OMG0, eph_t::OMGd, P2_19, P2_31, P2_33, P2_43, P2_50, P2_6, P2_66, rtcm, eph_t::sat, satno(), SC2RAD, eph_t::sva, eph_t::svh, SYS_CMP, eph_t::tgd, timediff(), timeget(), eph_t::toc, eph_t::toe, eph_t::toes, trace(), eph_t::ttr, eph_t::type, utc2gpst(), and eph_t::week.
Referenced by decode_rtcm3().
|
static |
Definition at line 1351 of file mrtk_rtcm3.c.
References eph_t::A, adjgpsweek(), eph_t::cic, eph_t::cis, eph_t::code, eph_t::crc, eph_t::crs, eph_t::cuc, eph_t::cus, eph_t::deln, eph_t::e, eph_t::f0, eph_t::f1, eph_t::f2, eph_t::fit, eph_t::flag, getbits(), getbitu(), gpst2time(), eph_t::i0, eph_t::idot, eph_t::iodc, eph_t::iode, eph_t::M0, eph_t::omg, eph_t::OMG0, eph_t::OMGd, P2_19, P2_29, P2_31, P2_33, P2_43, P2_5, P2_55, rtcm, eph_t::sat, satno(), SC2RAD, eph_t::sva, eph_t::svh, SYS_QZS, eph_t::tgd, timediff(), timeget(), eph_t::toc, eph_t::toe, eph_t::toes, trace(), eph_t::ttr, eph_t::type, utc2gpst(), and eph_t::week.
Referenced by decode_rtcm3().
|
static |
Definition at line 1458 of file mrtk_rtcm3.c.
References eph_t::A, eph_t::cic, eph_t::cis, eph_t::code, eph_t::crc, eph_t::crs, eph_t::cuc, eph_t::cus, eph_t::deln, eph_t::e, eph_t::f0, eph_t::f1, eph_t::f2, getbits(), getbitu(), gpst2time(), eph_t::i0, eph_t::idot, eph_t::iodc, eph_t::iode, eph_t::M0, MAXSAT, eph_t::omg, eph_t::OMG0, eph_t::OMGd, P2_19, P2_29, P2_31, P2_32, P2_33, P2_34, P2_43, P2_46, P2_5, P2_59, rtcm, eph_t::sat, satno(), SC2RAD, eph_t::sva, eph_t::svh, SYS_GAL, eph_t::tgd, timediff(), timeget(), eph_t::toc, eph_t::toe, eph_t::toes, trace(), eph_t::ttr, eph_t::type, utc2gpst(), and eph_t::week.
Referenced by decode_rtcm3().
|
static |
Definition at line 1572 of file mrtk_rtcm3.c.
References eph_t::A, eph_t::cic, eph_t::cis, eph_t::code, eph_t::crc, eph_t::crs, eph_t::cuc, eph_t::cus, eph_t::deln, eph_t::e, eph_t::f0, eph_t::f1, eph_t::f2, getbits(), getbitu(), gpst2time(), eph_t::i0, eph_t::idot, eph_t::iodc, eph_t::iode, eph_t::M0, eph_t::omg, eph_t::OMG0, eph_t::OMGd, P2_19, P2_29, P2_31, P2_32, P2_33, P2_34, P2_43, P2_46, P2_5, P2_59, rtcm, eph_t::sat, satno(), SC2RAD, eph_t::sva, eph_t::svh, SYS_GAL, eph_t::tgd, timediff(), timeget(), eph_t::toc, eph_t::toe, eph_t::toes, trace(), eph_t::ttr, eph_t::type, utc2gpst(), and eph_t::week.
Referenced by decode_rtcm3().
|
static |
Definition at line 3208 of file mrtk_rtcm3.c.
References getbits(), getbitu(), rtcm, test_staid(), and trace().
Referenced by decode_rtcm3().
|
static |
Definition at line 3366 of file mrtk_rtcm3.c.
References decode_qzss_l6emsg(), getbits(), getbitu(), rtcm, and trace().
Referenced by decode_rtcm3().
|
static |
Definition at line 3247 of file mrtk_rtcm3.c.
References getbitu(), rtcm, and trace().
Referenced by decode_rtcm3().
|
static |
Definition at line 3260 of file mrtk_rtcm3.c.
References decode_ssr1(), decode_ssr2(), decode_ssr3(), decode_ssr4(), decode_ssr5(), decode_ssr6(), decode_ssr7(), getbitu(), rtcm, SYS_CMP, SYS_GAL, SYS_GLO, SYS_GPS, SYS_QZS, SYS_SBS, and trace().
Referenced by decode_rtcm3().
|
static |
Definition at line 174 of file mrtk_rtcm3.c.
References getbitu().
Referenced by decode_type1020().
|
static |
Definition at line 481 of file mrtk_rtcm3.c.
References getbits(), and getbitu().
Referenced by decode_type1005(), and decode_type1006().
|
static |
Definition at line 238 of file mrtk_rtcm3.c.
References rtcm.
Referenced by decode_type1002(), decode_type1004(), decode_type1010(), decode_type1012(), and save_msm_obs().
Definition at line 246 of file mrtk_rtcm3.c.
References obsd_t::code, obsd_t::D, obs_t::data, obsd_t::L, obsd_t::LLI, MAXOBS, obs_t::n, obsd_t::P, obsd_t::sat, obsd_t::SNR, and obsd_t::time.
Referenced by decode_type1002(), decode_type1004(), decode_type1010(), decode_type1012(), and save_msm_obs().
|
static |
Definition at line 2631 of file mrtk_rtcm3.c.
References msm_h_t::cellmask, CLIGHT, code2freq(), code2freq_idx(), CODE_NONE, getbitu(), lossoflock(), MINPRNQZS, MINPRNSBS, msm_sig_cmp, msm_sig_gal, msm_sig_glo, msm_sig_gps, msm_sig_irn, msm_sig_qzs, msm_sig_sbs, msm_h_t::nsat, msm_h_t::nsig, obs2code(), obsindex(), rtcm, satno(), msm_h_t::sats, sigindex(), msm_h_t::sigs, SNR_UNIT, SYS_CMP, SYS_GAL, SYS_GLO, SYS_GPS, SYS_IRN, SYS_QZS, SYS_SBS, timediff(), and trace().
Referenced by decode_msm4(), decode_msm5(), decode_msm6(), and decode_msm7().
|
static |
Definition at line 2588 of file mrtk_rtcm3.c.
References getcodepri(), and trace().
Referenced by save_msm_obs().
|
static |
Definition at line 244 of file mrtk_rtcm3.c.
References SNR_UNIT.
Referenced by decode_type1002(), decode_type1004(), decode_type1010(), and decode_type1012().
|
static |
Definition at line 270 of file mrtk_rtcm3.c.
References getbitu(), rtcm, and trace().
Referenced by decode_head1001(), decode_head1009(), decode_msm_head(), decode_type1005(), decode_type1006(), decode_type1007(), decode_type1008(), decode_type1033(), and decode_type1230().
|
static |
Definition at line 53 of file mrtk_rtcm3.c.
|
static |
Definition at line 71 of file mrtk_rtcm3.c.
|
static |
Definition at line 62 of file mrtk_rtcm3.c.
|
static |
Definition at line 64 of file mrtk_rtcm3.c.
|
static |
Definition at line 54 of file mrtk_rtcm3.c.
|
static |
Definition at line 68 of file mrtk_rtcm3.c.
|
static |
Definition at line 61 of file mrtk_rtcm3.c.
|
static |
Definition at line 66 of file mrtk_rtcm3.c.
|
static |
Definition at line 55 of file mrtk_rtcm3.c.
|
static |
Definition at line 69 of file mrtk_rtcm3.c.
|
static |
Definition at line 63 of file mrtk_rtcm3.c.
|
static |
Definition at line 67 of file mrtk_rtcm3.c.
|
static |
Definition at line 70 of file mrtk_rtcm3.c.
|
static |
Definition at line 65 of file mrtk_rtcm3.c.
|
static |
Definition at line 56 of file mrtk_rtcm3.c.
|
static |
Definition at line 57 of file mrtk_rtcm3.c.
|
static |
Definition at line 58 of file mrtk_rtcm3.c.
|
static |
Definition at line 59 of file mrtk_rtcm3.c.
|
static |
Definition at line 60 of file mrtk_rtcm3.c.
| const char* msm_sig_cmp[32] |
Definition at line 149 of file mrtk_rtcm3.c.
Referenced by save_msm_obs(), and to_sigid().
| const char* msm_sig_gal[32] |
Definition at line 137 of file mrtk_rtcm3.c.
Referenced by save_msm_obs(), and to_sigid().
| const char* msm_sig_glo[32] |
Definition at line 133 of file mrtk_rtcm3.c.
Referenced by save_msm_obs(), and to_sigid().
| const char* msm_sig_gps[32] |
Definition at line 127 of file mrtk_rtcm3.c.
Referenced by save_msm_obs(), and to_sigid().
| const char* msm_sig_irn[32] |
Definition at line 153 of file mrtk_rtcm3.c.
Referenced by save_msm_obs(), and to_sigid().
| const char* msm_sig_qzs[32] |
Definition at line 141 of file mrtk_rtcm3.c.
Referenced by save_msm_obs(), and to_sigid().
| const char* msm_sig_sbs[32] |
Definition at line 145 of file mrtk_rtcm3.c.
Referenced by save_msm_obs(), and to_sigid().
|
static |
Definition at line 72 of file mrtk_rtcm3.c.
|
static |
Definition at line 74 of file mrtk_rtcm3.c.
|
static |
Definition at line 73 of file mrtk_rtcm3.c.
| const uint8_t ssr_sig_cmp[32] |
Definition at line 168 of file mrtk_rtcm3.c.
Referenced by decode_ssr3(), decode_ssr7(), encode_ssr3(), and encode_ssr7().
| const uint8_t ssr_sig_gal[32] |
Definition at line 163 of file mrtk_rtcm3.c.
Referenced by decode_ssr3(), decode_ssr7(), encode_ssr3(), and encode_ssr7().
| const uint8_t ssr_sig_glo[32] |
Definition at line 161 of file mrtk_rtcm3.c.
Referenced by decode_ssr3(), decode_ssr7(), encode_ssr3(), and encode_ssr7().
| const uint8_t ssr_sig_gps[32] |
Definition at line 158 of file mrtk_rtcm3.c.
Referenced by decode_ssr3(), decode_ssr7(), encode_ssr3(), and encode_ssr7().
| const uint8_t ssr_sig_qzs[32] |
Definition at line 166 of file mrtk_rtcm3.c.
Referenced by decode_ssr3(), decode_ssr7(), encode_ssr3(), and encode_ssr7().
Definition at line 170 of file mrtk_rtcm3.c.
Referenced by decode_ssr3(), encode_ssr3(), and encode_ssr7().
|
static |
Definition at line 172 of file mrtk_rtcm3.c.