# h2zero/NimBLE-Arduino

A fork of the NimBLE library structured for compilation with Arduino, for use with ESP32, nRF5x.

Repository: https://github.com/h2zero/NimBLE-Arduino
Canonical: https://ross.abutalabs.com/products/nimble-arduino
Homepage: https://h2zero.github.io/NimBLE-Arduino/
Language: C
License: Apache-2.0
License Family: permissive
Topics: arduino-ble-library, nimble-arduino-library, esp32, bluetooth, ble, nimble, bluetooth-low-energy, bluetooth-le, bluetooth-arduino, arduino, nrf51, nrf52, arduinoble
Last push: 2026-08-03T13:30:02+00:00

## Health v2 (maintenance only)
Score: 96/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 95, release rhythm 95, longevity 100
- inputs: {"age_days": 2375, "days_push": 30, "days_rel": 35, "gap_med": 14, "n_releases_24m": 22}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1118, forks 214 (observed 2026-08-28T04:03:39.234033+00:00)

## What it is
A C++ Arduino library wrapping the Apache NimBLE Bluetooth Low Energy stack for Espressif ESP32 and Nordic nRF51/nRF52 microcontrollers. It offers a lighter, faster alternative to the bluedroid-based ESP32 BLE library while keeping a similar API.

## Use cases
- build a BLE peripheral server on ESP32 with Arduino
- scan for BLE beacons with an nRF52 board
- create a BLE client that connects to heart rate sensors
- reduce memory usage of ESP32 BLE applications
- implement BLE Eddystone beacons in Arduino sketches
- use a fully open-source BLE stack on Nordic chips without softdevice

## When to choose
- you need BLE on ESP32 or nRF5x within Arduino or PlatformIO
- the default bluedroid ESP32 BLE library is too resource-heavy or slow
- you want an actively maintained, open-source BLE stack with full debugging on Nordic devices

## When to avoid
- you are building with ESP-IDF directly (use esp-nimble-cpp instead)
- you need BLE on non-supported microcontrollers
- you rely on the exact bluedroid API without any code migration

## Facets
- artifact type: library
- maturity: active
- function: sdk, embedded
- domain: embedded-systems, hardware, developer-tools
- platform: embedded, cpp, iot
- tags: bluetooth-low-energy, nimble, esp32, nrf52, arduino-library, ble-stack, iot

## Member repositories
- h2zero/NimBLE-Arduino (main) score 96

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:39.234033+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:41:47.970182+00:00, confidence not recorded.
  - readme: https://github.com/h2zero/NimBLE-Arduino (fetched 2026-08-28T04:03:39.234033+00:00, sha 38cfd84d7999)
  - homepage: https://h2zero.github.io/NimBLE-Arduino/ (fetched 2026-08-29T12:45:17.405180+00:00, sha fa9478068537)
- Data as of 2026-08-30T08:39:29.467469+00:00.
