path: root/lib
diff options
authorVasil Velichkov <vvvelichkov@gmail.com>2019-04-17 18:28:46 +0300
committerVasil Velichkov <vvvelichkov@gmail.com>2019-05-03 00:20:34 +0300
commit54580d148d4c184483a5a398b8ca64545aadee4b (patch)
tree4a2c845a37b5457724fbd22feee41fe9b479c472 /lib
parent61e42c849dedc8f75e4e821b563dea390708d5e1 (diff)
Filter out SoapyAudio devicesHEADmaster
When gr-osmosdr is compiled with SoapySDR support and SoapyAudio is installed the audio device is picked as a first choice when detecting devices but grgsm tools are not able to work with audio devices. So in such cases the user has to always specify the correct SDR device in the args parameter which is a bit inconvenient. When args is not specified call osmosdr.device_find to get all devices and filter out unspported ones like SoapyAudio devices. When args is specifed just try to create osmosdr.source with whatever value has been specified. Add -l and --list-devices command line option that prints information about all detected devices. Example commands: grgsm_capture --list-devices grgsm_capture --list-devices --args=nofake grgsm_capture --args=uhd,type=b210 -a 111 capture.cfile grgsm_livemon --args=rtl grgsm_livemon --args=uhd,type=b210 Change-Id: Ib84081041ca6c2bc18b9da0c32bac9d3ecef65ca
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions