Skip to content
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

unable to execute tutorial_1_connect_ble.py #552

Open
maccardo opened this issue May 21, 2024 · 0 comments
Open

unable to execute tutorial_1_connect_ble.py #552

maccardo opened this issue May 21, 2024 · 0 comments
Labels
bug Something isn't working triage Needs to be reviewed and assigned

Comments

@maccardo
Copy link

Using a Hero 10 python 3.11 and latest checkout of tutorials on windows. Seems to find it but then burps on authentication.
How to I resolve this?

D:\OpenGoPro\demos\python\tutorial\tutorial_modules\tutorial_1_connect_ble>python ble_connect.py
INFO 13:50:19.506 Scanning for bluetooth devices... ble_connect.py:55
INFO 13:50:24.596 Found 0 matching devices. ble_connect.py:77
INFO 13:50:29.604 Found 0 matching devices. ble_connect.py:77
INFO 13:50:34.614 Found 0 matching devices. ble_connect.py:77
INFO 13:50:39.622 Discovered: GoPro 7501 ble_connect.py:73
INFO 13:50:39.625 Found 1 matching devices. ble_connect.py:77
INFO 13:50:39.627 Establishing BLE connection to F4:76:4C:EB:72:D3: GoPro 7501... ble_connect.py:82
INFO 13:50:40.332 BLE Connected! ble_connect.py:85
INFO 13:50:40.335 Attempting to pair... ble_connect.py:88
INFO 13:50:40.342 Pairing complete! ble_connect.py:94
INFO 13:50:40.344 Enabling notifications... ble_connect.py:97
INFO 13:50:40.345 Enabling notification on char 00002a19-0000-1000-8000-00805f9b34fb ble_connect.py:101
INFO 13:50:40.522 Enabling notification on char b5f90073-aa8d-11e3-9046-0002a5d5c51b ble_connect.py:101
ERROR 13:50:40.643 Connection establishment failed: [WinError -2140864507] The attribute requires authentication before it can be read or written ble_connect.py:108
WARNING 13:50:40.645 Retrying #0 ble_connect.py:109

@maccardo maccardo added the bug Something isn't working label May 21, 2024
@github-actions github-actions bot added the triage Needs to be reviewed and assigned label May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage Needs to be reviewed and assigned
Projects
None yet
Development

No branches or pull requests

1 participant