|
MRTKLIB 0.7.14
Modernized GNSS Positioning Library
|
#include <math.h>#include <stdlib.h>#include <string.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.
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 | PRUNIT_GPS 299792.458 /* rtcm 3 unit of gps pseudorange (m) */ |
| #define | PRUNIT_GLO 599584.916 /* rtcm 3 unit of glo 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 |
| #define | ROUND(x) |
| #define | ROUND_U(x) |
| #define | MIN(x, y) |
Functions | |
| static void | setbitg (uint8_t *buff, int pos, int len, int32_t value) |
| static void | set38bits (uint8_t *buff, int pos, double value) |
| static int | locktime (gtime_t time, gtime_t *lltime, uint8_t LLI) |
| static double | locktime_d (gtime_t time, gtime_t *lltime, uint8_t LLI) |
| static int | fcn_glo (int sat, rtcm_t *rtcm) |
| static int | to_lock (int lock) |
| static int | to_msm_lock (double lock) |
| static int | to_msm_lock_ex (double lock) |
| static int | to_code1_gps (uint8_t code) |
| static int | to_code2_gps (uint8_t code) |
| static int | to_code1_glo (uint8_t code) |
| static int | to_code2_glo (uint8_t code) |
| static double | cp_pr (double cp, double pr_cyc) |
| static void | gen_obs_gps (rtcm_t *rtcm, const obsd_t *data, int *code1, int *pr1, int *ppr1, int *lock1, int *amb, int *cnr1, int *code2, int *pr21, int *ppr2, int *lock2, int *cnr2) |
| static void | gen_obs_glo (rtcm_t *rtcm, const obsd_t *data, int fcn, int *code1, int *pr1, int *ppr1, int *lock1, int *amb, int *cnr1, int *code2, int *pr21, int *ppr2, int *lock2, int *cnr2) |
| static int | encode_head (int type, rtcm_t *rtcm, int sys, int sync, int nsat) |
| static int | encode_type1001 (rtcm_t *rtcm, int sync) |
| static int | encode_type1002 (rtcm_t *rtcm, int sync) |
| static int | encode_type1003 (rtcm_t *rtcm, int sync) |
| static int | encode_type1004 (rtcm_t *rtcm, int sync) |
| static int | encode_type1005 (rtcm_t *rtcm, int sync) |
| static int | encode_type1006 (rtcm_t *rtcm, int sync) |
| static int | encode_type1007 (rtcm_t *rtcm, int sync) |
| static int | encode_type1008 (rtcm_t *rtcm, int sync) |
| static int | encode_type1009 (rtcm_t *rtcm, int sync) |
| static int | encode_type1010 (rtcm_t *rtcm, int sync) |
| static int | encode_type1011 (rtcm_t *rtcm, int sync) |
| static int | encode_type1012 (rtcm_t *rtcm, int sync) |
| static int | encode_type1019 (rtcm_t *rtcm, int sync) |
| static int | encode_type1020 (rtcm_t *rtcm, int sync) |
| static int | encode_type1033 (rtcm_t *rtcm, int sync) |
| static int | encode_type1041 (rtcm_t *rtcm, int sync) |
| static int | encode_type1044 (rtcm_t *rtcm, int sync) |
| static int | encode_type1045 (rtcm_t *rtcm, int sync) |
| static int | encode_type1046 (rtcm_t *rtcm, int sync) |
| static int | encode_type1042 (rtcm_t *rtcm, int sync) |
| static int | encode_type63 (rtcm_t *rtcm, int sync) |
| static int | encode_ssr_head (int type, rtcm_t *rtcm, int sys, int subtype, int nsat, int sync, int iod, double udint, int refd, int provid, int solid) |
| static int | encode_ssr1 (rtcm_t *rtcm, int sys, int subtype, int sync) |
| static int | encode_ssr2 (rtcm_t *rtcm, int sys, int subtype, int sync) |
| static int | encode_ssr3 (rtcm_t *rtcm, int sys, int subtype, int sync) |
| static int | encode_ssr4 (rtcm_t *rtcm, int sys, int subtype, int sync) |
| static int | encode_ssr5 (rtcm_t *rtcm, int sys, int subtype, int sync) |
| static int | encode_ssr6 (rtcm_t *rtcm, int sys, int subtype, int sync) |
| static int | encode_ssr7 (rtcm_t *rtcm, int sys, int subtype, int sync) |
| static int | to_satid (int sys, int sat) |
| static int | to_sigid (int sys, uint8_t code) |
| static void | gen_msm_index (rtcm_t *rtcm, int sys, int *nsat, int *nsig, int *ncell, uint8_t *sat_ind, uint8_t *sig_ind, uint8_t *cell_ind) |
| static void | gen_msm_sat (rtcm_t *rtcm, int sys, int nsat, const uint8_t *sat_ind, double *rrng, double *rrate, uint8_t *info) |
| static void | gen_msm_sig (rtcm_t *rtcm, int sys, int nsat, int nsig, int ncell, const uint8_t *sat_ind, const uint8_t *sig_ind, const uint8_t *cell_ind, const double *rrng, const double *rrate, double *psrng, double *phrng, double *rate, double *lock, uint8_t *half, float *cnr) |
| static int | encode_msm_head (int type, rtcm_t *rtcm, int sys, int sync, int *nsat, int *ncell, double *rrng, double *rrate, uint8_t *info, double *psrng, double *phrng, double *rate, double *lock, uint8_t *half, float *cnr) |
| static int | encode_msm_int_rrng (rtcm_t *rtcm, int i, const double *rrng, int nsat) |
| static int | encode_msm_mod_rrng (rtcm_t *rtcm, int i, const double *rrng, int nsat) |
| static int | encode_msm_info (rtcm_t *rtcm, int i, const uint8_t *info, int nsat) |
| static int | encode_msm_rrate (rtcm_t *rtcm, int i, const double *rrate, int nsat) |
| static int | encode_msm_psrng (rtcm_t *rtcm, int i, const double *psrng, int ncell) |
| static int | encode_msm_psrng_ex (rtcm_t *rtcm, int i, const double *psrng, int ncell) |
| static int | encode_msm_phrng (rtcm_t *rtcm, int i, const double *phrng, int ncell) |
| static int | encode_msm_phrng_ex (rtcm_t *rtcm, int i, const double *phrng, int ncell) |
| static int | encode_msm_lock (rtcm_t *rtcm, int i, const double *lock, int ncell) |
| static int | encode_msm_lock_ex (rtcm_t *rtcm, int i, const double *lock, int ncell) |
| static int | encode_msm_half_amb (rtcm_t *rtcm, int i, const uint8_t *half, int ncell) |
| static int | encode_msm_cnr (rtcm_t *rtcm, int i, const float *cnr, int ncell) |
| static int | encode_msm_cnr_ex (rtcm_t *rtcm, int i, const float *cnr, int ncell) |
| static int | encode_msm_rate (rtcm_t *rtcm, int i, const double *rate, int ncell) |
| static int | encode_msm1 (rtcm_t *rtcm, int sys, int sync) |
| static int | encode_msm2 (rtcm_t *rtcm, int sys, int sync) |
| static int | encode_msm3 (rtcm_t *rtcm, int sys, int sync) |
| static int | encode_msm4 (rtcm_t *rtcm, int sys, int sync) |
| static int | encode_msm5 (rtcm_t *rtcm, int sys, int sync) |
| static int | encode_msm6 (rtcm_t *rtcm, int sys, int sync) |
| static int | encode_msm7 (rtcm_t *rtcm, int sys, int sync) |
| static int | encode_type1230 (rtcm_t *rtcm, int sync) |
| static int | encode_type4073 (rtcm_t *rtcm, int subtype, int sync) |
| static int | encode_type4076 (rtcm_t *rtcm, int subtype, int sync) |
| int | encode_rtcm3 (rtcm_t *rtcm, int type, int subtype, int sync) |
| Encode 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 | 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 | D2R = 3.1415926535897932 / 180.0 |
| static const double | SC2RAD = 3.1415926535897932 |
| 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] |
| static const double | ssrudint [16] = {1, 2, 5, 10, 15, 30, 60, 120, 240, 300, 600, 900, 1800, 3600, 7200, 10800} |
| #define MIN | ( | x, | |
| y ) |
Definition at line 88 of file mrtk_rtcm3e.c.
Referenced by encode_type1007(), encode_type1008(), and encode_type1033().
| #define P2_10 0.0009765625 |
Definition at line 65 of file mrtk_rtcm3e.c.
| #define P2_11 4.882812500000000E-04 |
Definition at line 66 of file mrtk_rtcm3e.c.
| #define P2_19 1.907348632812500E-06 |
Definition at line 67 of file mrtk_rtcm3e.c.
| #define P2_20 9.536743164062500E-07 |
Definition at line 68 of file mrtk_rtcm3e.c.
| #define P2_24 5.960464477539063E-08 |
Definition at line 69 of file mrtk_rtcm3e.c.
| #define P2_28 3.725290298461914E-09 |
Definition at line 70 of file mrtk_rtcm3e.c.
| #define P2_29 1.862645149230957E-09 |
Definition at line 71 of file mrtk_rtcm3e.c.
| #define P2_30 9.313225746154785E-10 |
Definition at line 72 of file mrtk_rtcm3e.c.
| #define P2_31 4.656612873077393E-10 |
Definition at line 73 of file mrtk_rtcm3e.c.
| #define P2_32 2.328306436538696E-10 |
Definition at line 74 of file mrtk_rtcm3e.c.
| #define P2_33 1.164153218269348E-10 |
Definition at line 75 of file mrtk_rtcm3e.c.
| #define P2_34 5.820766091346740E-11 |
Definition at line 76 of file mrtk_rtcm3e.c.
| #define P2_40 9.094947017729280E-13 |
Definition at line 77 of file mrtk_rtcm3e.c.
| #define P2_41 4.547473508864641E-13 |
Definition at line 78 of file mrtk_rtcm3e.c.
| #define P2_43 1.136868377216160E-13 |
Definition at line 79 of file mrtk_rtcm3e.c.
| #define P2_46 1.421085471520200E-14 |
Definition at line 80 of file mrtk_rtcm3e.c.
| #define P2_5 0.03125 |
Definition at line 63 of file mrtk_rtcm3e.c.
| #define P2_50 8.881784197001252E-16 |
Definition at line 81 of file mrtk_rtcm3e.c.
| #define P2_55 2.775557561562891E-17 |
Definition at line 82 of file mrtk_rtcm3e.c.
| #define P2_59 1.734723475976810E-18 |
Definition at line 83 of file mrtk_rtcm3e.c.
| #define P2_6 0.015625 |
Definition at line 64 of file mrtk_rtcm3e.c.
| #define P2_66 1.355252715606880E-20 |
Definition at line 84 of file mrtk_rtcm3e.c.
| #define PRUNIT_GLO 599584.916 /* rtcm 3 unit of glo pseudorange (m) */ |
Definition at line 61 of file mrtk_rtcm3e.c.
| #define PRUNIT_GPS 299792.458 /* rtcm 3 unit of gps pseudorange (m) */ |
Definition at line 60 of file mrtk_rtcm3e.c.
Definition at line 62 of file mrtk_rtcm3e.c.
| #define ROUND | ( | x | ) |
Definition at line 86 of file mrtk_rtcm3e.c.
Referenced by encode_head(), encode_msm_cnr(), encode_msm_cnr_ex(), encode_msm_phrng(), encode_msm_phrng_ex(), encode_msm_psrng(), encode_msm_psrng_ex(), encode_msm_rate(), encode_msm_rrate(), encode_ssr1(), encode_ssr2(), encode_ssr3(), encode_ssr4(), encode_ssr6(), encode_ssr7(), encode_ssr_head(), encode_type1006(), encode_type1019(), encode_type1020(), encode_type1041(), encode_type1042(), encode_type1044(), encode_type1045(), encode_type1046(), encode_type1230(), encode_type63(), gen_msm_sat(), gen_msm_sig(), gen_obs_glo(), and gen_obs_gps().
| #define ROUND_U | ( | x | ) |
Definition at line 87 of file mrtk_rtcm3e.c.
Referenced by encode_msm_head(), encode_msm_int_rrng(), encode_msm_mod_rrng(), encode_type1019(), encode_type1041(), encode_type1042(), encode_type1044(), encode_type1045(), encode_type1046(), and encode_type63().
| #define SYS_CMP 0x20 |
Definition at line 35 of file mrtk_rtcm3e.c.
| #define SYS_GAL 0x08 |
Definition at line 33 of file mrtk_rtcm3e.c.
| #define SYS_GLO 0x04 |
Definition at line 32 of file mrtk_rtcm3e.c.
| #define SYS_GPS 0x01 |
Definition at line 30 of file mrtk_rtcm3e.c.
| #define SYS_IRN 0x40 |
Definition at line 36 of file mrtk_rtcm3e.c.
| #define SYS_NONE 0x00 |
Definition at line 29 of file mrtk_rtcm3e.c.
| #define SYS_QZS 0x10 |
Definition at line 34 of file mrtk_rtcm3e.c.
| #define SYS_SBS 0x02 |
Definition at line 31 of file mrtk_rtcm3e.c.
| #define TSYS_CMP 5 |
Definition at line 43 of file mrtk_rtcm3e.c.
| #define TSYS_GAL 3 |
Definition at line 41 of file mrtk_rtcm3e.c.
| #define TSYS_GLO 2 |
Definition at line 40 of file mrtk_rtcm3e.c.
| #define TSYS_GPS 0 |
Definition at line 38 of file mrtk_rtcm3e.c.
| #define TSYS_IRN 6 |
Definition at line 44 of file mrtk_rtcm3e.c.
| #define TSYS_QZS 4 |
Definition at line 42 of file mrtk_rtcm3e.c.
| #define TSYS_UTC 1 |
Definition at line 39 of file mrtk_rtcm3e.c.
|
static |
Definition at line 349 of file mrtk_rtcm3e.c.
Referenced by gen_obs_glo(), and gen_obs_gps().
|
static |
Definition at line 487 of file mrtk_rtcm3e.c.
References gpst2utc(), ROUND, rtcm, setbitu(), SYS_GLO, time2gpst(), timeadd(), and trace().
Referenced by encode_type1001(), encode_type1002(), encode_type1003(), encode_type1004(), encode_type1009(), encode_type1010(), encode_type1011(), and encode_type1012().
|
static |
Definition at line 3295 of file mrtk_rtcm3e.c.
References encode_msm_head(), encode_msm_mod_rrng(), encode_msm_psrng(), rtcm, and trace().
Referenced by encode_rtcm3().
|
static |
Definition at line 3316 of file mrtk_rtcm3e.c.
References encode_msm_half_amb(), encode_msm_head(), encode_msm_lock(), encode_msm_mod_rrng(), encode_msm_phrng(), rtcm, and trace().
Referenced by encode_rtcm3().
|
static |
Definition at line 3340 of file mrtk_rtcm3e.c.
References encode_msm_half_amb(), encode_msm_head(), encode_msm_lock(), encode_msm_mod_rrng(), encode_msm_phrng(), encode_msm_psrng(), rtcm, and trace().
Referenced by encode_rtcm3().
|
static |
Definition at line 3365 of file mrtk_rtcm3e.c.
References encode_msm_cnr(), encode_msm_half_amb(), encode_msm_head(), encode_msm_int_rrng(), encode_msm_lock(), encode_msm_mod_rrng(), encode_msm_phrng(), encode_msm_psrng(), rtcm, and trace().
Referenced by encode_rtcm3().
|
static |
Definition at line 3392 of file mrtk_rtcm3e.c.
References encode_msm_cnr(), encode_msm_half_amb(), encode_msm_head(), encode_msm_info(), encode_msm_int_rrng(), encode_msm_lock(), encode_msm_mod_rrng(), encode_msm_phrng(), encode_msm_psrng(), encode_msm_rate(), encode_msm_rrate(), rtcm, and trace().
Referenced by encode_rtcm3().
|
static |
Definition at line 3422 of file mrtk_rtcm3e.c.
References encode_msm_cnr_ex(), encode_msm_half_amb(), encode_msm_head(), encode_msm_int_rrng(), encode_msm_lock_ex(), encode_msm_mod_rrng(), encode_msm_phrng_ex(), encode_msm_psrng_ex(), rtcm, and trace().
Referenced by encode_rtcm3().
|
static |
Definition at line 3449 of file mrtk_rtcm3e.c.
References encode_msm_cnr_ex(), encode_msm_half_amb(), encode_msm_head(), encode_msm_info(), encode_msm_int_rrng(), encode_msm_lock_ex(), encode_msm_mod_rrng(), encode_msm_phrng_ex(), encode_msm_psrng_ex(), encode_msm_rate(), encode_msm_rrate(), rtcm, and trace().
Referenced by encode_rtcm3().
|
static |
Definition at line 3255 of file mrtk_rtcm3e.c.
References ROUND, rtcm, and setbitu().
Referenced by encode_msm4(), and encode_msm5().
|
static |
Definition at line 3266 of file mrtk_rtcm3e.c.
References ROUND, rtcm, and setbitu().
Referenced by encode_msm6(), and encode_msm7().
|
static |
Definition at line 3245 of file mrtk_rtcm3e.c.
References rtcm, and setbitu().
Referenced by encode_msm2(), encode_msm3(), encode_msm4(), encode_msm5(), encode_msm6(), and encode_msm7().
|
static |
Definition at line 2995 of file mrtk_rtcm3e.c.
References gen_msm_index(), gen_msm_sat(), gen_msm_sig(), gpst2bdt(), gpst2utc(), ROUND_U, rtcm, setbitu(), SYS_CMP, SYS_GAL, SYS_GLO, SYS_GPS, SYS_IRN, SYS_QZS, SYS_SBS, time2gpst(), and timeadd().
Referenced by encode_msm1(), encode_msm2(), encode_msm3(), encode_msm4(), encode_msm5(), encode_msm6(), and encode_msm7().
|
static |
Definition at line 3125 of file mrtk_rtcm3e.c.
References rtcm, and setbitu().
Referenced by encode_msm5(), and encode_msm7().
|
static |
Definition at line 3090 of file mrtk_rtcm3e.c.
References P2_10, RANGE_MS, ROUND_U, rtcm, setbitu(), time_str(), and trace().
Referenced by encode_msm4(), encode_msm5(), encode_msm6(), and encode_msm7().
|
static |
Definition at line 3223 of file mrtk_rtcm3e.c.
References rtcm, setbitu(), and to_msm_lock().
Referenced by encode_msm2(), encode_msm3(), encode_msm4(), and encode_msm5().
|
static |
Definition at line 3234 of file mrtk_rtcm3e.c.
References rtcm, setbitu(), and to_msm_lock_ex().
Referenced by encode_msm6(), and encode_msm7().
|
static |
Definition at line 3109 of file mrtk_rtcm3e.c.
References P2_10, RANGE_MS, ROUND_U, rtcm, and setbitu().
Referenced by encode_msm1(), encode_msm2(), encode_msm3(), encode_msm4(), encode_msm5(), encode_msm6(), and encode_msm7().
|
static |
Definition at line 3187 of file mrtk_rtcm3e.c.
References P2_29, RANGE_MS, ROUND, rtcm, setbits(), time_str(), and trace().
Referenced by encode_msm2(), encode_msm3(), encode_msm4(), and encode_msm5().
|
static |
Definition at line 3205 of file mrtk_rtcm3e.c.
References P2_31, RANGE_MS, ROUND, rtcm, setbits(), time_str(), and trace().
Referenced by encode_msm6(), and encode_msm7().
|
static |
Definition at line 3151 of file mrtk_rtcm3e.c.
References P2_24, RANGE_MS, ROUND, rtcm, setbits(), time_str(), and trace().
Referenced by encode_msm1(), encode_msm3(), encode_msm4(), and encode_msm5().
|
static |
Definition at line 3169 of file mrtk_rtcm3e.c.
References P2_29, RANGE_MS, ROUND, rtcm, setbits(), time_str(), and trace().
Referenced by encode_msm6(), and encode_msm7().
|
static |
Definition at line 3277 of file mrtk_rtcm3e.c.
References ROUND, rtcm, setbitu(), time_str(), and trace().
Referenced by encode_msm5(), and encode_msm7().
|
static |
Definition at line 3135 of file mrtk_rtcm3e.c.
References ROUND, rtcm, setbits(), time_str(), and trace().
Referenced by encode_msm5(), and encode_msm7().
| int encode_rtcm3 | ( | rtcm_t * | rtcm, |
| int | type, | ||
| int | subtype, | ||
| int | sync ) |
Encode RTCM ver.3 message (called from rtcm.c).
| [in,out] | rtcm | RTCM control struct |
| [in] | type | Message type |
| [in] | subtype | Message subtype |
| [in] | sync | Sync flag |
Definition at line 3610 of file mrtk_rtcm3e.c.
References encode_lcliono(), encode_lcltrop(), encode_msm1(), encode_msm2(), encode_msm3(), encode_msm4(), encode_msm5(), encode_msm6(), encode_msm7(), encode_ssr1(), encode_ssr2(), encode_ssr3(), encode_ssr4(), encode_ssr5(), encode_ssr6(), encode_ssr7(), encode_type1001(), encode_type1002(), encode_type1003(), encode_type1004(), encode_type1005(), encode_type1006(), encode_type1007(), encode_type1008(), encode_type1009(), encode_type1010(), encode_type1011(), encode_type1012(), encode_type1019(), encode_type1020(), encode_type1033(), encode_type1041(), encode_type1042(), encode_type1044(), encode_type1045(), encode_type1046(), encode_type1230(), encode_type4073(), encode_type4076(), encode_type63(), rtcm, SYS_CMP, SYS_GAL, SYS_GLO, SYS_GPS, SYS_IRN, SYS_QZS, SYS_SBS, and trace().
Referenced by gen_rtcm3().
|
static |
Definition at line 2109 of file mrtk_rtcm3e.c.
References encode_ssr_head(), MAXSAT, ROUND, rtcm, satsys(), setbits(), setbitu(), SYS_CMP, SYS_GAL, SYS_GLO, SYS_GPS, SYS_QZS, SYS_SBS, and trace().
Referenced by encode_rtcm3(), and encode_type4076().
|
static |
Definition at line 2219 of file mrtk_rtcm3e.c.
References encode_ssr_head(), MAXSAT, ROUND, rtcm, satsys(), setbits(), setbitu(), SYS_CMP, SYS_GAL, SYS_GLO, SYS_GPS, SYS_QZS, SYS_SBS, and trace().
Referenced by encode_rtcm3(), and encode_type4076().
|
static |
Definition at line 2295 of file mrtk_rtcm3e.c.
References encode_ssr_head(), MAXCODE, MAXSAT, ROUND, rtcm, satsys(), setbits(), setbitu(), ssr_sig_cmp, ssr_sig_gal, ssr_sig_glo, ssr_sig_gps, ssr_sig_qzs, ssr_sig_sbs, SYS_CMP, SYS_GAL, SYS_GLO, SYS_GPS, SYS_QZS, SYS_SBS, and trace().
Referenced by encode_rtcm3(), and encode_type4076().
|
static |
Definition at line 2385 of file mrtk_rtcm3e.c.
References encode_ssr_head(), MAXSAT, ROUND, rtcm, satsys(), setbits(), setbitu(), SYS_CMP, SYS_GAL, SYS_GLO, SYS_GPS, SYS_QZS, SYS_SBS, and trace().
Referenced by encode_rtcm3(), and encode_type4076().
|
static |
Definition at line 2505 of file mrtk_rtcm3e.c.
References encode_ssr_head(), MAXSAT, rtcm, satsys(), setbitu(), SYS_CMP, SYS_GAL, SYS_GLO, SYS_GPS, SYS_QZS, SYS_SBS, and trace().
Referenced by encode_rtcm3(), and encode_type4076().
|
static |
Definition at line 2574 of file mrtk_rtcm3e.c.
References encode_ssr_head(), MAXSAT, ROUND, rtcm, satsys(), setbits(), setbitu(), SYS_CMP, SYS_GAL, SYS_GLO, SYS_GPS, SYS_QZS, SYS_SBS, and trace().
Referenced by encode_rtcm3(), and encode_type4076().
|
static |
Definition at line 2644 of file mrtk_rtcm3e.c.
References encode_ssr_head(), MAXCODE, MAXSAT, ROUND, rtcm, satsys(), setbits(), setbitu(), ssr_sig_cmp, ssr_sig_gal, ssr_sig_glo, ssr_sig_gps, ssr_sig_qzs, ssr_sig_sbs, SYS_CMP, SYS_GAL, SYS_GLO, SYS_GPS, SYS_QZS, SYS_SBS, and trace().
Referenced by encode_rtcm3(), and encode_type4076().
|
static |
Definition at line 2011 of file mrtk_rtcm3e.c.
References gpst2utc(), ROUND, rtcm, setbitu(), ssrudint, SYS_CMP, SYS_GAL, SYS_GLO, SYS_GPS, SYS_QZS, SYS_SBS, time2gpst(), timeadd(), and trace().
Referenced by encode_ssr1(), encode_ssr2(), encode_ssr3(), encode_ssr4(), encode_ssr5(), encode_ssr6(), and encode_ssr7().
|
static |
Definition at line 520 of file mrtk_rtcm3e.c.
References encode_head(), gen_obs_gps(), MAXOBS, rtcm, satsys(), setbits(), setbitu(), SYS_GPS, SYS_SBS, and trace().
Referenced by encode_rtcm3().
|
static |
Definition at line 564 of file mrtk_rtcm3e.c.
References encode_head(), gen_obs_gps(), MAXOBS, rtcm, satsys(), setbits(), setbitu(), SYS_GPS, SYS_SBS, and trace().
Referenced by encode_rtcm3().
|
static |
Definition at line 612 of file mrtk_rtcm3e.c.
References encode_head(), gen_obs_gps(), MAXOBS, rtcm, satsys(), setbits(), setbitu(), SYS_GPS, SYS_SBS, and trace().
Referenced by encode_rtcm3().
|
static |
Definition at line 665 of file mrtk_rtcm3e.c.
References encode_head(), gen_obs_gps(), MAXOBS, rtcm, satsys(), setbits(), setbitu(), SYS_GPS, SYS_SBS, and trace().
Referenced by encode_rtcm3().
|
static |
Definition at line 724 of file mrtk_rtcm3e.c.
References rtcm, satsys(), set38bits(), setbitu(), SYS_GAL, SYS_GLO, SYS_GPS, SYS_QZS, and trace().
Referenced by encode_rtcm3().
|
static |
Definition at line 774 of file mrtk_rtcm3e.c.
References ROUND, rtcm, satsys(), set38bits(), setbitu(), SYS_GAL, SYS_GLO, SYS_GPS, SYS_QZS, and trace().
Referenced by encode_rtcm3().
|
static |
Definition at line 830 of file mrtk_rtcm3e.c.
References MIN, rtcm, setbitu(), and trace().
Referenced by encode_rtcm3().
|
static |
Definition at line 854 of file mrtk_rtcm3e.c.
References MIN, rtcm, setbitu(), and trace().
Referenced by encode_rtcm3().
|
static |
Definition at line 887 of file mrtk_rtcm3e.c.
References encode_head(), fcn_glo(), gen_obs_glo(), MAXOBS, rtcm, satsys(), setbits(), setbitu(), and SYS_GLO.
Referenced by encode_rtcm3().
|
static |
Definition at line 934 of file mrtk_rtcm3e.c.
References encode_head(), fcn_glo(), gen_obs_glo(), MAXOBS, rtcm, satsys(), setbits(), setbitu(), SYS_GLO, and trace().
Referenced by encode_rtcm3().
|
static |
Definition at line 987 of file mrtk_rtcm3e.c.
References encode_head(), fcn_glo(), gen_obs_glo(), MAXOBS, rtcm, satsys(), setbits(), setbitu(), SYS_GLO, and trace().
Referenced by encode_rtcm3().
|
static |
Definition at line 1044 of file mrtk_rtcm3e.c.
References encode_head(), fcn_glo(), gen_obs_glo(), MAXOBS, rtcm, satsys(), setbits(), setbitu(), SYS_GLO, and trace().
Referenced by encode_rtcm3().
|
static |
Definition at line 1107 of file mrtk_rtcm3e.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, eph_t::fit, eph_t::flag, 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, ROUND, ROUND_U, rtcm, eph_t::sat, satsys(), SC2RAD, setbits(), setbitu(), eph_t::sva, eph_t::svh, SYS_GPS, eph_t::tgd, time2gpst(), eph_t::toc, eph_t::toes, trace(), and eph_t::week.
Referenced by encode_rtcm3().
|
static |
Definition at line 1211 of file mrtk_rtcm3e.c.
References geph_t::acc, geph_t::age, geph_t::dtaun, epoch2time(), geph_t::flags, geph_t::frq, geph_t::gamn, gpst2utc(), NT, P2_11, P2_20, P2_30, P2_40, geph_t::pos, ROUND, rtcm, geph_t::sat, satsys(), setbitg(), setbitu(), geph_t::sva, geph_t::svh, SYS_GLO, geph_t::taun, time2epoch(), timeadd(), timediff(), geph_t::toe, geph_t::tof, trace(), and geph_t::vel.
Referenced by encode_rtcm3().
|
static |
Definition at line 1349 of file mrtk_rtcm3e.c.
References MIN, rtcm, setbitu(), and trace().
Referenced by encode_rtcm3().
|
static |
Definition at line 1401 of file mrtk_rtcm3e.c.
References eph_t::A, 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, eph_t::i0, eph_t::idot, 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, ROUND, ROUND_U, rtcm, eph_t::sat, satsys(), SC2RAD, setbits(), setbitu(), eph_t::sva, eph_t::svh, SYS_IRN, eph_t::tgd, time2gpst(), eph_t::toc, eph_t::toes, trace(), and eph_t::week.
Referenced by encode_rtcm3().
|
static |
Definition at line 1809 of file mrtk_rtcm3e.c.
References eph_t::A, 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, gpst2bdt(), 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, ROUND, ROUND_U, rtcm, eph_t::sat, satsys(), SC2RAD, setbits(), setbitu(), eph_t::sva, eph_t::svh, SYS_CMP, eph_t::tgd, time2bdt(), eph_t::toc, eph_t::toes, trace(), and eph_t::week.
Referenced by encode_rtcm3().
|
static |
Definition at line 1497 of file mrtk_rtcm3e.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, eph_t::fit, 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, ROUND, ROUND_U, rtcm, eph_t::sat, satsys(), SC2RAD, setbits(), setbitu(), eph_t::sva, eph_t::svh, SYS_QZS, eph_t::tgd, time2gpst(), eph_t::toc, eph_t::toes, trace(), and eph_t::week.
Referenced by encode_rtcm3().
|
static |
Definition at line 1599 of file mrtk_rtcm3e.c.
References eph_t::A, 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, eph_t::i0, eph_t::idot, 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, ROUND, ROUND_U, rtcm, eph_t::sat, satsys(), SC2RAD, setbits(), setbitu(), eph_t::sva, eph_t::svh, SYS_GAL, eph_t::tgd, time2gpst(), eph_t::toc, eph_t::toes, trace(), and eph_t::week.
Referenced by encode_rtcm3().
|
static |
Definition at line 1701 of file mrtk_rtcm3e.c.
References eph_t::A, 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, eph_t::i0, eph_t::idot, 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, ROUND, ROUND_U, rtcm, eph_t::sat, satsys(), SC2RAD, setbits(), setbitu(), eph_t::sva, eph_t::svh, SYS_GAL, eph_t::tgd, time2gpst(), eph_t::toc, eph_t::toes, trace(), and eph_t::week.
Referenced by encode_rtcm3().
|
static |
Definition at line 3479 of file mrtk_rtcm3e.c.
References ROUND, rtcm, setbits(), setbitu(), and trace().
Referenced by encode_rtcm3().
|
static |
Definition at line 3514 of file mrtk_rtcm3e.c.
Referenced by encode_rtcm3().
|
static |
Definition at line 3519 of file mrtk_rtcm3e.c.
References encode_ssr1(), encode_ssr2(), encode_ssr3(), encode_ssr4(), encode_ssr5(), encode_ssr6(), encode_ssr7(), rtcm, SYS_CMP, SYS_GAL, SYS_GLO, SYS_GPS, SYS_QZS, SYS_SBS, and trace().
Referenced by encode_rtcm3().
|
static |
Definition at line 1910 of file mrtk_rtcm3e.c.
References eph_t::A, 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, gpst2bdt(), 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, ROUND, ROUND_U, rtcm, eph_t::sat, satsys(), SC2RAD, setbits(), setbitu(), eph_t::sva, eph_t::svh, SYS_CMP, eph_t::tgd, time2bdt(), eph_t::toc, eph_t::toes, trace(), and eph_t::week.
Referenced by encode_rtcm3().
|
static |
Definition at line 136 of file mrtk_rtcm3e.c.
References rtcm, satsys(), and SYS_GLO.
Referenced by encode_type1009(), encode_type1010(), encode_type1011(), encode_type1012(), gen_msm_sat(), and gen_msm_sig().
|
static |
Definition at line 2829 of file mrtk_rtcm3e.c.
References rtcm, to_satid(), and to_sigid().
Referenced by encode_msm_head().
|
static |
Definition at line 2881 of file mrtk_rtcm3e.c.
References CLIGHT, obsd_t::code, code2freq(), obsd_t::D, fcn_glo(), obsd_t::P, P2_10, RANGE_MS, ROUND, rtcm, obsd_t::sat, SYS_GLO, to_satid(), and to_sigid().
Referenced by encode_msm_head().
|
static |
Definition at line 2921 of file mrtk_rtcm3e.c.
References CLIGHT, obsd_t::code, code2freq(), obsd_t::D, fcn_glo(), obsd_t::L, lambda(), obsd_t::LLI, locktime_d(), obsd_t::P, ROUND, rtcm, obsd_t::sat, obsd_t::SNR, SNR_UNIT, obsd_t::time, to_satid(), and to_sigid().
Referenced by encode_msm_head().
|
static |
Definition at line 418 of file mrtk_rtcm3e.c.
References CLIGHT, obsd_t::code, cp_pr(), DFRQ1_GLO, DFRQ2_GLO, FREQ1_GLO, FREQ2_GLO, obsd_t::L, obsd_t::LLI, locktime(), obsd_t::P, PRUNIT_GLO, ROUND, rtcm, obsd_t::sat, obsd_t::SNR, SNR_UNIT, obsd_t::time, to_code1_glo(), to_code2_glo(), and to_lock().
Referenced by encode_type1009(), encode_type1010(), encode_type1011(), and encode_type1012().
|
static |
Definition at line 351 of file mrtk_rtcm3e.c.
References CLIGHT, obsd_t::code, cp_pr(), FREQ1, FREQ2, obsd_t::L, obsd_t::LLI, locktime(), obsd_t::P, PRUNIT_GPS, ROUND, rtcm, obsd_t::sat, obsd_t::SNR, SNR_UNIT, obsd_t::time, to_code1_gps(), to_code2_gps(), and to_lock().
Referenced by encode_type1001(), encode_type1002(), encode_type1003(), and encode_type1004().
Definition at line 122 of file mrtk_rtcm3e.c.
References gtime_t::time, and timediff().
Referenced by gen_obs_glo(), and gen_obs_gps().
Definition at line 129 of file mrtk_rtcm3e.c.
References gtime_t::time, and timediff().
Referenced by gen_msm_sig().
|
static |
Definition at line 115 of file mrtk_rtcm3e.c.
References setbits(), and setbitu().
Referenced by encode_type1005(), and encode_type1006().
|
static |
Definition at line 110 of file mrtk_rtcm3e.c.
References setbitu().
Referenced by encode_type1020().
|
static |
Definition at line 329 of file mrtk_rtcm3e.c.
References CODE_L1C, and CODE_L1P.
Referenced by gen_obs_glo().
|
static |
Definition at line 297 of file mrtk_rtcm3e.c.
References CODE_L1C, CODE_L1N, CODE_L1P, CODE_L1W, and CODE_L1Y.
Referenced by gen_obs_gps().
|
static |
Definition at line 339 of file mrtk_rtcm3e.c.
References CODE_L2C, and CODE_L2P.
Referenced by gen_obs_glo().
|
static |
|
static |
Definition at line 151 of file mrtk_rtcm3e.c.
Referenced by gen_obs_glo(), and gen_obs_gps().
|
static |
Definition at line 176 of file mrtk_rtcm3e.c.
Referenced by encode_msm_lock().
|
static |
Definition at line 225 of file mrtk_rtcm3e.c.
Referenced by encode_msm_lock_ex().
|
static |
Definition at line 2753 of file mrtk_rtcm3e.c.
References MINPRNQZS, MINPRNSBS, satsys(), SYS_QZS, and SYS_SBS.
Referenced by gen_msm_index(), gen_msm_sat(), and gen_msm_sig().
|
static |
Definition at line 2769 of file mrtk_rtcm3e.c.
References code2obs(), CODE_L1M, CODE_L1N, CODE_L1P, CODE_L1Y, CODE_L2D, CODE_L2M, CODE_L2N, CODE_L2P, CODE_L2Y, msm_sig_cmp, msm_sig_gal, msm_sig_glo, msm_sig_gps, msm_sig_irn, msm_sig_qzs, msm_sig_sbs, SYS_CMP, SYS_GAL, SYS_GLO, SYS_GPS, SYS_IRN, SYS_QZS, and SYS_SBS.
Referenced by gen_msm_index(), gen_msm_sat(), and gen_msm_sig().
|
static |
Definition at line 46 of file mrtk_rtcm3e.c.
|
static |
Definition at line 53 of file mrtk_rtcm3e.c.
|
static |
Definition at line 50 of file mrtk_rtcm3e.c.
|
static |
Definition at line 52 of file mrtk_rtcm3e.c.
|
static |
Definition at line 47 of file mrtk_rtcm3e.c.
|
static |
Definition at line 49 of file mrtk_rtcm3e.c.
|
static |
Definition at line 48 of file mrtk_rtcm3e.c.
|
static |
Definition at line 51 of file mrtk_rtcm3e.c.
|
extern |
Definition at line 149 of file mrtk_rtcm3.c.
Referenced by save_msm_obs(), and to_sigid().
|
extern |
Definition at line 137 of file mrtk_rtcm3.c.
Referenced by save_msm_obs(), and to_sigid().
|
extern |
Definition at line 133 of file mrtk_rtcm3.c.
Referenced by save_msm_obs(), and to_sigid().
|
extern |
Definition at line 127 of file mrtk_rtcm3.c.
Referenced by save_msm_obs(), and to_sigid().
|
extern |
Definition at line 153 of file mrtk_rtcm3.c.
Referenced by save_msm_obs(), and to_sigid().
|
extern |
Definition at line 141 of file mrtk_rtcm3.c.
Referenced by save_msm_obs(), and to_sigid().
|
extern |
Definition at line 145 of file mrtk_rtcm3.c.
Referenced by save_msm_obs(), and to_sigid().
|
static |
Definition at line 54 of file mrtk_rtcm3e.c.
|
extern |
Definition at line 168 of file mrtk_rtcm3.c.
Referenced by decode_ssr3(), decode_ssr7(), encode_ssr3(), and encode_ssr7().
|
extern |
Definition at line 163 of file mrtk_rtcm3.c.
Referenced by decode_ssr3(), decode_ssr7(), encode_ssr3(), and encode_ssr7().
|
extern |
Definition at line 161 of file mrtk_rtcm3.c.
Referenced by decode_ssr3(), decode_ssr7(), encode_ssr3(), and encode_ssr7().
|
extern |
Definition at line 158 of file mrtk_rtcm3.c.
Referenced by decode_ssr3(), decode_ssr7(), encode_ssr3(), and encode_ssr7().
|
extern |
Definition at line 166 of file mrtk_rtcm3.c.
Referenced by decode_ssr3(), decode_ssr7(), encode_ssr3(), and encode_ssr7().
|
extern |
Definition at line 170 of file mrtk_rtcm3.c.
Referenced by decode_ssr3(), encode_ssr3(), and encode_ssr7().
|
static |
Definition at line 108 of file mrtk_rtcm3e.c.