-
Notifications
You must be signed in to change notification settings - Fork 5
Continue processing data when SDR is unplugged and re-plugged in #2
Comments
Hi Ivan, This is more of a limitation of the way USB works as devices are re-enumerated each time they are plugged in or power cycle. You could setup some Linux services which have the Sam. |
When the USB device disconnects, the service doesn't crash.
And when the USB device reconnects, it doesn't do anything. There will be no data. I guess what I need to do is to change the code and make the program crash whenever the USB device disconnects, so that systemctl can then restart it? Which lines of code should I change? |
Hi Ivan, It seems the source queue used in the main loop of Are you using an Airspy or RTL-SDR? |
Hi Sam, I’m using RTL-SDR |
When usb is unplugged and re-plugged in, or if there's a bad usb connection, the program will stop processing data and remain idle. And I have to restart the service.
Is there a way to solve this?
The text was updated successfully, but these errors were encountered: