#bluetooth #ble #esp32 #embedded #async

nightly esp32-nimble

A wrapper for the ESP32 NimBLE Bluetooth stack

7 releases

0.0.7 Feb 17, 2023
0.0.6 Jan 26, 2023
0.0.4 Dec 21, 2022

#730 in Embedded development

Download history 25/week @ 2022-12-08 64/week @ 2022-12-15 22/week @ 2022-12-22 22/week @ 2022-12-29 15/week @ 2023-01-05 17/week @ 2023-01-12 4/week @ 2023-01-19 30/week @ 2023-01-26 14/week @ 2023-02-02 17/week @ 2023-02-09 41/week @ 2023-02-16 25/week @ 2023-02-23 1/week @ 2023-03-02 7/week @ 2023-03-09

75 downloads per month

Apache-2.0

120KB
3.5K SLoC

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

Dependencies

~5.5–8.5MB
~175K SLoC