esp_provisioning_ble
1.2.1, released 5 days ago by espprovble.dev
Flutter plugin for Wi-Fi provisioning of ESP32 modules over Bluetooth Low Energy (BLE).
What it does
Provides a transport-agnostic Dart library to provision ESP32 modules over Bluetooth Low Energy using Espressif's protocomm protocol. It handles secure key exchanges, Wi-Fi network scanning, credential delivery, and status checking.
AI-written summary of version 1.1.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to provision ESP32 microcontrollers over BLE from a Flutter application.
- You want support for secure sessions using Curve25519 and Proof-of-Possession.
Skip it when
- You are provisioning ESP32 modules over Wi-Fi SoftAP instead of Bluetooth LE.
- You require Security 2 (SRP6a + AES-GCM) which is not yet implemented.
Strengths
- Transport-agnostic architecture lets you plug in any BLE stack (such as flutter_blue_plus).
- Supports secure session establishment with Security 1 and Proof-of-Possession.
- Handles Wi-Fi scanning, credential application, and custom data exchange.
Weaknesses
- Requires you to implement your own `ProvTransport` layer using a separate BLE package.
- Security 2 and Security 0 are not fully available yet.
Setup
- Kind
- Plugin (native code)
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 3
Requires adding the package and integrating a BLE package like flutter_blue_plus to provide the `ProvTransport` implementation.
final prov = EspProv(
transport: TransportBLE(peripheral),
security: Security1(pop: pop),
);
final status = await prov.establishSession();Alternatives
Packages that do the same job and could replace esp_provisioning_ble.
- universal_ble
Cross-platform Bluetooth Low Energy (BLE) plugin for Flutter
92Compare - flutter_blue_plus
Flutter plugin for connecting to Bluetooth Low Energy devices.
90Compare - flutter_reactive_ble
Reactive BLE plugin for Android and iOS that supports multiple devices
86Compare - flutter_splendid_ble
A Flutter plugin for Bluetooth Low Energy (BLE) central interactions.
72Compare
Works with
Packages commonly used together with esp_provisioning_ble: ones it builds on, ones built on it, and its own family.