bleak icon indicating copy to clipboard operation
bleak copied to clipboard

bluezdbus client handling of devices that might not provide a response to a successful connection

Open uutzinger opened this issue 2 years ago • 1 comments

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:

  1. It does not add user accessible functionality.
  2. Updated 'CHANGELOG.rst' unreleased changed section
  3. This affects handling of Linux BlueZ

uutzinger avatar Jul 31 '23 18:07 uutzinger

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?

dlech avatar Jul 31 '23 18:07 dlech