ThomasHabets / radiostuff

My collection of gnuradio stuff
BSD 3-Clause "New" or "Revised" License
20 stars 8 forks source link

broadband-scan: no data recorded #2

Open arBalasquide opened 2 years ago

arBalasquide commented 2 years ago

Hey,

I'm tinkering with your flowgraph using a bladeRF sdr and changed freq_start to 2.4ghz and freq_end to 2.5ghz.

Running the program looks like this

A file called broadscan.csv is generated but there is no data inside of it. With the original freq_start/end it still faces the same issue. I've also confirmed I can see 2.4ghz band using my sdr and a separate flowgraph.

Any idea what might be the issue?

Thank you in advance!

ThomasHabets commented 2 years ago

The code as written relies on the SDR sending tags with the frequency, as it changes. I suspect that bladeRF does not.

You should be able to change it to either use another tag that the bladeRF driver can send, or "guess" a bit about after how many samples the new frequency should be tuned.

Essentially the CSV output generator will collect data until the frequency changes, and then output a summary of what it saw at that previous frequency. Then repeat.