GitHunt
DC

DC9ST/librtlsdr-2freq

Modified librtlsdr with switch between two receive frequencies

librtlsdr for 2-Frequency-Reception

Description

Modified librtlsdr (rtl_sdr command) to enable seamless switching of frequency during reception.
This is based on the async_rearrangement branch of librtlsdr.

This lib enables TDOA localization with RTL-SDRs, when a reference transmitter is used for synchronization. More information:
http://www.panoradio-sdr.de/tdoa-transmitter-localization-with-rtl-sdrs/

Usage

rtl_sdr -f <frequency 1> -h <frequency 2> -n <num_samples> <out_filename>

receives first <num_samples> IQ samples at <frequency 1> (in Hz), then <num_samples> IQ samples at <frequency 2>, then again <num_samples> at <frequency 1> without interruption. For help and more options type rtl_sdr.

Example Usage:
rtl_sdr -f 200e6 -h 100e6 -n 1e3 record.dat
receives first 1000 IQ samples at 200 MHz, then 1000 IQ samples at 100 MHz, then again 1000 at 200 MHz without interruption, resulting in 3000 samples in total.

Build Instructions

  1. navigate to main folder librtlsdr-2freq/
  2. mkdir build
  3. cd build
  4. cmake ../
  5. make

binaries (rtl_sdr) can then be found in build/src/

DC9ST, 2017-2019

Languages

C88.9%CMake7.4%Shell1.5%C++0.8%Makefile0.7%M40.6%

Contributors

GNU General Public License v3.0
Created August 22, 2017
Updated May 22, 2025