Re: Store Wifi credentials (SSID and password) on nvs during manufacturing
Posted: Thu Jun 27, 2024 8:11 am
hmm.. either I've post in wrong thread or I described my issue in to complicated way...
Let's try to describe it more clear way:
My partition table is following:
so `storage` is nvs partition which is not encrypted and I can create and compile it in advance in and flash to esp together with firmware. Here is no problem.
The problem is with standard `nvs, data, nvs, 0x10000, 0x6000` which is encrypted by default, and this is partition where wificredentials are stored.
The question is how I can access to read or create this partition to flash with manufacturing data like WiFi Credentials
Let's try to describe it more clear way:
My partition table is following:
Code: Select all
nvs, data, nvs, 0x10000, 0x6000
otadata, data, ota, 0x16000, 0x2000
phy_init, data, phy, 0x18000, 0x1000
ota_0, 0, ota_0, 0x20000, 1800K
ota_1, 0, ota_1, , 1800K
storage, data, nvs, , 0x9000
The problem is with standard `nvs, data, nvs, 0x10000, 0x6000` which is encrypted by default, and this is partition where wificredentials are stored.
The question is how I can access to read or create this partition to flash with manufacturing data like WiFi Credentials