错误码返回:ESP_ERROR_CHECK failed: esp_err_t 0x1102 (ESP_ERR_NVS_NOT_FOUND) at 0x403847dd
file: "../main/main.c" line 413
func: wifi_init_sta
expression: nvs_get_str(wificfg_nvs_handler,"wifi_ssid",wifi_ssid,&len)
nvs_open("WiFi_cfg", NVS_READWRITE, &wificfg_nvs_handler)用这个函数打开失败
-
- Posts: 171
- Joined: Thu Sep 23, 2021 10:03 am
-
- Posts: 171
- Joined: Thu Sep 23, 2021 10:03 am
Re: nvs_open("WiFi_cfg", NVS_READWRITE, &wificfg_nvs_handler)用这个函数打开失败
我第一次上电时没配网,能够用这些函数,读取到的数据为空,配网之后,用按键nvs_flash_eraese()之后会出现这个错误
Who is online
Users browsing this forum: No registered users and 91 guests