David Lechner
David Lechner
Without seeing the full program, it is hard to tell. For example, if the asyncio event loop isn't running this could explain the delay. But if the Windows API really...
> `` for windows because it seems `device_information.pairing.is_paired` is always `True` What happens if we remove the test for this in the `pair()` method and let it try to pair...
I don't think that "forget" in the Chrome internals is quite the same as "unpair()` - at least on Windows. [According to the source code](https://github.com/chromium/chromium/blob/5985c305929655988ce4631de99b18fbd870661b/device/bluetooth/bluetooth_device_winrt.cc#L413-L416), it isn't implemented. ```cpp void...
This is the kind of issue where we need Bluetooth packet logs to see what is actually happening. See the troubleshooting page in the docs for instructions.
> `scanner = BleakScanner(service_uuids=[SERVICE_UUID])` Hmm... I suppose the behavior could have changed in the CoreBluetooth implementations between macOS versions. I doubt I have a version of macOS that old for...
> Initially had a script without specifying `service_uuids`, but that failed as well. Oh, didn't see that part. Not sure what could be going on in that case then. You...
Closing since this seems to be an issue with old macOS.
Are you using `code.pybricks.com` or `beta.pybricks.com`? Did you update the firmware on your hub since it was working?
I like the direction this is going. On Windows, I don't think we can skip discovering services on connect, otherwise the device may not actually connect. Perhaps, instead of adding...
> Would you be open to merging it after a rebase? I've been quite busy lately, so I can't promise a quick review. It has been a while, so I'll...