MRTKLIB 0.7.14
Modernized GNSS Positioning Library
Loading...
Searching...
No Matches
mrtk_opt.h File Reference

MRTKLIB Options Module — Processing and solution option types. More...

#include <stddef.h>
#include "mrtklib/mrtk_foundation.h"
#include "mrtklib/mrtk_nav.h"
#include "mrtklib/mrtk_obs.h"
Include dependency graph for mrtk_opt.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  exterr_t
struct  prcopt_t
struct  solopt_t
struct  filopt_t

Macros

#define PMODE_SINGLE   0 /* positioning mode: single */
#define PMODE_DGPS   1 /* positioning mode: DGPS/DGNSS */
#define PMODE_KINEMA   2 /* positioning mode: kinematic */
#define PMODE_STATIC   3 /* positioning mode: static */
#define PMODE_MOVEB   4 /* positioning mode: moving-base */
#define PMODE_FIXED   5 /* positioning mode: fixed */
#define PMODE_PPP_KINEMA   6 /* positioning mode: PPP-kinemaric */
#define PMODE_PPP_STATIC   7 /* positioning mode: PPP-static */
#define PMODE_PPP_FIXED   8 /* positioning mode: PPP-fixed */
#define PMODE_PPP_RTK   9 /* positioning mode: PPP-RTK (CLAS) */
#define PMODE_SSR2OSR   10 /* conversion mode: SSR2OSR */
#define PMODE_SSR2OSR_FIXED   11 /* conversion mode: SSR2OSR-fixed */
#define PMODE_VRS_RTK   12 /* positioning mode: VRS-RTK (CLAS) */
#define SOLF_LLH   0 /* solution format: lat/lon/height */
#define SOLF_XYZ   1 /* solution format: x/y/z-ecef */
#define SOLF_ENU   2 /* solution format: e/n/u-baseline */
#define SOLF_NMEA   3 /* solution format: NMEA-183 */
#define SOLF_STAT   4 /* solution format: solution status */
#define SOLF_GSIF   5 /* solution format: GSI F1/F2 */
#define SOLQ_NONE   0 /* solution status: no solution */
#define SOLQ_FIX   1 /* solution status: fix */
#define SOLQ_FLOAT   2 /* solution status: float */
#define SOLQ_SBAS   3 /* solution status: SBAS */
#define SOLQ_DGPS   4 /* solution status: DGPS/DGNSS */
#define SOLQ_SINGLE   5 /* solution status: single */
#define SOLQ_PPP   6 /* solution status: PPP */
#define SOLQ_DR   7 /* solution status: dead reconing */
#define MAXSOLQ   7 /* max number of solution status */
#define TIMES_GPST   0 /* time system: gps time */
#define TIMES_UTC   1 /* time system: utc */
#define TIMES_JST   2 /* time system: jst */
#define IONOOPT_OFF   0 /* ionosphere option: correction off */
#define IONOOPT_BRDC   1 /* ionosphere option: broadcast model */
#define IONOOPT_SBAS   2 /* ionosphere option: SBAS model */
#define IONOOPT_IFLC   3 /* ionosphere option: L1/L2 iono-free LC */
#define IONOOPT_EST   4 /* ionosphere option: estimation */
#define IONOOPT_TEC   5 /* ionosphere option: IONEX TEC model */
#define IONOOPT_QZS   6 /* ionosphere option: QZSS broadcast model */
#define IONOOPT_STEC   8 /* ionosphere option: SLANT TEC model */
#define IONOOPT_EST_ADPT   9 /* ionosphere option: adaptive estimation */
#define TROPOPT_OFF   0 /* troposphere option: correction off */
#define TROPOPT_SAAS   1 /* troposphere option: Saastamoinen model */
#define TROPOPT_SBAS   2 /* troposphere option: SBAS model */
#define TROPOPT_EST   3 /* troposphere option: ZTD estimation */
#define TROPOPT_ESTG   4 /* troposphere option: ZTD+grad estimation */
#define TROPOPT_ZTD   5 /* troposphere option: ZTD correction */
#define EPHOPT_BRDC   0 /* ephemeris option: broadcast ephemeris */
#define EPHOPT_PREC   1 /* ephemeris option: precise ephemeris */
#define EPHOPT_SBAS   2 /* ephemeris option: broadcast + SBAS */
#define EPHOPT_SSRAPC   3 /* ephemeris option: broadcast + SSR_APC */
#define EPHOPT_SSRCOM   4 /* ephemeris option: broadcast + SSR_COM */
#define CORR_AUTO   -1 /* correction source: infer from mode + sateph (default) */
#define CORR_NONE   0 /* correction source: none (SPP/DGPS/RTK) */
#define CORR_IGS   1 /* correction source: IGS precise products (files) */
#define CORR_IGS_RTS   2 /* correction source: IGS Real-Time Service (RTCM-SSR) [reserved] */
#define CORR_QZS_MADOCA   3 /* correction source: MADOCA-PPP (QZSS L6E / RTCM-SSR) */
#define CORR_GAL_HAS   4 /* correction source: Galileo HAS (E6-B SSR) [reserved] */
#define CORR_BDS_B2B   5 /* correction source: BeiDou PPP-B2b (B2b SSR) [reserved] */
#define CORR_QZS_CLAS   6 /* correction source: QZSS CLAS (L6D CSSR) */
#define ARMODE_OFF   0 /* AR mode: off */
#define ARMODE_CONT   1 /* AR mode: continuous */
#define ARMODE_INST   2 /* AR mode: instantaneous */
#define ARMODE_FIXHOLD   3 /* AR mode: fix and hold */
#define ARMODE_WLNL   4 /* AR mode: wide lane/narrow lane */
#define ARMODE_TCAR   5 /* AR mode: triple carrier ar */
#define GLO_ARMODE_OFF   0 /* GLO AR mode: off */
#define GLO_ARMODE_ON   1 /* GLO AR mode: on */
#define GLO_ARMODE_AUTOCAL   2 /* GLO AR mode: auto calibrate */
#define GLO_ARMODE_FIXHOLD   3 /* GLO AR mode: fix and hold */
#define SBSOPT_LCORR   1 /* SBAS option: long term correction */
#define SBSOPT_FCORR   2 /* SBAS option: fast correction */
#define SBSOPT_ICORR   4 /* SBAS option: ionosphere correction */
#define SBSOPT_RANGE   8 /* SBAS option: ranging */
#define POSOPT_POS   0 /* pos option: LLH/XYZ */
#define POSOPT_SINGLE   1 /* pos option: average of single pos */
#define POSOPT_FILE   2 /* pos option: read from pos file */
#define POSOPT_RINEX   3 /* pos option: rinex header pos */
#define POSOPT_RTCM   4 /* pos option: rtcm/raw station pos */
#define SEEDENH_OFF   0 /* off: seed bit-identical to prior behaviour */
#define SEEDENH_BASE   1 /* C/N0 weighting + TDCP jump-reject (default) */
#define SEEDENH_ROBUST   2 /* BASE + IGG-III robust (open-sky opt-in) */

Typedefs

typedef struct prcopt_t prcopt_t

Functions

int resolve_correction (prcopt_t *opt, char *msg, size_t msgsz)
int set_bdsopt (const prcopt_t *opt, int warn)
 Apply the BeiDou PRN-reassignment options process-wide.

Variables

const prcopt_t prcopt_default
const solopt_t solopt_default

Detailed Description

MRTKLIB Options Module — Processing and solution option types.

This header provides the processing option (prcopt_t), solution output option (solopt_t), and file option (filopt_t) structures, along with related mode/option constants, extracted from rtklib.h with zero algorithmic changes.

Note
Default option instances (prcopt_default, solopt_default) are defined in mrtk_opt.c.

Definition in file mrtk_opt.h.

Macro Definition Documentation

◆ ARMODE_CONT

#define ARMODE_CONT   1 /* AR mode: continuous */

Definition at line 129 of file mrtk_opt.h.

Referenced by ppp_ar(), and resolve_correction().

◆ ARMODE_FIXHOLD

#define ARMODE_FIXHOLD   3 /* AR mode: fix and hold */

Definition at line 131 of file mrtk_opt.h.

Referenced by holdamb(), ppp_rtk_pos(), relpos(), relposvrs(), and test_hold_amb().

◆ ARMODE_INST

#define ARMODE_INST   2 /* AR mode: instantaneous */

Definition at line 130 of file mrtk_opt.h.

Referenced by udbias(), udbias_ppp(), udbias_ppp(), and udbias_ppp().

◆ ARMODE_OFF

#define ARMODE_OFF   0 /* AR mode: off */

Definition at line 128 of file mrtk_opt.h.

Referenced by manage_amb_LAMBDA(), resamb_LAMBDA(), and resamb_LAMBDA().

◆ ARMODE_TCAR

#define ARMODE_TCAR   5 /* AR mode: triple carrier ar */

Definition at line 133 of file mrtk_opt.h.

◆ ARMODE_WLNL

#define ARMODE_WLNL   4 /* AR mode: wide lane/narrow lane */

Definition at line 132 of file mrtk_opt.h.

◆ CORR_AUTO

#define CORR_AUTO   -1 /* correction source: infer from mode + sateph (default) */

Definition at line 115 of file mrtk_opt.h.

Referenced by corr_name(), and resolve_correction().

◆ CORR_BDS_B2B

#define CORR_BDS_B2B   5 /* correction source: BeiDou PPP-B2b (B2b SSR) [reserved] */

Definition at line 121 of file mrtk_opt.h.

Referenced by corr_name(), and resolve_correction().

◆ CORR_GAL_HAS

#define CORR_GAL_HAS   4 /* correction source: Galileo HAS (E6-B SSR) [reserved] */

Definition at line 120 of file mrtk_opt.h.

Referenced by corr_meas(), corr_name(), resolve_correction(), and rtksvrstart().

◆ CORR_IGS

#define CORR_IGS   1 /* correction source: IGS precise products (files) */

Definition at line 117 of file mrtk_opt.h.

Referenced by corr_meas(), corr_name(), iflc_freq2_idx(), and resolve_correction().

◆ CORR_IGS_RTS

#define CORR_IGS_RTS   2 /* correction source: IGS Real-Time Service (RTCM-SSR) [reserved] */

Definition at line 118 of file mrtk_opt.h.

Referenced by corr_meas(), corr_name(), and resolve_correction().

◆ CORR_NONE

#define CORR_NONE   0 /* correction source: none (SPP/DGPS/RTK) */

Definition at line 116 of file mrtk_opt.h.

Referenced by corr_meas(), corr_name(), and resolve_correction().

◆ CORR_QZS_CLAS

#define CORR_QZS_CLAS   6 /* correction source: QZSS CLAS (L6D CSSR) */

Definition at line 122 of file mrtk_opt.h.

Referenced by corr_name(), iflc_freq2_idx(), and resolve_correction().

◆ CORR_QZS_MADOCA

#define CORR_QZS_MADOCA   3 /* correction source: MADOCA-PPP (QZSS L6E / RTCM-SSR) */

Definition at line 119 of file mrtk_opt.h.

Referenced by corr_name(), resolve_correction(), and rtksvrstart().

◆ EPHOPT_BRDC

#define EPHOPT_BRDC   0 /* ephemeris option: broadcast ephemeris */

Definition at line 109 of file mrtk_opt.h.

◆ EPHOPT_PREC

#define EPHOPT_PREC   1 /* ephemeris option: precise ephemeris */

Definition at line 110 of file mrtk_opt.h.

◆ EPHOPT_SBAS

#define EPHOPT_SBAS   2 /* ephemeris option: broadcast + SBAS */

Definition at line 111 of file mrtk_opt.h.

◆ EPHOPT_SSRAPC

#define EPHOPT_SSRAPC   3 /* ephemeris option: broadcast + SSR_APC */

Definition at line 112 of file mrtk_opt.h.

◆ EPHOPT_SSRCOM

#define EPHOPT_SSRCOM   4 /* ephemeris option: broadcast + SSR_COM */

Definition at line 113 of file mrtk_opt.h.

◆ GLO_ARMODE_AUTOCAL

#define GLO_ARMODE_AUTOCAL   2 /* GLO AR mode: auto calibrate */

Definition at line 137 of file mrtk_opt.h.

◆ GLO_ARMODE_FIXHOLD

#define GLO_ARMODE_FIXHOLD   3 /* GLO AR mode: fix and hold */

Definition at line 138 of file mrtk_opt.h.

Referenced by manage_amb_LAMBDA().

◆ GLO_ARMODE_OFF

#define GLO_ARMODE_OFF   0 /* GLO AR mode: off */

Definition at line 135 of file mrtk_opt.h.

◆ GLO_ARMODE_ON

#define GLO_ARMODE_ON   1 /* GLO AR mode: on */

Definition at line 136 of file mrtk_opt.h.

◆ IONOOPT_BRDC

#define IONOOPT_BRDC   1 /* ionosphere option: broadcast model */

Definition at line 93 of file mrtk_opt.h.

Referenced by ionocorr(), model_iono(), and pntpos().

◆ IONOOPT_EST

#define IONOOPT_EST   4 /* ionosphere option: estimation */

◆ IONOOPT_EST_ADPT

#define IONOOPT_EST_ADPT   9 /* ionosphere option: adaptive estimation */

◆ IONOOPT_IFLC

#define IONOOPT_IFLC   3 /* ionosphere option: L1/L2 iono-free LC */

◆ IONOOPT_OFF

#define IONOOPT_OFF   0 /* ionosphere option: correction off */

Definition at line 92 of file mrtk_opt.h.

Referenced by ionocorr().

◆ IONOOPT_QZS

#define IONOOPT_QZS   6 /* ionosphere option: QZSS broadcast model */

Definition at line 98 of file mrtk_opt.h.

Referenced by ionocorr().

◆ IONOOPT_SBAS

#define IONOOPT_SBAS   2 /* ionosphere option: SBAS model */

Definition at line 94 of file mrtk_opt.h.

Referenced by ionocorr(), and model_iono().

◆ IONOOPT_STEC

#define IONOOPT_STEC   8 /* ionosphere option: SLANT TEC model */

Definition at line 99 of file mrtk_opt.h.

◆ IONOOPT_TEC

#define IONOOPT_TEC   5 /* ionosphere option: IONEX TEC model */

Definition at line 97 of file mrtk_opt.h.

Referenced by ionocorr(), and model_iono().

◆ MAXSOLQ

#define MAXSOLQ   7 /* max number of solution status */

Definition at line 78 of file mrtk_opt.h.

Referenced by decode_solenu(), decode_solllh(), and decode_solxyz().

◆ PMODE_DGPS

#define PMODE_DGPS   1 /* positioning mode: DGPS/DGNSS */

◆ PMODE_FIXED

#define PMODE_FIXED   5 /* positioning mode: fixed */

◆ PMODE_KINEMA

#define PMODE_KINEMA   2 /* positioning mode: kinematic */

Definition at line 47 of file mrtk_opt.h.

Referenced by combres(), mode_name(), and outprcopts().

◆ PMODE_MOVEB

#define PMODE_MOVEB   4 /* positioning mode: moving-base */

Definition at line 49 of file mrtk_opt.h.

Referenced by combres(), ddres(), mode_name(), outheader(), outprcopts(), relpos(), and rtkpos().

◆ PMODE_PPP_FIXED

#define PMODE_PPP_FIXED   8 /* positioning mode: PPP-fixed */

Definition at line 53 of file mrtk_opt.h.

Referenced by mode_name(), outprcopts(), resolve_correction(), udpos_ppp(), and udpos_ppp().

◆ PMODE_PPP_KINEMA

#define PMODE_PPP_KINEMA   6 /* positioning mode: PPP-kinemaric */

Definition at line 51 of file mrtk_opt.h.

Referenced by mode_name(), resolve_correction(), rtkoutstat(), and rtkpos().

◆ PMODE_PPP_RTK

#define PMODE_PPP_RTK   9 /* positioning mode: PPP-RTK (CLAS) */

◆ PMODE_PPP_STATIC

#define PMODE_PPP_STATIC   7 /* positioning mode: PPP-static */

Definition at line 52 of file mrtk_opt.h.

Referenced by combres(), mode_name(), procpos(), resolve_correction(), and udpos_ppp().

◆ PMODE_SINGLE

#define PMODE_SINGLE   0 /* positioning mode: single */

Definition at line 45 of file mrtk_opt.h.

Referenced by execses(), mode_name(), outprcopts(), pntpos(), and rtkpos().

◆ PMODE_SSR2OSR

#define PMODE_SSR2OSR   10 /* conversion mode: SSR2OSR */

Definition at line 55 of file mrtk_opt.h.

Referenced by mode_name(), readpreceph(), and rtkpos().

◆ PMODE_SSR2OSR_FIXED

#define PMODE_SSR2OSR_FIXED   11 /* conversion mode: SSR2OSR-fixed */

Definition at line 56 of file mrtk_opt.h.

Referenced by clas_ssr2osr(), mode_name(), readpreceph(), and rtkpos().

◆ PMODE_STATIC

#define PMODE_STATIC   3 /* positioning mode: static */

Definition at line 48 of file mrtk_opt.h.

Referenced by combres(), execses(), mode_name(), procpos(), and udpos().

◆ PMODE_VRS_RTK

#define PMODE_VRS_RTK   12 /* positioning mode: VRS-RTK (CLAS) */

Definition at line 57 of file mrtk_opt.h.

Referenced by execses(), mode_name(), resolve_correction(), rtkinit(), and rtkpos().

◆ POSOPT_FILE

#define POSOPT_FILE   2 /* pos option: read from pos file */

Definition at line 151 of file mrtk_opt.h.

Referenced by antpos().

◆ POSOPT_POS

#define POSOPT_POS   0 /* pos option: LLH/XYZ */

Definition at line 149 of file mrtk_opt.h.

◆ POSOPT_RINEX

#define POSOPT_RINEX   3 /* pos option: rinex header pos */

Definition at line 152 of file mrtk_opt.h.

Referenced by antpos(), and rtkpos().

◆ POSOPT_RTCM

#define POSOPT_RTCM   4 /* pos option: rtcm/raw station pos */

Definition at line 153 of file mrtk_opt.h.

Referenced by update_antpos().

◆ POSOPT_SINGLE

#define POSOPT_SINGLE   1 /* pos option: average of single pos */

Definition at line 150 of file mrtk_opt.h.

Referenced by antpos(), rtksvrstart(), and rtksvrthread().

◆ SBSOPT_FCORR

#define SBSOPT_FCORR   2 /* SBAS option: fast correction */

Definition at line 145 of file mrtk_opt.h.

◆ SBSOPT_ICORR

#define SBSOPT_ICORR   4 /* SBAS option: ionosphere correction */

Definition at line 146 of file mrtk_opt.h.

◆ SBSOPT_LCORR

#define SBSOPT_LCORR   1 /* SBAS option: long term correction */

Definition at line 144 of file mrtk_opt.h.

◆ SBSOPT_RANGE

#define SBSOPT_RANGE   8 /* SBAS option: ranging */

Definition at line 147 of file mrtk_opt.h.

◆ SEEDENH_BASE

#define SEEDENH_BASE   1 /* C/N0 weighting + TDCP jump-reject (default) */

Definition at line 344 of file mrtk_opt.h.

Referenced by rtkpos().

◆ SEEDENH_OFF

#define SEEDENH_OFF   0 /* off: seed bit-identical to prior behaviour */

Definition at line 343 of file mrtk_opt.h.

◆ SEEDENH_ROBUST

#define SEEDENH_ROBUST   2 /* BASE + IGG-III robust (open-sky opt-in) */

Definition at line 345 of file mrtk_opt.h.

Referenced by rtkpos().

◆ SOLF_ENU

#define SOLF_ENU   2 /* solution format: e/n/u-baseline */

Definition at line 65 of file mrtk_opt.h.

Referenced by decode_solopt(), decode_solpos(), outrpos(), outsolheads(), and outsols().

◆ SOLF_GSIF

#define SOLF_GSIF   5 /* solution format: GSI F1/F2 */

Definition at line 68 of file mrtk_opt.h.

Referenced by decode_solopt(), decode_solpos(), decode_soltime(), and outsolheads().

◆ SOLF_LLH

#define SOLF_LLH   0 /* solution format: lat/lon/height */

Definition at line 63 of file mrtk_opt.h.

Referenced by decode_solopt(), decode_solpos(), outrpos(), outsolheads(), and outsols().

◆ SOLF_NMEA

#define SOLF_NMEA   3 /* solution format: NMEA-183 */

Definition at line 66 of file mrtk_opt.h.

Referenced by outheader(), outsolexs(), outsolheads(), outsols(), and rtksvrmark().

◆ SOLF_STAT

#define SOLF_STAT   4 /* solution format: solution status */

Definition at line 67 of file mrtk_opt.h.

Referenced by decode_soltime(), outheader(), outsolheads(), rtksvrmark(), and writesol().

◆ SOLF_XYZ

#define SOLF_XYZ   1 /* solution format: x/y/z-ecef */

Definition at line 64 of file mrtk_opt.h.

Referenced by decode_refpos(), decode_solopt(), decode_solpos(), outrpos(), outsolheads(), and outsols().

◆ SOLQ_DGPS

#define SOLQ_DGPS   4 /* solution status: DGPS/DGNSS */

Definition at line 74 of file mrtk_opt.h.

Referenced by decode_nmearmc(), outnmea_rmc(), ppp_rtk_pos(), relpos(), and relposvrs().

◆ SOLQ_DR

#define SOLQ_DR   7 /* solution status: dead reconing */

Definition at line 77 of file mrtk_opt.h.

◆ SOLQ_FIX

#define SOLQ_FIX   1 /* solution status: fix */

◆ SOLQ_FLOAT

#define SOLQ_FLOAT   2 /* solution status: float */

Definition at line 72 of file mrtk_opt.h.

Referenced by combres(), outnmea_rmc(), ppp_rtk_pos(), relpos(), relposvrs(), and rtkpos().

◆ SOLQ_NONE

◆ SOLQ_PPP

#define SOLQ_PPP   6 /* solution status: PPP */

Definition at line 76 of file mrtk_opt.h.

Referenced by outnmea_rmc(), pppos(), rtkpos(), and update_stat().

◆ SOLQ_SBAS

#define SOLQ_SBAS   3 /* solution status: SBAS */

Definition at line 73 of file mrtk_opt.h.

Referenced by estpos(), and outnmea_rmc().

◆ SOLQ_SINGLE

#define SOLQ_SINGLE   5 /* solution status: single */

◆ TIMES_GPST

#define TIMES_GPST   0 /* time system: gps time */

Definition at line 84 of file mrtk_opt.h.

Referenced by decode_solopt().

◆ TIMES_JST

#define TIMES_JST   2 /* time system: jst */

Definition at line 86 of file mrtk_opt.h.

Referenced by decode_solopt(), decode_soltime(), and outsols().

◆ TIMES_UTC

#define TIMES_UTC   1 /* time system: utc */

Definition at line 85 of file mrtk_opt.h.

Referenced by decode_solopt(), decode_soltime(), and outsols().

◆ TROPOPT_EST

#define TROPOPT_EST   3 /* troposphere option: ZTD estimation */

◆ TROPOPT_ESTG

#define TROPOPT_ESTG   4 /* troposphere option: ZTD+grad estimation */

◆ TROPOPT_OFF

#define TROPOPT_OFF   0 /* troposphere option: correction off */

Definition at line 102 of file mrtk_opt.h.

Referenced by tropcorr().

◆ TROPOPT_SAAS

#define TROPOPT_SAAS   1 /* troposphere option: Saastamoinen model */

Definition at line 103 of file mrtk_opt.h.

Referenced by model_trop(), pntpos(), and tropcorr().

◆ TROPOPT_SBAS

#define TROPOPT_SBAS   2 /* troposphere option: SBAS model */

Definition at line 104 of file mrtk_opt.h.

Referenced by model_trop(), and tropcorr().

◆ TROPOPT_ZTD

#define TROPOPT_ZTD   5 /* troposphere option: ZTD correction */

Definition at line 107 of file mrtk_opt.h.

Typedef Documentation

◆ prcopt_t

typedef struct prcopt_t prcopt_t

Function Documentation

◆ resolve_correction()

int resolve_correction ( prcopt_t * opt,
char * msg,
size_t msgsz )
extern

Definition at line 165 of file mrtk_opt.c.

References ARMODE_CONT, CORR_AUTO, CORR_BDS_B2B, CORR_GAL_HAS, CORR_IGS, CORR_IGS_RTS, corr_name(), CORR_NONE, CORR_QZS_CLAS, CORR_QZS_MADOCA, prcopt_t::correction, EPHOPT_PREC, EPHOPT_SSRAPC, EPHOPT_SSRCOM, prcopt_t::ionoopt, IONOOPT_EST, prcopt_t::mode, mode_name(), prcopt_t::modear, PMODE_PPP_FIXED, PMODE_PPP_KINEMA, PMODE_PPP_RTK, PMODE_PPP_STATIC, PMODE_VRS_RTK, and prcopt_t::sateph.

Here is the call graph for this function:

◆ set_bdsopt()

int set_bdsopt ( const prcopt_t * opt,
int warn )
extern

Apply the BeiDou PRN-reassignment options process-wide.

Calls set_bds2prn(opt->bds2prn) and set_bds3igso(opt->bds3igso). With warn, also prints to stderr when a list is invalid, or when BeiDou is enabled (opt->navsys) but bds2prn was not given by the configuration (opt->bds2prn_set).

Parameters
[in]optProcessing options
[in]warnPrint warnings to stderr (0: trace only)
Returns
1: ok, 0: an invalid list was replaced by its default

Definition at line 282 of file mrtk_nav.c.

References prcopt_t::bds2prn, prcopt_t::bds2prn_set, prcopt_t::bds3igso, prcopt_t::navsys, set_bds2prn(), set_bds3igso(), SYS_CMP, and trace().

Referenced by postpos(), and rtkinit().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ prcopt_default

const prcopt_t prcopt_default
extern

Definition at line 31 of file mrtk_opt.c.

Referenced by resetsysopts(), rtksvrinit(), and setopt_apppos().

◆ solopt_default

const solopt_t solopt_default
extern

Definition at line 92 of file mrtk_opt.c.

Referenced by readsolt(), resetsysopts(), rtksvrinit(), and writesol().