/esp32-nimble

A wrapper for the ESP32 NimBLE Bluetooth stack.

Primary LanguageRustApache License 2.0Apache-2.0

NimBLE Rust wrapper for ESP32

crates.io build License Documentation

This is a Rust wrapper for the NimBLE Bluetooth stack for ESP32. Inspired by 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

Features

  • GATT server
    • Advertisement
    • Services
    • Characteristics
      • Read
      • Write
      • Notify
      • Indicate
    • Descriptors
      • Read
      • Write
    • Encryption
  • GATT client
    • Scan
    • Services
    • Characteristics
      • Read
      • Write
      • Notify
      • Indicate
    • Descriptors
      • Read
      • Write
    • Encryption