bleak
bleak copied to clipboard
bluezdbus client handling of devices that might not provide a response to a successful connection
Small change from assert reply is not None to if reply is not None in client.py of bluezdbus.
This fixes issues with devices that do not respond properly to a connection.
Guideline check:
- It does not add user accessible functionality.
- Updated 'CHANGELOG.rst' unreleased changed section
- This affects handling of Linux BlueZ
As discussed in https://github.com/hbldh/bleak/issues/1364#issuecomment-1638252883, I would like proof that this is not a BlueZ bug first before considering making such a change.
Also, in the bug report, I didn't see anyone hit an AssertationError, so I don't see how this change makes any difference. Do you have a reproducible test case that I could try?