If the underlying stream fails (e.g., the bladeRF is unplugged while streaming), the sync_rx/tx calls do not return with an error if called with timeout_ms=0.
A workaround is to set the timeout_ms parameter to a non-zero value when using sync_rx/sync_tx, such as 3000 (3 seconds). The failure will result in the sync call timing out.
I will be pushing a dev-issue_233 branch with a fix tonight or tomorrow. Stay tuned.
If the underlying stream fails (e.g., the bladeRF is unplugged while streaming), the sync_rx/tx calls do not return with an error if called with timeout_ms=0.
A workaround is to set the timeout_ms parameter to a non-zero value when using sync_rx/sync_tx, such as 3000 (3 seconds). The failure will result in the sync call timing out.
I will be pushing a dev-issue_233 branch with a fix tonight or tomorrow. Stay tuned.