Skip to main content

BLE JSON provisioning (ESP-IDF)

Scaffold page — see examples/05_ble_json and components/iotmer_ble for the device-side contract.

Published reference: docs.iotmer.com

When to use

  • Field Wi‑Fi setup without UART (mobile app / tool writes SSID via BLE JSON)
  • Works alongside iotmer_wifi_set_credentials() and iotmer_wifi_reconnect()

Dependency

dependencies:
iotmertech/iotmer_ble: "*"

Add REQUIRES iotmer_ble in your app CMakeLists.txt.

Custom hardware note

BLE provisioning is independent of components/hw/ — enable in cloud/ or main after hw_init() if your radio coexists with other peripherals (use iotmer_ble_suspend() before TLS).