Skip to content
/ rsp_tcp Public
forked from ON5HB/rsp_tcp

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

License

Notifications You must be signed in to change notification settings

jh2000/rsp_tcp

 
 

Repository files navigation

rsp_tcp

(c)2018 F4FHH Nicolas ([email protected]). Licensed under the GNU GPL V3

(c)2021 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 20-59)

-l Low Noise Amplifier disable (default: 1 / values 0-9)
		
-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: 5 / values 0/5/50/100)

-N Noise Shaping enabled / disabled, thanks to Jan PA0SIM

-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

  apt install build-essential (debian)
  mkdir build
  cd build
  cmake ..
  make
  sudo make install
  (run: ldconfig if devices are not indexed after 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 but only 32bit Linux (Raspberry Pi4 tested and it's 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/256/384/512/768/1024/1536/2048/2880K
  • Version 1.2.6: Finally found the correct conversion to 8bit :-)
  • Version 1.3.3: Conversion error.
  • Version 1.3.9: changed to normal RSP_gain/lna tables and corrected several init-errors.
  • Version 1.6.2: Found RSP1 and RSP2 are 12bit and not 14bit like newer models.
  • Version 1.6.8: Made changes so it works with OpenWebrx RTL-TCP upto 8~10MHz wide
  • Version 1.8.0: Noise Shaping, makes it almost 9bit in depth, increasing dynamic range but pass band is smaller. E.g. 1MSPS will give 600KSPS usable, the rest is deaf and filled with noise. At 2MSPS it will give 1.6MSPS, but that is fine, it never did better before anyway :-)

CREDITS

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 85.3%
  • CMake 8.9%
  • Shell 5.8%