Closed brusangel closed 7 years ago
Does start_scanning()
fail almost immediately, or does it seem to block for ~10 seconds before it fails?
Does your code successfully call any other methods before start_scanning()
or is start_scanning()
the first method after device creation?
If there is nothing called before start_scanning()
... by that I mean your code looks like this:
with Sweep(dev) as sweep:
# call start_scanning before any other sweep methods
sweep.start_scanning()
....
then this might be related to #73... in which case try the stop_scanning_buffer_fix
branch.
git clone https://github.com/scanse/sweep-sdk
git checkout stop-scanning-buffer-fix
# normal install procedure
...
Edit: Fixed typo in branch name
it fails almost immediately.
start_scanning()
is the first method called after resource allocation.
I'm getting this...
$ git checkout stop_scanning_buffer_fix
error: pathspec 'stop_scanning_buffer_fix' did not match any file(s) known to git.
thanks!
Woops... the underscores should be dashes. Try git checkout stop-scanning-buffer-fix
issue solved/closed!
thank you very much!
sweep firmware version
Version 1.3 #### libsweep version + affected bindingslatest at this moment (20160510- just cloned and installed from git repository) working with sweeppy
operating system
Platform/Hardware Setup
Raspberry pi 3
Description: