-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
Since the HackRF is half duplex, it can only work as an RX or TX. Not both. I have two HackRF's. I'm trying to get SoapyMultiSDR to run one HackRF as TX and another as RX, but Soapy is only connecting one as RX and TX then ignoring the other which doesn't work.
If I adjust this source code and change HackRF_Settings.cpp where line 160 reads the below code, I can force the HackRF to be RX or TX once compiled.
For TX:
return (dir == SOAPY_SDR_RX) ? 1 : 0;
For RX:
return (dir == SOAPY_SDR_RX) ? 0 : 1;
However, this will overwrite the SoapyHackRF driver. I need separate drivers for only RX and only TX. My attempts to compile the source as a separate instance by editing the CMakeList has only caused crashes when trying to run.
Metadata
Metadata
Assignees
Labels
No labels