Page 1 of 1

Can two applications use one bladerf board ?

Posted: Tue Dec 08, 2015 11:51 am
by blrfuser
I have a single bladeRF board.

I am sucessfully running a single application like this:

airprobe_rtlsdr.py -f 1960.8M

and everything works fine.

However, I would like to monitor *two* GSM base stations at the same time with just the single bladeRF by running two difference 'airprobe_rtlsdr.py' commands, each on a different frequency. Is this possible ? Can you timeshare the bladerf device, perhaps configuring timeslices to switch back and forth on ?

Thanks.

Re: Can two applications use one bladerf board ?

Posted: Tue Dec 08, 2015 9:13 pm
by bpadalino
No, this doesn't work especially with USB.

What are the two frequencies you want to see? How are you configuring your device?

Re: Can two applications use one bladerf board ?

Posted: Wed Dec 09, 2015 10:40 am
by blrfuser
The two freqs would be something like 1960.8mhz and 850mhz ...

I was hoping I could hop frequencies every second or so ... spending one whole second on each frequency.

Maybe I could just do that myself with a script ... run airprobe for one second, capturing the output, and then kill that process and run it again with a different frequency ... I could just timeshare the device myself.

So am I correct that the gnu radio framework locks the device and only lets one process access the bladeRF at a time ? When I start a second 'airprobe' process simultaneously, it does not work because it can't access the bladeRF instance... ?

Re: Can two applications use one bladerf board ?

Posted: Wed Dec 09, 2015 11:57 am
by Zortz
blrfuser wrote:The two freqs would be something like 1960.8mhz and 850mhz ...

I was hoping I could hop frequencies every second or so ... spending one whole second on each frequency.

Maybe I could just do that myself with a script ... run airprobe for one second, capturing the output, and then kill that process and run it again with a different frequency ... I could just timeshare the device myself.

So am I correct that the gnu radio framework locks the device and only lets one process access the bladeRF at a time ? When I start a second 'airprobe' process simultaneously, it does not work because it can't access the bladeRF instance... ?
Any program that opens the bladeRF locks it - that is my experience.
I would suggest investing into GNURadio. You could make a flow graph to suite your needs.
But it is not going to be easy...so if time = money then maybe best option is to just buy another bladeRF :)

Re: Can two applications use one bladerf board ?

Posted: Thu Dec 10, 2015 10:17 am
by blrfuser
Out of curiousity, is it the same situation with a RTL-SDR device ? If I started a second userland program (like airprobe) that listens on the device, it will be locked out by the first instance of the program ?