David Lechner
David Lechner
Can you give a full working code example to reproduce the problem?
For those seeing this issue when reconnecting after a disconnect, I think https://github.com/hbldh/bleak/pull/621#discussion_r687152961 will fix the issue (it essentially does this: https://github.com/hbldh/bleak/issues/376#issuecomment-898008057). If anyone is seeing this error at a...
This should be fixed by #902.
Have you tried the suggested troubleshooting? https://bleak.readthedocs.io/en/latest/troubleshooting.html
Try replacing ```python if __name__ == "__main__": loop = asyncio.get_event_loop() loop.set_debug(True) loop.run_until_complete(run(ADDRESS, True)) ``` with ```python if __name__ == "__main__": asyncio.run(main(ADDRESS, True)) ```
I guess we need to add some more logging to figure out where the problem is. `_ConnectionStatusChanged_Handler: 0` is the event from Windows that is being waited for, so somehow...
This is a tough one. Setting `GattSession.MaintainConnection` to true is *supposed* to initiate the connection. Getting the services will also initiate the connection, but only if `use_cached` is true. So...
I've pushed a bunch of changes to the WinRT backend and to the example code to the develop branch over the past couple days. Can everyone please test again using...
> I had the same issue with a fresh install from pip today Does that mean Bleak v0.13.0?
On Windows, you might have better luck using `BleakScanner` separately and stopping it and restarting it every few seconds. Sometime Windows seems to ignore devices that are advertising, but stopping...