David Lechner
David Lechner
Sounds like it could be a not well-behaving Bluetooth adapter. Perhaps Intel integrated wireless/bluetooth? You can see what is going on better at a low level by logging Bluetooth packets...
I see a potential problem:  There is no response from the peripheral for this Read By Type Request. There should either be a Read By Type Response or an...
I had a Windows computer that took a very long time to disconnect. I ended up reinstalling Windows and it fixed the problem.
Tkinter doesn't integrate well with asyncio, so it could be that tkinter is blocking the disconnect event. You could try this example code to see if you see the same...
> Are there any news on this issue? It is lacking a reproducible test case or sufficient logs to be able to tell what the different is between working and...
That is useful information to know, thanks for following up.
Bleak should be run on a single thread with a single `asyncio.run()` that stays running for the entire duration of your app. If you need other non-asyncio threads, you can...
Not sure which GUI you are using but if it has asyncio integration into the GUI main loop, you can use that. Otherwise the only option is to run Bleak...
Connecting to 2 devices concurrently usually doesn't work well. Theoretically possible, but depending on the Bluetooth adapter and the OS, quite often it results in errors. So best to avoid...
It looks like you want the `ALL` mode. http://docs.ev3dev.org/projects/lego-linux-drivers/en/ev3dev-stretch/sensor_data.html#ht-nxt-accel Also, you should be able to use `brickrun -r ./my-script.py` in a remote terminal to print to the remote terminal instead...