micropython / micropython-lib

Core Python libraries ported to MicroPython
Other
2.3k stars 979 forks source link

BLE: Bluetooth Low Energy #855

Open kerby1998 opened 1 month ago

kerby1998 commented 1 month ago

Hi, I want to know if it this module is compatible with Bluetooth Low Energy.

andrewleech commented 1 month ago

Micropython has BLE support on many devices, and this library has aioble as a high level async interface to use BLE more easily than many other platforms.

kerby1998 commented 1 month ago

Ok, because I've tried to pair my gopro to my raspberry pi pico w with aioble but it didn't work. Some sources on internet state that micropython cannot pair with raspberry pi pico w. Is it true ?

brianreinhold commented 1 month ago

That is because there is no pairing support for the PICO_W which uses the btstack. You will need to do quite a bit of work to get pairing to work using aioble with the btstack. Code needs to be added primarily to modbluetooth_btstack.c in the Micropython build distribution. We have been working on it for quite a while and still have a ways to go.

kerby1998 commented 4 weeks ago

ok thanks