fventuri / nrsc5

NRSC-5 receiver for SDRplay API, SoapySDR, and RTL-SDR
Other
13 stars 1 forks source link

Can't seem to select antenna port with RSPdx #1

Closed dragonbytes closed 1 year ago

dragonbytes commented 1 year ago

Hi, I really really appreciate your port of this great tool to SDRplay platform and it works great with my RSP1a. I'm running under an ubuntu-based linux distro and have the latest SDRplay API 3.x installed. I recently bought an RSPdx that has 3 antenna inputs. I see in command line arguments there is a flag for '-A antenna' which I assume is to allow me to choose which connection to tune with. However no combination of parameters allows me to select one. I have tried numbers 0-3 with the -A flag as well as characters A,B,C however nrsc5 still says "antenna: 0" and it won't tune to the right port. Am I missing something? What is the appropriate syntax to select antenna port and is it even compatible with the RSPdx? Thanks again for your work on this project!

dragonbytes commented 1 year ago

Since no one answered my question, I had to figure it out the hard way by looking through the source code. If anyone else is trying to figure this out, you will have to read through the source too on your own... NAHHH just kidding lol. To select antenna A for example, the flag would be -A "Antenna A". you HAVE to include the whole word Antenna in the parameter followed by a space and then the port letter, so you will want to put the argument in quotes like in my example. Hope this helps someone!