Multiple hackrf boards support (patch)

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/osmocom-sdr@lists.osmocom.org/.

Heikki Hannikainen hessu at hes.iki.fi
Mon Jun 1 09:33:39 UTC 2015


Hi,

I have a little pull request for gr-osmosdr, to enable multiple devices 
support for hackrf. This allows doing things like full duplex using two 
boards in a single graph.

You can specify either hackrf=0 and hackrf=1 to select by a device index, 
or the serial number (or an unique suffix of a serial number), hackrf=f00d 
and hackrf=1234abba. hackrf_info lists multiple devices and their serial 
numbers. Apps like gqrx seem to magically work, too, and allow device 
selection.

The hackrf project just merged the pull request for libhackrf & tools 3 
days ago, and it's already available in macports at least.

The gr-osmosdr patches here do work against old libhackrf as before, it 
detects the presence of the new hackrf_device_list API and enables 
multiple device support only if it is available.

What is the preferred patch format, I have the changes available as a 
feature branch in github?

https://github.com/hessu/gr-osmosdr/tree/feature/hackrf_multidev

   - Hessu




More information about the osmocom-sdr mailing list