micropython / micropython

MicroPython - a lean and efficient Python implementation for microcontrollers and constrained systems
https://micropython.org
Other
19.52k stars 7.82k forks source link

ESP32-C3 BLE Long Range (Coded PHY) support #8671

Open Solmis opened 2 years ago

Solmis commented 2 years ago

Hello, I would like to use BLE Long Range in communication between the other device and my micropython application. I'm using ESP32-C3, which supports this BLE feature. As far as I know this is not supported by micropython, as well as the extended advertising, am I right? Are you planning to add Coded PHY support to micropython? I saw that micropython port to esp32 uses esp-idf, which itself supports both extended advertising and coded PHY. I've started changing the micropython (port) source code by myself, but so far without success. Could you give me some tips on how to achieve extended advertising & coded phy support in BLE in micropython? In fact I need to scan and connect with other device (which advertsises in extended advertising mode and coded PHY (125kbps)).

stephanelsmith commented 2 years ago

This feature would also be applicable to ESP32-S3 with BLE 5 support.

radziq1302 commented 2 years ago

Is there any progress on this issue?

FrankTT3D commented 1 year ago

Long Range PHY coded opens a wealth of IoT applications. I was trying to find out accessible modes from the current µPython docu, but it seems we cannot alter the BT transmission mode whatsoever? Could anyone give a statement on plans for implementation for the Pi Pico W or the ESP32?

jonnor commented 2 months ago

Hi. MicroPython is a community ran open-source project, driven by its contributors. So to enable new features such as this one, the project relies on people willing to research, implement a proof-of-concept, create a merge request, and then work together with maintainers to get the MR into an acceptable state.