hackrf icon indicating copy to clipboard operation
hackrf copied to clipboard

Hackrf + operacake switching

Open Foabi opened this issue 4 months ago • 1 comments

What would you like to know?

I m trying to see a real-time frequency spectrum + spectogram on a VM , working with GNURadio. I have my Hackrf connected via USB to laptop then from hackrf(antenna port) to operacake(port A0) with a SMA connector and 2 antennas on A4,B4. Tested the antenna port with different antennas and it works. When i want to do the switching while running the flowgraph i received this "hackrf_operacake -m manual -a 0 -b 4 hackrf_open() failed: Resource busy (-1000)" This was a manual test, but now it is implemented in a python block inside GNURadio. Any help how to do the switching in real time? Also want to add that even if i do manual switching when the gnuradio isn't started no LED's turn on my board. I followed the instruction about manually switching but I ve seen i also got a problem there since testing something like " hackrf_operacake -m -a A4 or / -a B4 " when testing the antenna the results revolve around -40 dBm any change i would do to antennas switch.

Foabi avatar Jun 03 '25 11:06 Foabi