[GNSS-SDR]
; SPDX-FileCopyrightText: Carles Fernandez-Prades, 2018 carles.fernandez@cttc.es
; SPDX-License-Identifier: GPL-3.0-or-later

;######### GLOBAL OPTIONS ##################
;internal_fs_sps: Internal signal sampling frequency after the signal conditioning stage [samples per second].
GNSS-SDR.internal_fs_sps=3000000


;######### SIGNAL_SOURCE CONFIG ############
;#implementation: Use [File_Signal_Source] or [UHD_Signal_Source] or [GN3S_Signal_Source] (experimental)
SignalSource.implementation=File_Signal_Source

;#filename: path to file with the captured GNSS signal samples to be processed
SignalSource.filename=./data/L125_III1b_210s_L2_3Msps.bin  ; <- Available at https://zenodo.org/record/1184601

;#item_type: Type and resolution for each of the signal samples. Use only gr_complex in this version.
SignalSource.item_type=ibyte

;#sampling_frequency: Original Signal sampling frequency in [Hz]
SignalSource.sampling_frequency=3000000

;#samples: Number of samples to be processed. Notice that 0 indicates the entire file.
SignalSource.samples=0

;#repeat: Repeat the processing file. Disable this option in this version
SignalSource.repeat=false

;#dump: Dump the Signal source data to a file. Disable this option in this version
SignalSource.dump=false

;#enable_throttle_control: Enabling this option tells the signal source to keep the delay between samples in post processing.
; it helps to not overload the CPU, but the processing time will be longer.
SignalSource.enable_throttle_control=false


;######### SIGNAL_CONDITIONER CONFIG ############

SignalConditioner.implementation=Signal_Conditioner

;######### DATA_TYPE_ADAPTER CONFIG ############

DataTypeAdapter.implementation=Ibyte_To_Complex

;######### INPUT_FILTER CONFIG ############

InputFilter.implementation=Pass_Through


;######### RESAMPLER CONFIG ############

Resampler.implementation=Pass_Through
Resampler.item_type=gr_complex


;######### CHANNELS GLOBAL CONFIG ############

Channels_2S.count=10

;Channels.in_acquisition=1

Channel0.signal=2S
Channel1.signal=2S
Channel2.signal=2S
Channel3.signal=2S
Channel4.signal=2S
Channel5.signal=2S
Channel6.signal=2S
Channel7.signal=2S
Channel8.signal=2S
Channel9.signal=2S

;######### SPECIFIC CHANNELS CONFIG ######

Channel0.satellite=19

;######### ACQUISITION GLOBAL CONFIG ############

Acquisition_2S.implementation=GPS_L2_M_PCPS_Acquisition

Acquisition_2S.item_type=gr_complex

Acquisition_2S.doppler_max=4500

Acquisition_2S.doppler_step=125

Acquisition_2S.use_CFAR_algorithm=false

Acquisition_2S.threshold=10

Acquisition_2S.blocking=true


;######### TRACKING GLOBAL CONFIG ############

Tracking_2S.implementation=GPS_L2_M_DLL_PLL_Tracking

Tracking_2S.item_type=gr_complex

Tracking_2S.pll_bw_hz=4.0;

Tracking_2S.dll_bw_hz=1;

Tracking_2S.early_late_space_chips=0.5;

Tracking_2S.dump=true

Tracking_2S.dump_filename=./data/track_ch_


;######### TELEMETRY DECODER CONFIG ############

TelemetryDecoder_2S.implementation=GPS_L2C_Telemetry_Decoder


;######### OBSERVABLES CONFIG ############

Observables.implementation=Hybrid_Observables


;######### PVT CONFIG ############

PVT.implementation=RTKLIB_PVT

PVT.positioning_mode=Single; options: Single, Static, Kinematic, PPP_Static, PPP_Kinematic
PVT.iono_model=OFF; options: OFF, Broadcast, SBAS, Iono-Free-LC, Estimate_STEC, IONEX
PVT.trop_model=OFF; options: OFF, Saastamoinen, SBAS, Estimate_ZTD, Estimate_ZTD_Grad

;#output_rate_ms: Period between two PVT outputs. Notice that the minimum period is equal to the tracking integration time [ms]
PVT.output_rate_ms=100

;#display_rate_ms: Position console print (std::out) interval [ms]. Notice that output_rate_ms<=display_rate_ms.
PVT.display_rate_ms=500

;# KML, GeoJSON, NMEA and RTCM output configuration
;#dump_filename: Log path and filename without extension. Notice that PVT will add ".dat" to the binary dump and ".kml" to GoogleEarth dump.
PVT.dump_filename=./data/access18

;#nmea_dump_filename: NMEA log path and filename
PVT.nmea_dump_filename=./gnss_sdr_pvt.nmea

;#flag_nmea_tty_port: Enable or disable the NMEA log to a serial TTY port (Can be used with real hardware or virtual one)
PVT.flag_nmea_tty_port=false

;#nmea_dump_devname: serial device descriptor for NMEA logging
PVT.nmea_dump_devname=/dev/pts/4

PVT.flag_rtcm_server=false

PVT.rtcm_tcp_port=2101

PVT.rtcm_station_id=1234

PVT.flag_rtcm_tty_port=false

PVT.rtcm_dump_devname=/dev/pts/1

PVT.dump=true

PVT.elevation_mask=5
