-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
read
with RTLSDR sometimes returns TIMEOUT
or OVERFLOW
#13
Comments
Some other notes. This is fine looping for several minutes:
But this fails almost immediately:
|
Okay so some further investigation. I think this is actually expected behavior. The stream is buffered in the SoapySDR layer, and read by us. If we don't read fast enough, it will throw the buffer overflow error. Wrapping in
This should be documented and explained, so I will leave this open for further discussion and ideation. |
Related: pothosware/SoapyAirspy#10 (comment) It seems that the ideal number of samples to request is |
It is not handled at the highlevel API yet, but the following should work:
I think a reasonable solution here will be to use |
FYI with #18 this becomes simply:
So the MTU is now baked-in and a stream type is no longer needed, we use the native format supported by the device (multiple dispatch FTW!). |
With #22 these error should not occur. Please comment and reopen if otherwise. |
This seems to happen a few times (from 1 to maybe 10) after
activate!()
is called. Onceread
succeeds, it never seems to fail again.The text was updated successfully, but these errors were encountered: