Using menuconfig to configure wifi_prov_mgr with sec_ver = 0?
Posted: Fri Jul 19, 2024 5:43 pm
I want to compile a version of
Espressif\frameworks\esp-idf-v5.2.2\examples\provisioning\wifi_prov_mgr
to use security version 0.
Short form:
What must I change in menuconfig to specify security level 0?
Details:
Running ESP-IDF 5.2 (under Windows 11) with an ESP32-c3, I launch menuconfig:
Within menuconfig, I navigate to the Component config => Bluetooth => NimBLE Options submenu, and DISABLE "Enable BLE SM feature":
After Save and Quit from menuconfig, when I [build flash monitor] the resulting configuration, it still specifies security level 1:
As further proof, when I run tools\esp_prov\esp_prov.py with security level 0:
... the ESP32 provisioning app fails:
So: How do I create a version of wifi_prov_mgr that allows security version 0?
Espressif\frameworks\esp-idf-v5.2.2\examples\provisioning\wifi_prov_mgr
to use security version 0.
Short form:
What must I change in menuconfig to specify security level 0?
Details:
Running ESP-IDF 5.2 (under Windows 11) with an ESP32-c3, I launch menuconfig:
Code: Select all
PS C:\Espressif\frameworks\esp-idf-v5.2.2\examples\provisioning\wifi_prov_mgr> idf.py menuconfig
Code: Select all
[ ] Enable BLE SM feature ----
Code: Select all
https://espressif.github.io/esp-jumpstart/qrcode.html?data={"ver":"v1","name":"PROV_3E4530","pop":"abcd1234","transport":"ble"}
Code: Select all
PS C:\Espressif\frameworks\esp-idf-v5.2.2\tools\esp_prov> python esp_prov.py --transport ble --service_name PROV_3E4530 --sec_ver 0 --ssid xxxxxxxx --passphrase yyyyyyyy
Code: Select all
E (858754) security1: Security version mismatch. Closing connection
E (858754) protocomm_nimble: Invalid content received, killing connection