Fix Wi-Fi credential save with plain NVS (encryption off).

Initialise NVS before integration startup, recover from encrypted-partition mismatches without re-enabling encryption, and improve provisioning logs and POST body handling.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-05 14:10:00 +02:00
co-authored by Cursor
parent 8609d038be
commit 7d3369b098
8 changed files with 102 additions and 19 deletions
+3 -2
View File
@@ -1,6 +1,7 @@
# DigiRadio — default Kconfig (development / first-board bring-up)
# Security: NVS + flash encryption — see docs/security-flash-nvs.md
# Production release mode: sdkconfig.defaults.production (overlay at build time)
# NVS + flash encryption intentionally OFF for Si4684 bring-up (do not re-enable
# without idf.py erase-flash and docs/security-flash-nvs.md migration).
# Production overlay: sdkconfig.defaults.production (not used on current boards).
CONFIG_IDF_TARGET="esp32s3"