Search found 1 match

by ghawkins
Wed Aug 21, 2024 6:42 pm
Forum: ESP-IDF
Topic: Checking Wifi NVS data
Replies: 3
Views: 6622

Re: Checking Wifi NVS data

One could also check for WIFI_INIT_CONFIG_MAGIC - that seems to be its purpose:

Code: Select all

if (cfg.magic == WIFI_INIT_CONFIG_MAGIC) {
    // cfg is valid.
}