SoapySDRPlay3 driver for SDRplay API 3.01

Add useful snippets of code or links to entire SDR projects.
Posts: 37
Joined: Sun Dec 25, 2016 4:24 pm

SoapySDRPlay3 driver for SDRplay API 3.01

Postby fventuri » Sat Mar 02, 2019 6:51 pm

I just created a new git repository ( that has a SoapySDR driver that uses the new SDRplay API version 3.01 (see here viewtopic.php?f=6&t=3997). This driver is based on Charles J. Cliffe's excellent work (

Instructions to build and test the driver are in the README file.

To be able to run the SoapySDRPlay3 driver you have to have the sdrplay_api service up and running.

I tested and ran this driver with CubicSDR on Linux (Fedora 29, to be exact); the waterfall looks OK and I was able to demodulate a couple of stations at different sample rates - of course more testing needs to be done.

You should be able to run this driver side by side with the SoapySDRPlay driver (it works for me and CubicSDR can see the same RSP device with both drivers, of course you want to use one or the other).

Finally I was only able to test it with my RSP2; since I don't have an RSPduo, I don't know for sure how/if it works in Dual Tuner mode; I think I coded all the necessary changes to the driver to support 2 channels as should be the case in Dual Tuner mode, but I can't really run any tests for this case (or for the master/slave mode); I would definitely be very interested if anyone can give it a try using an RSPduo and try the different modes available there to see what happens.

Let me know if you have any problems building and running this SoapySDR driver.


Reason: No reason

Posts: 91
Joined: Sat Dec 29, 2018 1:07 pm
Location: Heppen - Belgium

Re: SoapySDRPlay3 driver for SDRplay API 3.01

Postby ON5HB » Mon Mar 04, 2019 6:08 pm

Why are you using it?
It was stated for developers only and it's not working with most software.

In other topics you have problems, but yet you use the testing-API that is not said to be compatible.

I tested it myself as well and removed it, as it simply isn't useful.

Reason: No reason

Bas - ON5HB

Posts: 892
Joined: Wed Jan 07, 2015 7:58 am

Re: SoapySDRPlay3 driver for SDRplay API 3.01

Postby sdrplay » Tue Mar 05, 2019 6:50 am


Many thanks for this. I will take a look and let you know how it works. We need to move the SoapySDRPlay interface to API 3.x so that it is compatible with dual tuner support on the RSPduo. Once this is working, you should be able to either run 2 instances of CubicSDR on the same RSPduo or maybe run 1 instance of CubicSDR and dump1090 for example. Having this work with Gnu Radio will allow both IQ streams to be accessed at the same time so this is definitely a good step forward.

Best regards,

SDRplay Support

Reason: No reason

Return to “Code Corner”

Who is online

Users browsing this forum: No registered users and 9 guests