ha7ilm / openwebrx

Open source, multi-user SDR receiver software with a web interface
https://sdr.hu/openwebrx
GNU Affero General Public License v3.0
980 stars 462 forks source link

OpenWebRX / SoapyAirspy / 3 gain(s) ? #94

Open zanco opened 6 years ago

zanco commented 6 years ago

Hi, running OpenWebRX with one Airspy mini:

Using device Airspy: device_id=0 origin=https://github.com/pothosware/SoapyAirspy Found 1 antenna(s): RX Found 3 gain(s): LNA MIX VGA Found 1 frequencies: RF Found 2 sample rates: 6000000 3000000 Found 0 bandwidths: [INFO] Using format CS16. Using output format: CF32 (input format CS16) Sampling at 6000000 S/s. Tuned to 438000000 Hz. Tuner gain set to 12.00 dB.

How do I pass the 3 gain values to the Airspy Mini ?

Thanks, Ben

ha7ilm commented 6 years ago

Yes, that's a problem. rx_tools currently does not have a generic way to set gain values:

https://github.com/rxseger/rx_tools/blob/master/src/convenience/convenience.c#L262

...it is rather hardwired for HackRF and RTL-SDR.