pothosware / SoapySDRPlay2

Soapy SDR plugin for SDRPlay
MIT License
51 stars 11 forks source link

getDriverKey returns SDRplay but SoapySDRUtil --find only accepts sdrplay #53

Closed jazzkutya closed 5 years ago

jazzkutya commented 5 years ago

I guess getDriverKey should return something that works in this command, but nope:

vrm@zivatar:~$ SoapySDRUtil --find='driver = SDRplay'
######################################################
##     Soapy SDR -- the SDR abstraction library     ##
######################################################

No devices found!
vrm@zivatar:~$ SoapySDRUtil --find='driver = sdrplay'
######################################################
##     Soapy SDR -- the SDR abstraction library     ##
######################################################

Found device 0
  driver = sdrplay
  label = SDRplay Dev0 RSP1
  serial = [removed]
guruofquality commented 5 years ago

Potentially there could be more than one hardware support class instantiated by the factory function, the driver key was meant to be representative of this. In practice, its just always ended up being the name of the project in camel case.