Change in gr-gsm[master]: Filter out SoapyAudio devices

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Vasil Velichkov gerrit-no-reply at lists.osmocom.org
Thu May 2 21:22:45 UTC 2019


Hello Piotr Krysik, Vadim Yanitskiy, 

I'd like you to reexamine a change. Please visit

    https://gerrit.osmocom.org/13812

to look at the new patch set (#3).

Change subject: Filter out SoapyAudio devices
......................................................................

Filter out SoapyAudio devices

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
---
M apps/grgsm_livemon.grc
M apps/grgsm_livemon_headless.grc
M apps/grgsm_scanner
M apps/helpers/grgsm_capture
M python/__init__.py
M python/misc_utils/CMakeLists.txt
A python/misc_utils/device.py
7 files changed, 89 insertions(+), 8 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/gr-gsm refs/changes/12/13812/3
-- 
To view, visit https://gerrit.osmocom.org/13812
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: gr-gsm
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ib84081041ca6c2bc18b9da0c32bac9d3ecef65ca
Gerrit-Change-Number: 13812
Gerrit-PatchSet: 3
Gerrit-Owner: Vasil Velichkov <vvvelichkov at gmail.com>
Gerrit-Reviewer: Piotr Krysik <ptrkrysik at gmail.com>
Gerrit-Reviewer: Vadim Yanitskiy <axilirator at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190502/8dd99e91/attachment.htm>


More information about the gerrit-log mailing list