# deviceplug/btleplug

Rust Cross-Platform Host-Side Bluetooth LE Access Library

Repository: https://github.com/deviceplug/btleplug
Canonical: https://ross.abutalabs.com/products/btleplug
Language: Rust
License: NOASSERTION
License Family: other
Topics: bluetooth, bluetooth-le, bluetooth-low-energy, rust, android, ios, linux, macos, windows
Last push: 2026-08-31T05:41:41+00:00

## Health v2 (maintenance only)
Score: 77/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 100, release rhythm 35, longevity 100
- inputs: {"age_days": 2427, "days_push": 2, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1168, forks 211 (observed 2026-09-01T02:14:00.872396+00:00)

## What it is
btleplug is an async Rust library for Bluetooth Low Energy (BLE) GATT access in host/central mode, supporting Windows, macOS, Linux, iOS, and Android. It provides cross-platform device discovery, service/characteristic access, and communication over native BLE stacks.

## Use cases
- scan for nearby BLE devices from a Rust application
- read and write GATT characteristics across Windows, macOS, Linux, iOS, and Android
- build a cross-platform BLE central-mode tool in Rust
- enumerate Bluetooth LE adapters and discover services and characteristics
- connect to BLE peripherals like heart rate monitors or sensors from Rust
- embed BLE connectivity in a Flutter Android/iOS app via Rust

## When to choose
- you need a single Rust codebase for BLE central-mode operations across all major desktop and mobile platforms
- you want async BLE APIs backed by native stacks (BlueZ, CoreBluetooth, WinRT)
- you only need host/central mode and don't need Bluetooth Classic

## When to avoid
- you need peripheral mode (acting as a BLE device) - use bluster or ble-peripheral-rust instead
- you need Bluetooth 2/Classic support, which is explicitly not supported
- you need WebBluetooth/WASM support, which is not yet released

## Facets
- artifact type: library
- maturity: active
- function: sdk, developer-tools
- domain: cross-platform, developer-tools, iot
- platform: rust, windows, cross-platform
- tags: bluetooth-low-energy, ble, gatt, async, central-mode, hardware-access, linux, macos, android, ios

## Member repositories
- deviceplug/btleplug (main) score 77

## Provenance
- Observed fields: from GitHub, fetched 2026-09-01T02:14:00.872396+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:29:21.143207+00:00, confidence not recorded.
  - readme: https://github.com/deviceplug/btleplug (fetched 2026-09-01T02:14:00.872396+00:00, sha 167d1e42108c)
  - registry_crates: https://crates.io/api/v1/crates/btleplug (fetched 2026-08-29T12:35:16.826673+00:00, sha f2fb0ba7fcb0)
- Data as of 2026-08-30T08:39:29.467469+00:00.
