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

On Linux when running the simplepyble examples I get errors and warnings from bluez #354

Open
schoolsplay opened this issue Oct 25, 2024 · 0 comments

Comments

@schoolsplay
Copy link

schoolsplay commented Oct 25, 2024

Im using simplepyble 0.7.3 with python3.8 on Ubuntu 22.04 and connecting to BT speakers.
When using systems blueman everyting works perfectly.

I'm just take my first steps with simplepyble but it seems theres something not working as it should be :-(

Running the notify example:
....
Connecting to: SRS-XB01 [00:42:79:2A:EA:1A]
Successfully connected, listing services...
Traceback (most recent call last):
File "simplepyble_examples/notify.py", line 42, in
services = peripheral.services()
RuntimeError: Path /org/bluez/hci0/dev_00_42_79_2A_EA_1A/sep1 does not contain interface org.bluez.GattService1

When writing my own simple code to connect to a paired device:
Connecting to a peripheral -> [WARNING] SimpleBLE: /project/simpleble/src/backends/linux/PeripheralBase.cpp:326 in _cleanup_characteristics: Exception during characteristic cleanup: Path /org/bluez/hci0/dev_F8_5C_7E_B5_F1_C7/sep2/fd8 does not contain interface org.bluez.GattCharacteristic1

The device is connected but there seems to be some issue with this "Gatt server" thing.
Sorry but Im not fully up to date with bluez and the Gatt server.

Any idea where or how to fix this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant