nodemcu / nodemcu-firmware

Lua based interactive firmware for ESP8266, ESP8285 and ESP32
https://nodemcu.readthedocs.io
MIT License
7.64k stars 3.12k forks source link

Add BLE GAP/GATT support to the dev-esp32 branch #3473

Open pjsg opened 2 years ago

pjsg commented 2 years ago

Fixes #3469

This is the first pass at BLE support. There is some more tidyup to do, and also enabling it is slightly tricky as it is built on top of the NimBLE stack -- and I can't find a way to force enable that stack from the Kconfig.

You can startup and shutdown the BLE stack multiple times and it doesn't obviously leak memory.

It seems to work in my test environment.

Interested in comments.

pjsg commented 2 years ago

I'd like to get this merged -- any more input?

marcelstoer commented 2 years ago

As I can't assess C code I added Johny as a reviewer.

jmattsson commented 7 months ago

Nice, is there anything else outstanding other than sorting out the merge issues?