Closed vovagorodok closed 1 month ago
The problem isn't with Bleak but rather with the code you linked. It could be fixed by wrapping the import statement in a try
block or by putting this line in an if
block so that it only runs on Linux.
Ok, thanks @dlech !
bluetoothctl -v
) in case of Linux:Description
In workaround function:
When
import BleakClientBlueZDBus
called in Windows, following exception raised:No module named 'dbus_fast'
Code: https://github.com/vovagorodok/ArduinoBleOTA/blob/98934bd7e069ddaf090b5ae60cf466e3f4a072c0/tools/uploader.py#L87
Should it be fixed in bleak side or script should be changed somehow?
What I Did
N/A
Logs
N/A