-
Notifications
You must be signed in to change notification settings - Fork 24
Description
As per the Prerequisites
The desk should be connected and paired to the computer.
However, I was unable to execute a command until I specifically DISCONNECTED the device.
My theory: When f.e. executing bluetoothctl I'm directly on the desk already, so the script is likely trying to connect the desk with another device; instead of just doing its thing
As being connected already would avoid scanning & connecting; thus significantly reducing execution time (especially for simple commands) I'd propose to actually check if we're already connected, and just communicate directly in that case, instead of trying to scan & connect
OS: Ubuntu 20.04
bleak is using bluez as backend (in my case)
edit: regarding timing, a no-op (simple read) takes 4-5 seconds currently