David Lechner
David Lechner
Thanks for updating!
Can you share the full wireshark log?
It seems like this device isn't following the Bluetooth spec and uses a characteristic to enable notifications instead of the Client Characteristic Configuration descriptor which is causing BlueZ to complain....
Is it possible that the attributes have changed and BlueZ is using old values from the cache? (see troubleshooting page in Bleak docs on how to clear cache). Can you...
After looking at the wireshark logs some more, it is clear that the device gatt attribute database on the device is just misconfigured. > I tried the "hack" already. But...
> Do you maybe have a link to some docs about the BLE standards? https://www.bluetooth.com/specifications/specs/ The Generic Attribute Profile (GATT) is in Vol 3, Part G of the Core Specification...
> Same code at the native Linux works correctly I'm not sure I understand what this means. Can you explain more? Since this is a BlueZ error, we would need...
the best way to troubleshoot this is to capture bluetooth packets with wireshark for both the working and not working cases and compare the two to see what is different
You can capture Bluetooth packets from a command prompt with `hcidump` or `btmon`. In all cases, the logs can be redirected to a file (i.e. `$command > $file`) and then...
``` > HCI Event: Disconnect Complete (0x05) plen 4 #167 [hci0] 43.783462 Status: Success (0x00) Handle: 64 Address: 00:A0:50:82:75:CA (OUI 00-A0-50) Reason: Connection Failed to be Established (0x3e) ``` The...