-
Notifications
You must be signed in to change notification settings - Fork 85
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
"Error: unable to receive stop scanning command response" in example.cc #35
Comments
Could well be related to #27 A temporary fix is described there (increasing the sleep duration before sending the second stop command). This will soon be replaced by a proper parse/check for the Try bumping up the sleep duration in this line: Line 151 in f2cb07e
Maybe try doubling or increasing by an order of magnitude. Value is in microseconds, so its still a tiny pause for something like stopping the device. |
@matpalm can you change the |
sure. won't be able to until Friday though sorry, bit busy
…On Sun, Feb 5, 2017, 13:51 Daniel J. H. ***@***.***> wrote:
@matpalm <https://github.com/matpalm> can you change the sleep call from
0.005s to x 2 the amount (and if it still does not work x 10) and report
back please. I would love to get a sense of how long we have to wait and if
this is a feasible hack^W workaround instead of implementing data packet
decision logic ourselves.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#35 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABULWti5pEHcTHuGVXf9613sJsr_UQRks5rZkR_gaJpZM4LwSUC>
.
|
Any updates here? We're waiting for 20ms now to give the hardware a chance to stop sending packets. |
sorry for the super late response :( grabbed latest sweep-sdk and not seeing this anymore from fix looks good, thanks!! |
i'm running
libsweep/examples/example.cc
to get some calibration data and often find that after a quick stop/start i getError: unable to receive stop scanning command response
orError: unable to receive start scanning command response
3 or 4 times before getting connectivity again. Unplugging the device and replugging it back in always seems to clear the problem (i.e. I don't get this error the first time I run the example).Is this expected? Is there additionally debugging I can provide?
The text was updated successfully, but these errors were encountered: