-
Notifications
You must be signed in to change notification settings - Fork 334
Open
Description
I have a sample solution to get bleak working on CircuitPython. For now I able to run BleakScanner on my esp32-s3 with no issues.
The general problem is some built-in dependencies is absent in CircuitPython (functools, inspect, uuid, asyncio.timeout). I used to replace it with native approaches for CircuitPython and it works, I used just adafruit _bleio and asyncio modules to make it.
The second problem is adafruit _bleio module is global and synchronous and can be used just on main thread, but there also few sollutions there.
I'm thinking about using a monkeypatching for the absent modules to get a seamless way to use bleak on CircuitPython
Metadata
Metadata
Assignees
Labels
No labels