-
Notifications
You must be signed in to change notification settings - Fork 41
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
ble-scan fails with "bluepy.btle.BTLEManagementError: Failed to execute management command 'scanend' (code: 13, error: Invalid Parameters)" #7
Comments
Maybe related to IanHarvey/bluepy#150? |
I actually did (; I saw the issue you linked and tried this hint, but via My problem here is that |
What device are you connecting to? Please also post the output of ble-serial started with UID and -v. |
Okay, interesting. The characteristic setup is different, but it should be fine. ble-serial never explicitly reads, it just waits for notifications and handles them. UART TX has the notify property as expected. Write to UART RX. The log indicates that it hangs while getting the characteristics from the device. If that would return anything you would either get an error (if the UUID is wrong) or it would proceed with the startup. So this is in both cases a connection problem, mostly likely caused by the host... Unfortunately this all happens inside the bluepy library, so I can't do much. Just thinking of switching to some other lib (#5) |
I am closing this because I switched from bluepy to bleak now (#17). Feel free to open another issue if it still does not work. |
Installed the project on Arch Linux with Python 3.8.2, as instructed in the README.md. When trying to run
ble-scan
as root this is what I get:Any ideas what may be wrong here?
The text was updated successfully, but these errors were encountered: