Closed mastmees closed 1 year ago
I develop and test auto_rx on OSX and a Macbook Pro M1, though I don't usually run it for very long periods.
There's a fair few changes in here that I need to look at. A few points:
new PR created against testing branch
Here are the code changes I made for running auto_rx on MacOS. The main things are choosing appropriate existing timeout command and ensuring the main program terminates even if worker threads are not joining. The failure to join is mostly caused by external utilities hanging, which in turn is caused by instability of SDR hardware/drivers/utilities.
The main program now returns with consistent exit codes, so that external SDR resetting script can be used to perform hardware reset on non-linux platforms.
With these changes, auto_rx.sh has been running unattended on my mac for many days without issue. Feel free to use what you see fit for the project.
Cheers.