/rsp_tcp

An rtl_tcp compatible IQ server for the RSP range of SDRPlay SDR in combination with websdr.org servers.

Primary LanguageCGNU General Public License v3.0GPL-3.0

rsp_tcp

(c)2018 F4FHH Nicolas (f4fhh@ducor.fr). Licensed under the GNU GPL V3

(c)2020 ON5HB Bas Heijermans, Forked and adjusted for websdr.org

An rtl_tcp compatible IQ server for the RSP range of SDRPlay SDR but does NOT support the RSPdx

This driver has been tested and works perfect with the RSP1A and RSP2

rsp_tcp is a direct port of rtl_tcp for the RSP range of SDRPlay SDR.

As the rtl_tcp protocol is only 8 bits IQ but uses the 14bit range. Because the ENOB of the RSP is a lot better, the output quality is far better then the RTL-stick.

  1. It will work with any rtl_tcp capable frontend (probably), see usage below
  2. As it's opensource, you could compile it on any Linux server

OPTIONS

Usage:

-a listen address

-p listen port (default: 1234)

-d RSP device to use (default: 1, first found)

-P Antenna Port select* (0/1/2, default: 0, Port A)

-r Gain reduction (default: 34 / values 0 upto 59)

-l Low Noise Amplifier disable* (default: enabled)

-T Bias-T enable* (default: disabled)

-D DAB Notch disable* (default: enabled)

-B Broadcast Notch disable* (default: enabled)

-R Refclk output enable* (default: disabled)

-f frequency to tune to (Hz) - If freq set center/prog freq is ignored from client!!

-s samplerate in [Hz] - If sample rate is set it will be ignored from client!!

-W wideband enable* (default: disabled)
		
-A Auto Gain Control (default: -34 / values 0 to -60)

-G Auto Gain Control Loop-bandwidth in Hz (default: 50 / values 0/5/50/100)

-n max number of linked list buffers to keep (default: 512)

-o Use decimate can give high CPU load (default: minimal-programmed / values 2/4/8/16/32 / 1 = auto-best)

-v Verbose output (debug) enable (default: disabled)

USAGE

  • This software is optimised for usage with websdr.org software.
  • Use !rtl_sdr adress/port/ppm like you normally would with an RTL-dongle
  • RTL RF gain is set automaticly, not much change needed unless signals are too low or high
  • RTL sample rates tested are those in the websdr.org documentation but lower even down to 62500 has been tested.
  • Install the HW/API 2.13 driver from RSPplay for the RSP1A first!!

BUILDING

  mkdir build
  cd build
  cmake ..
  make
  sudo make install

NOTES

  • a RSP API version 2.13 (no other tested!) must be installed on the linux server, see sdrplay linux downloads
  • It does compile and run on Raspbian (Raspberry Pi2 tested but isn't fast enough)
  • It should compile on windows as the initial code from rtl_tcp does
  • The goal of this software is ONLY to work well with websdr.org, no other websdr servers or RTL-compatible software but it may work.

TODO

  • BiasT doesn't work no matter what I try, tested 2 RSP1A no BiasT

HISTORY (later versions are forked by Bas ON5HB from original of F4FHH)

  • Version 0.1.0: Initial build
  • Version 0.1.4: Added extra options Bas.
  • Version 0.4.5: Added more samplerates that work 64/96/128/192/384/512/768/1024/1536/2048/2880K
  • Version 1.2.6: Finally found the correct conversion to 8bit :-)

CREDITS