|
MRTKLIB 0.7.14
Modernized GNSS Positioning Library
|
#include <ctype.h>#include <math.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include "mrtklib/mrtk_bits.h"#include "mrtklib/mrtk_eph.h"#include "mrtklib/mrtk_mat.h"#include "mrtklib/mrtk_nav.h"#include "mrtklib/mrtk_obs.h"#include "mrtklib/mrtk_rcvraw.h"#include "mrtklib/mrtk_rtcm.h"#include "mrtklib/mrtk_sys.h"#include "mrtklib/mrtk_time.h"#include "mrtklib/mrtk_trace.h"Go to the source code of this file.
Macros | |
| #define | PI 3.1415926535897932 /* pi */ |
| #define | D2R (PI / 180.0) /* deg to rad */ |
| #define | R2D (180.0 / PI) /* rad to deg */ |
| #define | CLIGHT 299792458.0 /* speed of light (m/s) */ |
| #define | SC2RAD 3.1415926535898 /* semi-circle to radian (IS-GPS) */ |
| #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 | FREQ1 1.57542E9 /* L1/E1/B1C frequency (Hz) */ |
| #define | FREQ2 1.22760E9 /* L2 frequency (Hz) */ |
| #define | FREQ5 1.17645E9 /* L5/E5a/B2a frequency (Hz) */ |
| #define | FREQ6 1.27875E9 /* E6/L6 frequency (Hz) */ |
| #define | FREQ7 1.20714E9 /* E5b/B2I frequency (Hz) */ |
| #define | FREQ8 1.191795E9 /* E5ab/B2ab frequency (Hz) */ |
| #define | FREQ9 2.492028E9 /* S frequency (Hz) */ |
| #define | FREQ1_GLO 1.60200E9 /* GLONASS G1 base frequency (Hz) */ |
| #define | DFRQ1_GLO 0.56250E6 /* GLONASS G1 bias frequency (Hz/n) */ |
| #define | FREQ2_GLO 1.24600E9 /* GLONASS G2 base frequency (Hz) */ |
| #define | DFRQ2_GLO 0.43750E6 /* GLONASS G2 bias frequency (Hz/n) */ |
| #define | FREQ3_GLO 1.202025E9 /* GLONASS G3 frequency (Hz) */ |
| #define | FREQ1a_GLO 1.600995E9 /* GLONASS G1a frequency (Hz) */ |
| #define | FREQ2a_GLO 1.248060E9 /* GLONASS G2a frequency (Hz) */ |
| #define | FREQ1_CMP 1.561098E9 /* BDS B1I frequency (Hz) */ |
| #define | MINPRNGPS 1 |
| #define | MAXPRNGPS 32 |
| #define | MINPRNSBS 120 |
| #define | MAXPRNSBS 158 |
| #define | P2_5 0.03125 |
| #define | P2_6 0.015625 |
| #define | P2_11 4.882812500000000E-04 |
| #define | P2_15 3.051757812500000E-05 |
| #define | P2_17 7.629394531250000E-06 |
| #define | P2_19 1.907348632812500E-06 |
| #define | P2_20 9.536743164062500E-07 |
| #define | P2_21 4.768371582031250E-07 |
| #define | P2_23 1.192092895507810E-07 |
| #define | P2_24 5.960464477539063E-08 |
| #define | P2_27 7.450580596923828E-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_35 2.910383045673370E-11 |
| #define | P2_38 3.637978807091710E-12 |
| #define | P2_40 9.094947017729280E-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 | PREAMB_CNAV 0x8B |
| #define | ISTXT(c) |
| #define | ISHEX(c) |
| #define | ROT_LEFT(val) |
| #define | U1(p) |
| #define | I1(p) |
Functions | |
| static uint16_t | U2 (uint8_t *p) |
| static uint32_t | U4 (uint8_t *p) |
| static int16_t | I2 (uint8_t *p) |
| static int32_t | I4 (uint8_t *p) |
| static float | R4 (uint8_t *p) |
| static double | R8 (uint8_t *p) |
| static int | decodelen (const uint8_t *buff) |
| static int | is_meas (char sig) |
| static int | sig2idx (int sys, char sig, int *code) |
| static int | checkpri (int sys, int code, const char *opt, int idx) |
| static int | checksum (uint8_t *buff, int len) |
| static gtime_t | adjweek (gtime_t time, double tow) |
| static gtime_t | adjday (gtime_t time, double tod) |
| static int | settag (obsd_t *data, gtime_t time) |
| static int | flushobuf (raw_t *raw) |
| static int | decode_RT (raw_t *raw) |
| static int | decode_ET (raw_t *raw) |
| static int | decode_RD (raw_t *raw) |
| static int | decode_SI (raw_t *raw) |
| static int | decode_NN (raw_t *raw) |
| static int | decode_GA (raw_t *raw) |
| static int | decode_NA (raw_t *raw) |
| static int | decode_EA (raw_t *raw) |
| static int | decode_WA (raw_t *raw) |
| static int | decode_QA (raw_t *raw) |
| static int | decode_CA (raw_t *raw) |
| static int | decode_IA (raw_t *raw) |
| static int | decode_eph (raw_t *raw, int sys) |
| static int | decode_GE (raw_t *raw) |
| static int | decode_NE (raw_t *raw) |
| static int | decode_EN (raw_t *raw) |
| static int | decode_WE (raw_t *raw) |
| static int | decode_QE (raw_t *raw) |
| static int | decode_CN (raw_t *raw) |
| static int | decode_IE (raw_t *raw) |
| static int | decode_UO (raw_t *raw) |
| static int | decode_NU (raw_t *raw) |
| static int | decode_EU (raw_t *raw) |
| static int | decode_WU (raw_t *raw) |
| static int | decode_QU (raw_t *raw) |
| static int | decode_IO (raw_t *raw) |
| static int | decode_L1eph (int sat, raw_t *raw) |
| static void | adj_utcweek (gtime_t time, double *utc) |
| static int | decode_L1ionutc (int sat, raw_t *raw) |
| static int | decode_L1nav (uint8_t *buff, int len, int sat, raw_t *raw) |
| static int | decode_L2nav (uint8_t *buff, int len, int sat, raw_t *raw) |
| static int | decode_L5nav (uint8_t *buff, int len, int sat, raw_t *raw) |
| static int | decode_L1Cnav (uint8_t *buff, int len, int sat, raw_t *raw) |
| static int | decode_nD (raw_t *raw, int sys) |
| static int | decode_nd (raw_t *raw, int sys) |
| static int | decode_LD (raw_t *raw) |
| static int | decode_lD (raw_t *raw) |
| static int | decode_ED (raw_t *raw) |
| static int | decode_cd (raw_t *raw) |
| static int | decode_id (raw_t *raw) |
| static int | decode_WD (raw_t *raw) |
| static int | decode_Rx (raw_t *raw, char sig) |
| static int | decode_rx (raw_t *raw, char sig) |
| static int | decode_xR (raw_t *raw, char sig) |
| static int | decode_xr (raw_t *raw, char sig) |
| static int | decode_Px (raw_t *raw, char sig) |
| static int | decode_px (raw_t *raw, char sig) |
| static int | decode_xP (raw_t *raw, char sig) |
| static int | decode_xp (raw_t *raw, char sig) |
| static int | decode_Dx (raw_t *raw, char sig) |
| static int | decode_xd (raw_t *raw, char sig) |
| static int | decode_Ex (raw_t *raw, char sig) |
| static int | decode_xE (raw_t *raw, char sig) |
| static int | decode_Fx (raw_t *raw, char sig) |
| static int | decode_TC (raw_t *raw) |
| static int | decode_javad (raw_t *raw) |
| static int | sync_javad (uint8_t *buff, uint8_t data) |
| static void | clearbuff (raw_t *raw) |
| int | input_javad (raw_t *raw, uint8_t data) |
| static void | startfile (raw_t *raw) |
| static int | endfile (raw_t *raw) |
| int | input_javadf (raw_t *raw, FILE *fp) |
| #define CLIGHT 299792458.0 /* speed of light (m/s) */ |
Definition at line 37 of file mrtk_rcv_javad.c.
| #define D2R (PI / 180.0) /* deg to rad */ |
Definition at line 35 of file mrtk_rcv_javad.c.
| #define DFRQ1_GLO 0.56250E6 /* GLONASS G1 bias frequency (Hz/n) */ |
Definition at line 65 of file mrtk_rcv_javad.c.
| #define DFRQ2_GLO 0.43750E6 /* GLONASS G2 bias frequency (Hz/n) */ |
Definition at line 67 of file mrtk_rcv_javad.c.
| #define FREQ1 1.57542E9 /* L1/E1/B1C frequency (Hz) */ |
Definition at line 57 of file mrtk_rcv_javad.c.
| #define FREQ1_CMP 1.561098E9 /* BDS B1I frequency (Hz) */ |
Definition at line 71 of file mrtk_rcv_javad.c.
| #define FREQ1_GLO 1.60200E9 /* GLONASS G1 base frequency (Hz) */ |
Definition at line 64 of file mrtk_rcv_javad.c.
| #define FREQ1a_GLO 1.600995E9 /* GLONASS G1a frequency (Hz) */ |
Definition at line 69 of file mrtk_rcv_javad.c.
| #define FREQ2 1.22760E9 /* L2 frequency (Hz) */ |
Definition at line 58 of file mrtk_rcv_javad.c.
| #define FREQ2_GLO 1.24600E9 /* GLONASS G2 base frequency (Hz) */ |
Definition at line 66 of file mrtk_rcv_javad.c.
| #define FREQ2a_GLO 1.248060E9 /* GLONASS G2a frequency (Hz) */ |
Definition at line 70 of file mrtk_rcv_javad.c.
| #define FREQ3_GLO 1.202025E9 /* GLONASS G3 frequency (Hz) */ |
Definition at line 68 of file mrtk_rcv_javad.c.
| #define FREQ5 1.17645E9 /* L5/E5a/B2a frequency (Hz) */ |
Definition at line 59 of file mrtk_rcv_javad.c.
| #define FREQ6 1.27875E9 /* E6/L6 frequency (Hz) */ |
Definition at line 60 of file mrtk_rcv_javad.c.
| #define FREQ7 1.20714E9 /* E5b/B2I frequency (Hz) */ |
Definition at line 61 of file mrtk_rcv_javad.c.
| #define FREQ8 1.191795E9 /* E5ab/B2ab frequency (Hz) */ |
Definition at line 62 of file mrtk_rcv_javad.c.
| #define FREQ9 2.492028E9 /* S frequency (Hz) */ |
Definition at line 63 of file mrtk_rcv_javad.c.
| #define I1 | ( | p | ) |
Definition at line 115 of file mrtk_rcv_javad.c.
Referenced by decode_eph(), decode_lD(), decode_NE(), and decode_UO().
| #define ISHEX | ( | c | ) |
Definition at line 110 of file mrtk_rcv_javad.c.
Referenced by decodelen(), and sync_javad().
| #define ISTXT | ( | c | ) |
Definition at line 109 of file mrtk_rcv_javad.c.
Referenced by sync_javad().
| #define MAXPRNGPS 32 |
Definition at line 74 of file mrtk_rcv_javad.c.
| #define MAXPRNSBS 158 |
Definition at line 76 of file mrtk_rcv_javad.c.
| #define MINPRNGPS 1 |
Definition at line 73 of file mrtk_rcv_javad.c.
| #define MINPRNSBS 120 |
Definition at line 75 of file mrtk_rcv_javad.c.
| #define P2_11 4.882812500000000E-04 |
Definition at line 81 of file mrtk_rcv_javad.c.
| #define P2_15 3.051757812500000E-05 |
Definition at line 82 of file mrtk_rcv_javad.c.
| #define P2_17 7.629394531250000E-06 |
Definition at line 83 of file mrtk_rcv_javad.c.
| #define P2_19 1.907348632812500E-06 |
Definition at line 84 of file mrtk_rcv_javad.c.
| #define P2_20 9.536743164062500E-07 |
Definition at line 85 of file mrtk_rcv_javad.c.
| #define P2_21 4.768371582031250E-07 |
Definition at line 86 of file mrtk_rcv_javad.c.
| #define P2_23 1.192092895507810E-07 |
Definition at line 87 of file mrtk_rcv_javad.c.
| #define P2_24 5.960464477539063E-08 |
Definition at line 88 of file mrtk_rcv_javad.c.
| #define P2_27 7.450580596923828E-09 |
Definition at line 89 of file mrtk_rcv_javad.c.
| #define P2_29 1.862645149230957E-09 |
Definition at line 90 of file mrtk_rcv_javad.c.
| #define P2_30 9.313225746154785E-10 |
Definition at line 91 of file mrtk_rcv_javad.c.
| #define P2_31 4.656612873077393E-10 |
Definition at line 92 of file mrtk_rcv_javad.c.
| #define P2_32 2.328306436538696E-10 |
Definition at line 93 of file mrtk_rcv_javad.c.
| #define P2_33 1.164153218269348E-10 |
Definition at line 94 of file mrtk_rcv_javad.c.
| #define P2_34 5.820766091346740E-11 |
Definition at line 95 of file mrtk_rcv_javad.c.
| #define P2_35 2.910383045673370E-11 |
Definition at line 96 of file mrtk_rcv_javad.c.
| #define P2_38 3.637978807091710E-12 |
Definition at line 97 of file mrtk_rcv_javad.c.
| #define P2_40 9.094947017729280E-13 |
Definition at line 98 of file mrtk_rcv_javad.c.
| #define P2_43 1.136868377216160E-13 |
Definition at line 99 of file mrtk_rcv_javad.c.
| #define P2_46 1.421085471520200E-14 |
Definition at line 100 of file mrtk_rcv_javad.c.
| #define P2_5 0.03125 |
Definition at line 79 of file mrtk_rcv_javad.c.
| #define P2_50 8.881784197001252E-16 |
Definition at line 101 of file mrtk_rcv_javad.c.
| #define P2_55 2.775557561562891E-17 |
Definition at line 102 of file mrtk_rcv_javad.c.
| #define P2_59 1.734723475976810E-18 |
Definition at line 103 of file mrtk_rcv_javad.c.
| #define P2_6 0.015625 |
Definition at line 80 of file mrtk_rcv_javad.c.
| #define PI 3.1415926535897932 /* pi */ |
Definition at line 34 of file mrtk_rcv_javad.c.
| #define PREAMB_CNAV 0x8B |
Definition at line 107 of file mrtk_rcv_javad.c.
Referenced by decode_L2nav(), decode_L5nav(), and decode_nav().
| #define R2D (180.0 / PI) /* rad to deg */ |
Definition at line 36 of file mrtk_rcv_javad.c.
| #define ROT_LEFT | ( | val | ) |
Definition at line 111 of file mrtk_rcv_javad.c.
Referenced by checksum().
| #define SC2RAD 3.1415926535898 /* semi-circle to radian (IS-GPS) */ |
Definition at line 38 of file mrtk_rcv_javad.c.
| #define SYS_CMP 0x20 |
Definition at line 46 of file mrtk_rcv_javad.c.
| #define SYS_GAL 0x08 |
Definition at line 44 of file mrtk_rcv_javad.c.
| #define SYS_GLO 0x04 |
Definition at line 43 of file mrtk_rcv_javad.c.
| #define SYS_GPS 0x01 |
Definition at line 41 of file mrtk_rcv_javad.c.
| #define SYS_IRN 0x40 |
Definition at line 47 of file mrtk_rcv_javad.c.
| #define SYS_NONE 0x00 |
Definition at line 40 of file mrtk_rcv_javad.c.
| #define SYS_QZS 0x10 |
Definition at line 45 of file mrtk_rcv_javad.c.
| #define SYS_SBS 0x02 |
Definition at line 42 of file mrtk_rcv_javad.c.
| #define TSYS_CMP 5 |
Definition at line 54 of file mrtk_rcv_javad.c.
| #define TSYS_GAL 3 |
Definition at line 52 of file mrtk_rcv_javad.c.
| #define TSYS_GLO 2 |
Definition at line 51 of file mrtk_rcv_javad.c.
| #define TSYS_GPS 0 |
Definition at line 49 of file mrtk_rcv_javad.c.
| #define TSYS_IRN 6 |
Definition at line 55 of file mrtk_rcv_javad.c.
| #define TSYS_QZS 4 |
Definition at line 53 of file mrtk_rcv_javad.c.
| #define TSYS_UTC 1 |
Definition at line 50 of file mrtk_rcv_javad.c.
| #define U1 | ( | p | ) |
Definition at line 114 of file mrtk_rcv_javad.c.
Referenced by decode_eph(), decode_Ex(), decode_lD(), decode_nD(), decode_nd(), decode_NE(), decode_NN(), decode_RD(), decode_SI(), decode_WD(), decode_WE(), and decode_xE().
|
static |
Definition at line 1095 of file mrtk_rcv_javad.c.
References time2gpst().
Referenced by decode_L1ionutc().
Definition at line 321 of file mrtk_rcv_javad.c.
References epoch2time(), time2epoch(), and timeadd().
Referenced by decode_NE(), decode_RT(), and decode_WE().
Definition at line 309 of file mrtk_rcv_javad.c.
References gpst2time(), and time2gpst().
Referenced by decode_eph().
|
static |
Definition at line 247 of file mrtk_rcv_javad.c.
References CODE_L1P, CODE_L1W, CODE_L1X, CODE_L1Z, CODE_L2C, CODE_L2X, SYS_GLO, SYS_GPS, and SYS_QZS.
Referenced by decode_Dx(), decode_Ex(), decode_Fx(), decode_Px(), decode_px(), decode_Rx(), decode_rx(), decode_xd(), decode_xE(), decode_xP(), decode_xp(), decode_xR(), and decode_xr().
|
static |
Definition at line 299 of file mrtk_rcv_javad.c.
References ROT_LEFT.
Referenced by decode_CN(), decode_Dx(), decode_EN(), decode_ET(), decode_Ex(), decode_Fx(), decode_GE(), decode_IE(), decode_IO(), decode_lD(), decode_nD(), decode_nd(), decode_NE(), decode_NN(), decode_Px(), decode_px(), decode_QE(), decode_RD(), decode_RT(), decode_Rx(), decode_rx(), decode_SI(), decode_TC(), decode_UO(), decode_WD(), decode_WE(), decode_xd(), decode_xE(), decode_xP(), decode_xp(), decode_xR(), and decode_xr().
|
static |
Definition at line 2293 of file mrtk_rcv_javad.c.
References raw_t::buff, raw_t::len, and raw_t::nbyte.
Referenced by input_javad(), and input_javadf().
|
static |
Definition at line 596 of file mrtk_rcv_javad.c.
References trace().
Referenced by decode_javad().
|
static |
Definition at line 1387 of file mrtk_rcv_javad.c.
References trace().
Referenced by decode_javad().
|
static |
Definition at line 985 of file mrtk_rcv_javad.c.
References raw_t::buff, checksum(), decode_eph(), raw_t::len, SYS_CMP, and trace().
Referenced by decode_javad().
|
static |
Definition at line 1837 of file mrtk_rcv_javad.c.
References raw_t::buff, checkpri(), checksum(), obsd_t::D, obs_t::data, raw_t::dpCA, I4, is_meas(), raw_t::len, MAXOBS, obs_t::n, raw_t::obuf, raw_t::opt, obsd_t::sat, satsys(), settag(), sig2idx(), raw_t::time, raw_t::tod, and trace().
Referenced by decode_javad().
|
static |
Definition at line 578 of file mrtk_rcv_javad.c.
References trace().
Referenced by decode_javad().
|
static |
Definition at line 1381 of file mrtk_rcv_javad.c.
References trace().
Referenced by decode_javad().
|
static |
Definition at line 898 of file mrtk_rcv_javad.c.
References raw_t::buff, checksum(), decode_eph(), raw_t::len, SYS_GAL, and trace().
Referenced by decode_javad().
|
static |
Definition at line 608 of file mrtk_rcv_javad.c.
References eph_t::A, adjgpsweek(), adjweek(), bdt2time(), raw_t::buff, 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, nav_s::eph, eph_sel, raw_t::ephsat, raw_t::ephset, eph_t::f0, eph_t::f1, eph_t::f2, eph_t::fit, eph_t::flag, gpst2time(), eph_t::i0, I1, I2, I4, eph_t::idot, eph_t::iodc, eph_t::iode, eph_t::M0, MAXSAT, raw_t::msgtype, raw_t::nav, eph_t::omg, eph_t::OMG0, eph_t::OMGd, raw_t::opt, raw_t::outtype, R4, R8, eph_t::sat, satno(), SC2RAD, eph_t::sva, eph_t::svh, SYS_CMP, SYS_GAL, SYS_GPS, SYS_IRN, SYS_QZS, eph_t::tgd, raw_t::time, timediff(), eph_t::toc, eph_t::toe, eph_t::toes, trace(), eph_t::ttr, eph_t::type, U1, U4, and eph_t::week.
Referenced by decode_CN(), decode_EN(), decode_GE(), decode_IE(), and decode_QE().
|
static |
Definition at line 421 of file mrtk_rcv_javad.c.
References raw_t::buff, checksum(), flushobuf(), raw_t::len, raw_t::tod, trace(), and U4.
Referenced by decode_javad().
|
static |
Definition at line 1038 of file mrtk_rcv_javad.c.
References trace().
Referenced by decode_javad().
|
static |
Definition at line 1934 of file mrtk_rcv_javad.c.
References raw_t::buff, checkpri(), checksum(), obs_t::data, is_meas(), raw_t::len, MAXOBS, obs_t::n, raw_t::obuf, raw_t::opt, obsd_t::sat, satsys(), settag(), sig2idx(), obsd_t::SNR, SNR_UNIT, raw_t::time, raw_t::tod, trace(), and U1.
Referenced by decode_javad().
|
static |
Definition at line 2018 of file mrtk_rcv_javad.c.
References raw_t::buff, checkpri(), checksum(), obs_t::data, is_meas(), raw_t::len, obsd_t::LLI, MAXOBS, obs_t::n, raw_t::obuf, raw_t::opt, obsd_t::sat, satsys(), settag(), sig2idx(), raw_t::time, raw_t::tod, trace(), and U2.
Referenced by decode_javad().
|
static |
Definition at line 566 of file mrtk_rcv_javad.c.
References trace().
Referenced by decode_javad().
|
static |
Definition at line 794 of file mrtk_rcv_javad.c.
References raw_t::buff, checksum(), decode_eph(), raw_t::len, SYS_GPS, and trace().
Referenced by decode_javad().
|
static |
Definition at line 602 of file mrtk_rcv_javad.c.
References trace().
Referenced by decode_javad().
|
static |
Definition at line 1393 of file mrtk_rcv_javad.c.
References trace().
Referenced by decode_javad().
|
static |
Definition at line 997 of file mrtk_rcv_javad.c.
References raw_t::buff, checksum(), decode_eph(), raw_t::len, SYS_IRN, and trace().
Referenced by decode_javad().
|
static |
Definition at line 1056 of file mrtk_rcv_javad.c.
References raw_t::buff, checksum(), nav_s::ion_gps, raw_t::len, raw_t::nav, R4, and trace().
Referenced by decode_javad().
|
static |
Definition at line 2112 of file mrtk_rcv_javad.c.
References raw_t::buff, decode_CA(), decode_cd(), decode_CN(), decode_Dx(), decode_EA(), decode_ED(), decode_EN(), decode_ET(), decode_EU(), decode_Ex(), decode_Fx(), decode_GA(), decode_GE(), decode_IA(), decode_id(), decode_IE(), decode_IO(), decode_LD(), decode_lD(), decode_NA(), decode_nD(), decode_nd(), decode_NE(), decode_NN(), decode_NU(), decode_Px(), decode_px(), decode_QA(), decode_QE(), decode_QU(), decode_RD(), decode_RT(), decode_Rx(), decode_rx(), decode_SI(), decode_TC(), decode_UO(), decode_WA(), decode_WD(), decode_WE(), decode_WU(), decode_xd(), decode_xE(), decode_xP(), decode_xp(), decode_xR(), decode_xr(), raw_t::len, raw_t::msgtype, raw_t::opt, raw_t::outtype, SYS_GPS, SYS_QZS, and trace().
Referenced by input_javad(), and input_javadf().
|
static |
Definition at line 1226 of file mrtk_rcv_javad.c.
References trace().
Referenced by decode_nd().
|
static |
Definition at line 1076 of file mrtk_rcv_javad.c.
References decode_frame(), nav_s::eph, raw_t::ephsat, raw_t::ephset, eph_t::iodc, eph_t::iode, raw_t::nav, raw_t::opt, eph_t::sat, and raw_t::subfrm.
Referenced by decode_L1nav().
|
static |
Definition at line 1113 of file mrtk_rcv_javad.c.
References adj_utcweek(), decode_frame(), nav_s::ion_gps, nav_s::ion_qzs, matcpy(), raw_t::nav, satsys(), raw_t::subfrm, SYS_QZS, raw_t::time, nav_s::utc_gps, and nav_s::utc_qzs.
Referenced by decode_L1nav().
|
static |
Definition at line 1132 of file mrtk_rcv_javad.c.
References decode_L1eph(), decode_L1ionutc(), getbitu(), satsys(), setbitu(), raw_t::subfrm, SYS_GPS, SYS_QZS, trace(), and U4.
Referenced by decode_nD(), and decode_nd().
|
static |
Definition at line 1162 of file mrtk_rcv_javad.c.
References getbitu(), PREAMB_CNAV, and trace().
Referenced by decode_nd().
|
static |
Definition at line 1194 of file mrtk_rcv_javad.c.
References getbitu(), PREAMB_CNAV, and trace().
Referenced by decode_nd().
|
static |
Definition at line 1307 of file mrtk_rcv_javad.c.
References trace().
Referenced by decode_javad().
|
static |
Definition at line 1313 of file mrtk_rcv_javad.c.
References raw_t::buff, checksum(), decode_glostr(), raw_t::ephsat, geph_t::frq, nav_s::geph, I1, geph_t::iode, raw_t::len, raw_t::msgtype, raw_t::nav, raw_t::opt, raw_t::outtype, geph_t::sat, satno(), setbitu(), raw_t::subfrm, SYS_GLO, raw_t::time, geph_t::tof, trace(), U1, and U4.
Referenced by decode_javad().
|
static |
Definition at line 572 of file mrtk_rcv_javad.c.
References trace().
Referenced by decode_javad().
|
static |
Definition at line 1232 of file mrtk_rcv_javad.c.
References raw_t::buff, checksum(), decode_L1nav(), raw_t::len, satno(), trace(), and U1.
Referenced by decode_javad().
|
static |
Definition at line 1261 of file mrtk_rcv_javad.c.
References raw_t::buff, checksum(), decode_L1Cnav(), decode_L1nav(), decode_L2nav(), decode_L5nav(), raw_t::len, raw_t::msgtype, raw_t::outtype, satno(), trace(), U1, and U4.
Referenced by decode_javad().
|
static |
Definition at line 806 of file mrtk_rcv_javad.c.
References geph_t::acc, adjday(), geph_t::age, raw_t::buff, checksum(), geph_t::dtaun, raw_t::ephsat, geph_t::frq, geph_t::gamn, nav_s::geph, I1, I4, geph_t::iode, raw_t::len, raw_t::msgtype, raw_t::nav, raw_t::opt, raw_t::outtype, geph_t::pos, R4, R8, geph_t::sat, satno(), geph_t::sva, geph_t::svh, SYS_GLO, geph_t::taun, gtime_t::time, raw_t::time, timediff(), geph_t::toe, geph_t::tof, trace(), U1, utc2gpst(), and geph_t::vel.
Referenced by decode_javad().
|
static |
Definition at line 537 of file mrtk_rcv_javad.c.
References raw_t::buff, checksum(), obs_t::data, raw_t::len, MAXOBS, raw_t::msgtype, obs_t::n, raw_t::obuf, raw_t::outtype, obsd_t::sat, satno(), SYS_GLO, trace(), and U1.
Referenced by decode_javad().
|
static |
Definition at line 1032 of file mrtk_rcv_javad.c.
References trace().
Referenced by decode_javad().
|
static |
Definition at line 1655 of file mrtk_rcv_javad.c.
References raw_t::buff, checkpri(), checksum(), obsd_t::code, obs_t::data, is_meas(), obsd_t::L, raw_t::len, MAXOBS, obs_t::n, raw_t::obuf, raw_t::opt, R8, obsd_t::sat, satsys(), settag(), sig2idx(), raw_t::time, raw_t::tod, and trace().
Referenced by decode_javad().
|
static |
Definition at line 1698 of file mrtk_rcv_javad.c.
References raw_t::buff, checkpri(), checksum(), obsd_t::code, obs_t::data, is_meas(), obsd_t::L, raw_t::len, MAXOBS, obs_t::n, raw_t::obuf, raw_t::opt, obsd_t::sat, satsys(), settag(), sig2idx(), raw_t::time, raw_t::tod, trace(), and U4.
Referenced by decode_javad().
|
static |
Definition at line 590 of file mrtk_rcv_javad.c.
References trace().
Referenced by decode_javad().
|
static |
Definition at line 973 of file mrtk_rcv_javad.c.
References raw_t::buff, checksum(), decode_eph(), raw_t::len, SYS_QZS, and trace().
Referenced by decode_javad().
|
static |
Definition at line 1050 of file mrtk_rcv_javad.c.
References trace().
Referenced by decode_javad().
|
static |
Definition at line 442 of file mrtk_rcv_javad.c.
References raw_t::buff, checksum(), epoch2time(), raw_t::len, raw_t::msgtype, raw_t::outtype, raw_t::tbase, raw_t::time, time_str(), timeadd(), raw_t::tod, trace(), U1, U2, and utc2gpst().
Referenced by decode_javad().
|
static |
Definition at line 381 of file mrtk_rcv_javad.c.
References adjday(), raw_t::buff, checksum(), flushobuf(), gpst2utc(), raw_t::len, raw_t::msgtype, raw_t::outtype, raw_t::tbase, gtime_t::time, raw_t::time, time_str(), raw_t::tod, trace(), U4, and utc2gpst().
Referenced by decode_javad().
|
static |
Definition at line 1451 of file mrtk_rcv_javad.c.
References raw_t::buff, checkpri(), checksum(), CLIGHT, obsd_t::code, obs_t::data, is_meas(), raw_t::len, MAXOBS, obs_t::n, raw_t::obuf, raw_t::opt, obsd_t::P, raw_t::prCA, R8, obsd_t::sat, satsys(), settag(), sig2idx(), raw_t::time, raw_t::tod, and trace().
Referenced by decode_javad().
|
static |
Definition at line 1501 of file mrtk_rcv_javad.c.
References raw_t::buff, checkpri(), checksum(), CLIGHT, obsd_t::code, obs_t::data, I4, is_meas(), raw_t::len, MAXOBS, obs_t::n, raw_t::obuf, raw_t::opt, obsd_t::P, raw_t::prCA, obsd_t::sat, satsys(), settag(), sig2idx(), SYS_CMP, SYS_GAL, SYS_IRN, SYS_QZS, SYS_SBS, raw_t::time, raw_t::tod, and trace().
Referenced by decode_javad().
|
static |
Definition at line 481 of file mrtk_rcv_javad.c.
References raw_t::buff, checksum(), obs_t::data, raw_t::freqn, raw_t::len, MAXOBS, raw_t::msgtype, obs_t::n, raw_t::obuf, raw_t::outtype, obsd_t::sat, satno(), SYS_CMP, SYS_GAL, SYS_GPS, SYS_IRN, SYS_QZS, SYS_SBS, obsd_t::time, raw_t::time, trace(), and U1.
Referenced by decode_javad().
|
static |
Definition at line 2068 of file mrtk_rcv_javad.c.
References raw_t::buff, checksum(), obs_t::data, raw_t::len, obsd_t::LLI, raw_t::lockt, MAXOBS, obs_t::n, raw_t::obuf, obsd_t::sat, settag(), raw_t::time, time_str(), trace(), and U2.
Referenced by decode_javad().
|
static |
Definition at line 1009 of file mrtk_rcv_javad.c.
References adjgpsweek(), raw_t::buff, checksum(), I1, raw_t::len, raw_t::nav, R4, R8, trace(), U2, U4, and nav_s::utc_gps.
Referenced by decode_javad().
|
static |
Definition at line 584 of file mrtk_rcv_javad.c.
References trace().
Referenced by decode_javad().
|
static |
Definition at line 1399 of file mrtk_rcv_javad.c.
References raw_t::buff, checksum(), raw_t::len, MAXPRNQZS, MAXPRNSBS, MINPRNQZS, MINPRNSBS, sbsmsg_t::msg, raw_t::msgtype, raw_t::outtype, sbsmsg_t::prn, raw_t::sbsmsg, gtime_t::time, raw_t::time, time2gpst(), sbsmsg_t::tow, trace(), U1, U4, and sbsmsg_t::week.
Referenced by decode_javad().
|
static |
Definition at line 910 of file mrtk_rcv_javad.c.
References seph_t::acc, adjday(), adjgpsweek(), seph_t::af0, seph_t::af1, raw_t::buff, checksum(), raw_t::ephsat, gpst2time(), raw_t::len, MINPRNSBS, raw_t::msgtype, raw_t::nav, raw_t::opt, raw_t::outtype, seph_t::pos, R4, R8, seph_t::sat, satno(), nav_s::seph, seph_t::sva, SYS_SBS, seph_t::t0, timediff(), seph_t::tof, trace(), U1, U2, U4, and seph_t::vel.
Referenced by decode_javad().
|
static |
Definition at line 1044 of file mrtk_rcv_javad.c.
References trace().
Referenced by decode_javad().
|
static |
Definition at line 1886 of file mrtk_rcv_javad.c.
References raw_t::buff, checkpri(), checksum(), code2freq(), CODE_L1X, obsd_t::D, obs_t::data, raw_t::dpCA, raw_t::freqn, I2, is_meas(), raw_t::len, MAXOBS, obs_t::n, raw_t::obuf, raw_t::opt, obsd_t::sat, satsys(), settag(), sig2idx(), raw_t::time, raw_t::tod, and trace().
Referenced by decode_javad().
|
static |
Definition at line 1976 of file mrtk_rcv_javad.c.
References raw_t::buff, checkpri(), checksum(), obs_t::data, is_meas(), raw_t::len, MAXOBS, obs_t::n, raw_t::obuf, raw_t::opt, obsd_t::sat, satsys(), settag(), sig2idx(), obsd_t::SNR, SNR_UNIT, raw_t::time, raw_t::tod, trace(), and U1.
Referenced by decode_javad().
|
static |
Definition at line 1741 of file mrtk_rcv_javad.c.
References raw_t::buff, checkpri(), checksum(), CLIGHT, obsd_t::code, code2freq(), obs_t::data, raw_t::freqn, is_meas(), obsd_t::L, raw_t::len, MAXOBS, obs_t::n, raw_t::obuf, raw_t::opt, raw_t::prCA, R4, obsd_t::sat, satsys(), settag(), sig2idx(), raw_t::time, raw_t::tod, and trace().
Referenced by decode_javad().
|
static |
Definition at line 1789 of file mrtk_rcv_javad.c.
References raw_t::buff, checkpri(), checksum(), CLIGHT, obsd_t::code, code2freq(), obs_t::data, raw_t::freqn, I4, is_meas(), obsd_t::L, raw_t::len, MAXOBS, obs_t::n, raw_t::obuf, raw_t::opt, P2_40, raw_t::prCA, obsd_t::sat, satsys(), settag(), sig2idx(), raw_t::time, raw_t::tod, and trace().
Referenced by decode_javad().
|
static |
Definition at line 1564 of file mrtk_rcv_javad.c.
References raw_t::buff, checkpri(), checksum(), CLIGHT, obsd_t::code, obs_t::data, is_meas(), raw_t::len, MAXOBS, obs_t::n, raw_t::obuf, raw_t::opt, obsd_t::P, raw_t::prCA, R4, obsd_t::sat, satsys(), settag(), sig2idx(), raw_t::time, raw_t::tod, and trace().
Referenced by decode_javad().
|
static |
Definition at line 1608 of file mrtk_rcv_javad.c.
References raw_t::buff, checkpri(), checksum(), CLIGHT, obsd_t::code, obs_t::data, I2, is_meas(), raw_t::len, MAXOBS, obs_t::n, raw_t::obuf, raw_t::opt, obsd_t::P, raw_t::prCA, obsd_t::sat, satsys(), settag(), sig2idx(), raw_t::time, raw_t::tod, and trace().
Referenced by decode_javad().
|
static |
Definition at line 162 of file mrtk_rcv_javad.c.
References ISHEX.
Referenced by input_javad(), and input_javadf().
|
static |
Definition at line 2361 of file mrtk_rcv_javad.c.
References flushobuf(), obs_t::n, and raw_t::obuf.
Referenced by input_javadf().
|
static |
Definition at line 347 of file mrtk_rcv_javad.c.
References obsd_t::code, CODE_NONE, obsd_t::D, obs_t::data, raw_t::dpCA, obsd_t::L, obsd_t::LLI, MAXOBS, MAXSAT, obs_t::n, raw_t::obs, raw_t::obuf, obsd_t::P, raw_t::prCA, obsd_t::sat, satsys(), obsd_t::SNR, gtime_t::time, obsd_t::time, and trace().
Referenced by decode_ET(), decode_RT(), and endfile().
|
static |
Definition at line 126 of file mrtk_rcv_javad.c.
|
static |
Definition at line 131 of file mrtk_rcv_javad.c.
|
extern |
Definition at line 2323 of file mrtk_rcv_javad.c.
References raw_t::buff, clearbuff(), decode_javad(), decodelen(), raw_t::len, MAXRAWLEN, raw_t::nbyte, sync_javad(), and trace().
Referenced by input_raw().
|
extern |
Definition at line 2375 of file mrtk_rcv_javad.c.
References raw_t::buff, clearbuff(), decode_javad(), decodelen(), endfile(), raw_t::flag, raw_t::len, MAXRAWLEN, raw_t::nbyte, startfile(), sync_javad(), and trace().
Referenced by input_rawf().
|
static |
Definition at line 173 of file mrtk_rcv_javad.c.
Referenced by decode_Dx(), decode_Ex(), decode_Fx(), decode_Px(), decode_px(), decode_Rx(), decode_rx(), decode_xd(), decode_xE(), decode_xP(), decode_xp(), decode_xR(), and decode_xr().
|
static |
Definition at line 137 of file mrtk_rcv_javad.c.
References U4.
|
static |
Definition at line 149 of file mrtk_rcv_javad.c.
References U4.
Definition at line 334 of file mrtk_rcv_javad.c.
References obsd_t::sat, gtime_t::time, obsd_t::time, time2str(), timediff(), and trace().
Referenced by decode_Dx(), decode_Ex(), decode_Fx(), decode_Px(), decode_px(), decode_Rx(), decode_rx(), decode_TC(), decode_xd(), decode_xE(), decode_xP(), decode_xp(), decode_xR(), and decode_xr().
|
static |
Definition at line 177 of file mrtk_rcv_javad.c.
References code2freq_idx(), CODE_L1C, CODE_L1P, CODE_L1W, CODE_L1X, CODE_L1Z, CODE_L2C, CODE_L2I, CODE_L2P, CODE_L2W, CODE_L2X, CODE_L3X, CODE_L5X, CODE_L6I, CODE_L6X, CODE_L7I, CODE_L7X, CODE_L8X, SYS_CMP, SYS_GAL, SYS_GLO, SYS_GPS, SYS_IRN, SYS_QZS, and SYS_SBS.
Referenced by decode_Dx(), decode_Ex(), decode_Fx(), decode_Px(), decode_px(), decode_Rx(), decode_rx(), decode_xd(), decode_xE(), decode_xP(), decode_xp(), decode_xR(), and decode_xr().
|
static |
Definition at line 2355 of file mrtk_rcv_javad.c.
References raw_t::buff, obs_t::n, raw_t::obuf, and raw_t::tod.
Referenced by input_javadf().
|
static |
Definition at line 2279 of file mrtk_rcv_javad.c.
Referenced by input_javad(), and input_javadf().
|
static |
Definition at line 116 of file mrtk_rcv_javad.c.
|
static |
Definition at line 121 of file mrtk_rcv_javad.c.