My provisioning is failing. What could be the issue?
Common provisioning issues and solutions:
-
BLE Provisioning:
- Ensure Bluetooth is enabled on the phone
- Check if BLE is properly initialized in firmware
- Verify device name appears in the app's scan list
-
SoftAP Provisioning:
- Confirm the device creates a Wi-Fi AP with the expected name
- Check if the phone can connect to the device's AP
- Verify security settings (WPA2 is recommended)
-
QR Code:
- Ensure the QR code includes correct provisioning data
- Verify the proof-of-possession (PoP) matches
-
Firmware Logs: Enable provisioning logs:
esp_log_level_set("wifi_prov_mgr", ESP_LOG_DEBUG);