Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cache discovered HackRF results for claimed devices
- Loading branch information
1 parent
5c121c5
commit 2a0e547
Showing
4 changed files
with
26 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2a0e547
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ly2ss You may want to try this branch "discover_claimed": https://github.com/pothosware/SoapyHackRF/tree/discover_claimed I think it resolves the issue, gave a quick test in python
2a0e547
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. Some progress now:
flowgraph immediately goes into TX state even if I connect hackrf sink to null source.
And btw shouldn't be "[INFO] Opening HackRF One" shown one more time once sink is opened ?
gr-osmosdr v0.1.4-91-gcf954948 (0.1.5git) gnuradio 3.7.12git-119-g0e32fcaf
built-in source types: file fcd rtl rtl_tcp hackrf rfspace soapy redpitaya
[INFO] Opening HackRF One #0 406464c82332614b...
gr-osmosdr v0.1.4-91-gcf954948 (0.1.5git) gnuradio 3.7.12git-119-g0e32fcaf
built-in sink types: hackrf soapy redpitaya file
gr::log :INFO: audio source - Audio sink arch: alsa
len(audio_taps) = 1687
2a0e547
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried another RX/TX grc flow graph (which uses selector) - that one seems to work, So I guess everything is OK now, Thank you!
2a0e547
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool
FYI, the null source is always outputting zeros. You might need a block like NOP so its connected but not streaming,
2a0e547
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ly2ss
I'm trying to get hackrf working with TX/RX. Can you please share your flow graph?
Thanks,
Jake