Closed
Description
This ticket is opened to discuss possible approaches to implementing BLE wrappers, desired API and implementation choices.
Note: please don't use this issue to express your desire/need to have BLE support in the form of "+1" comments, questions on schedule and such. Instead, please use "Subscribe" button on the right to receive email updates on the discussion.
Prior art
- CurieBLE for Arduino 101
- sandeepmistry/arduino-BLEPeripheral
- Mbed BLE library (as seen in RedBearLab/nRF51822-Arduino)
- not very Arduino-esque NordicSemiconductor/ble-sdk-arduino
- something else? Add a comment if you know of other libraries.
Support for ESP32 BLE in other frameworks
- micropython — BLE implementation by Pycom
- micropython — new BLE implementation
- nodemcu — HCI layer only
Resources
- Doxygen-generated documentation for ESP-IDF Bluetooth stack
- ESP-IDF Bluetooth examples
Action list
- Decide which existing library to choose as a base for the API
- Design of advertising API
- Design of Peripheral/server API
- Design of Central/client API
- Implementation of advertising API
- Implementation of Peripheral/server API
- Implementation of Central/client API
Everyone is welcome to offer suggestions and comments about API design. Contributing actual code is also a great way to move this issue forward; however please post the proposed API for comment before starting implementation.