[Hackrf-dev] osmocom python scripts
Martin Smith
martin_z_smith at yahoo.ie
Sat Mar 12 20:25:02 EST 2016
If you type "osmocom_fft --help"
One of the supported arguments is "-a ARGS, --args=ARGS Device args,
[default=]"
If you look http://sdr.osmocom.org/trac/wiki/GrOsmoSDR#HackRFSourceSink
it says that a supported argument is "hackrf=<device-index>
So to use two different devices:
osmocom_fft -a hackrf=0 ...
osmocom_fft -a hackrf=1 ...
Or you could specify the last 4 or 8 digits of your serial number (
"hackrf_info" ) to avoid any USB enumeration problems as to which one is
assigned 0 and which is assigned 1 on different reboots, or in plugged
into different USB ports depending on which device booted up faster.
As for how to do this in python, I have no idea.
On 12/03/2016 22:17, Cinaed Simson wrote:
> Hi - how does one specify which device to open with the osmocom_fft,
> etc. python scripts?
>
> Specifying -d and the serial number on the command line returns the
> error "-d no such option".
>
> -- Cinaed
>
>
>
>
> _______________________________________________
> HackRF-dev mailing list
> HackRF-dev at greatscottgadgets.com
> https://pairlist9.pair.net/mailman/listinfo/hackrf-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist9.pair.net/pipermail/hackrf-dev/attachments/20160313/e1b8a341/attachment.html>
More information about the HackRF-dev
mailing list