(c)2018 F4FHH Nicolas ([email protected]). Licensed under the GNU GPL V3
(c)2021 ON5HB Bas Heijermans, Forked and adjusted for websdr.org
PLEASE DO NOT CONTACT ME ABOUT CLONES, I DO NOT SUPPORT THEM, YOU ARE ON YOUR OWN IF YOU BUY THOSE. THEY HURT SDRPLAY AS A COMPANY.
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.
- It will work with any rtl_tcp capable frontend (probably), see usage below
- As it's opensource, you could compile it on any Linux server
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)
- 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!!
apt install build-essential (debian)
mkdir build
cd build
cmake ..
make
sudo make install
(run: ldconfig if devices are not indexed after install)
- 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.
- BiasT doesn't work no matter what I try, tested 2 RSP1A no BiasT
- 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 :-)
- Open Source Mobile Communications (OSMOCOM) team for the original rtl_tcp code
- Thierry Leconte for many ideas that I found in his Airspy port of rtl_tcp
- Tony Hoyle for the initial idea
- Pothosware for the cmake build examples
- Nicolas F4FHH for creating the original code to work with rtl_tcp compatible software
- [Jan PA0SIM] for his help in making the driver better and better.