# NimBLE Rust wrapper for ESP32
[](https://crates.io/crates/esp32-nimble)
[](https://github.com/taks/esp32-nimble/actions/workflows/ci.yml)
[](https://github.com/taks/esp32-nimble/blob/develop/LICENSE)
[](https://taks.github.io/esp32-nimble/esp32_nimble/index.html)
This is a Rust wrapper for the NimBLE Bluetooth stack for ESP32.
Inspired by [NimBLE-Arduino](https://github.com/h2zero/NimBLE-Arduino).
## Usage
Add below settings to your project's `sdkconfig.defaults`.
```
CONFIG_BT_ENABLED=y
CONFIG_BT_BLE_ENABLED=y
CONFIG_BT_BLUEDROID_ENABLED=n
CONFIG_BT_NIMBLE_ENABLED=y
```
- To enable Extended advertising, additionally append `CONFIG_BT_NIMBLE_EXT_ADV=y`.<br>
(For use with ESP32C3, ESP32S3, ESP32H2 ONLY)