What is esp-nimble-cpp?
masterThe esp-nimble-cpp library is a C++ BLE library for the ESP32 that utilizes the Apache NimBLE host stack instead of the default Bluedroid stack.
It is designed to be a drop-in replacement for the original Bluedroid C++ and Arduino BLE APIs, aiming to maintain compatibility while providing:
- Reduced Resource Usage: Testing shows approximately a 50% reduction in flash usage and ~100kB less RAM consumption compared to Bluedroid.
- Improved Performance: Better stability and resource management for constrained devices.
- Compatibility: Uses the same functions and types as the original ESP32 BLE library with only minor changes.