Added goTenna Pro TX challenge Support - #11
Conversation
|
@Dollarhyde if you have the grc flowgraph for gotenna_pro_bladerf, can you add that? It would also be good to make this not specific to the bladeRF, and allow passing in an osmosdr device string as a parameter. Same thing with a parameter to allow specifying the antenna port. |
This flowgraph is only designed to work with bladerf. There are two other flowgraphs, one for hackrf and one for USRP. They are all available here: https://github.com/argilo/gr-tenna We can add those if we want to use other SDRs to ensure full compatiblity. |
gr-tenna has separate flowgraphs for different SDR devices, but all of the flowgraphs currently in challengectl work with multiple device types. We should have a single flowgraph or script for multiple device types before merging it into challengectl. If the flowgraph truly can't be updated to accommodate multiple types of SDR devices (at least bladeRF, hackrf, USRP), we need to include flowgraphs for each, and logic to select the appropriate flowgraph for the device type. Updating and simplifying the flowgraph to account for these is preferred, at least for now. |
The gotenna_pro_tx_bladerf.grc flowgraph in gr-tenna uses an osmocom sink with a static device string of "bladerf=0,biastee=1". Updating this flowgraph to add a deviceargs parameter, which then gets passed in to the osmocom sink's device arguments, is likely enough to make this work with all 3 of the main device types. We should also include the .grc in addition to the corresponding .py for the challenge in challengectl. |
|
CI has been updated and passes. I'm leaving this to @dperret to approve though, because I know much less about how this works. |
| def sig_handler(sig=None, frame=None): | ||
| tb.stop() | ||
| tb.wait() | ||
|
|
||
| sys.exit(0) | ||
|
|
||
| signal.signal(signal.SIGINT, sig_handler) | ||
| signal.signal(signal.SIGTERM, sig_handler) |
There was a problem hiding this comment.
These lines need to be commented out or removed so that the device can be released.
| def sig_handler(sig=None, frame=None): | ||
| tb.stop() | ||
| tb.wait() | ||
|
|
||
| sys.exit(0) | ||
|
|
||
| signal.signal(signal.SIGINT, sig_handler) | ||
| signal.signal(signal.SIGTERM, sig_handler) |
There was a problem hiding this comment.
These lines need to be commented out or removed so that the device can be released.
This pull request sets up goTenna Pro TX challenge