Sylphase SDGPS
The software-defined GPS(/GNSS) toolkit
uhd-tx

Type signature: (raw->[raw])

The uhd-tx node is for using a device supported by the libuhd USRP hardware driver library. Using this node, a raw stream can be transmitted.

Help

Usage:

uhd-tx [OPTION]...

Allowed options:

Option Description
--help produce help message
--gnss-streams GNSS_STREAMS (=0) comma-separated list of GNSS stream index for each output channel (example for dual-channel output on B210: 0,1)
--subdev-spec SUBDEV_SPEC comma-separated list of UHD subdevs for each output channel (example for dual-channel output on B210: A:A,A:B)
--tx-gain arg (=20) gain in dB for each output channel, also accepts a comma-separated list of gain in dB for each output channel (example for dual-channel output on B210: 30,40)
--clock-source arg (=internal) USRP frequency reference (i.e. 10 MHz source) (valid options: internal, external, gpsdo; printed at startup)
--time-source arg (=internal) USRP time reference (i.e. PPS source) (valid options: internal, external, gpsdo; printed at startup)
--master-clock-rate arg override libuhd's master clock rate (units: Hertz)
--pps-output-shift arg (=0) delay generated PPS GPIO signal by this duration (units: seconds; positive is delay, negative is advance)
--pps-output-gpio-pin arg output PPS on this GPIO pin on FP0 bank
--dev-addr arg device address for libuhd
--strict-pps-checking if --time-source is "external" or "gpsdo", then check PPS signal and abort if it drifts or is absent for 3 seconds (default: only check PPS for first 300 seconds; after that point, only print warnings)
--disable-latency-compensation disable default behavior of shifting I/Q samples earlier in time to compensate for estimated DSP latency of hardware
--delay-rf-output DURATION (=0) delay generated RF signal by DURATION seconds
--delay-rf-output-statlog VARIABLE_NAME dynamically delay generated RF signal by the value of StatLog variable VARIABLE_NAME
--coordinate-pps-alignment-via FILENAME coordinate the startup of multiple uhd-tx nodes via the provided FILENAME, which must initially either not exist or be empty
--start-tx-coordinated-via FILENAME start transmitting such that the first sample in the raw stream coincides with the instant where the system CLOCK_REALTIME clock's value, converted from UTC to GNSS time, is equal to the GNSS time value read from FILENAME

* Designed to be used in conjunction with "shift-gnss-time --start-now-coordinated-via FILENAME", which is guaranteed to write its START_TIME value to FILENAME before uhd-tx receives the first raw sample packet
--require-device-immediately require device to be captured immediately or exit
--buffer-size arg (=0.100000000000000000) make inter-thread circular buffer at least this large (units: seconds)
--publish-tx-time-on-port PORT listen on TCP port PORT and send TX_STREAM_TIME-CLOCK_REALTIME offset to connected clients at 1 Hz