ESP-IDF4.4 OTA 失败

peiqing
Posts: 4
Joined: Sat Apr 02, 2022 6:54 am

ESP-IDF4.4 OTA 失败

Postby peiqing » Sat Apr 02, 2022 7:04 am

ESP-IDF4.4 OTA 功能,在启动OTA功能后下载固件过程中出现wifi无Internet访问,然后很快网络恢复,需要等待很久后OTA升级失败。

ESP_YJM
Posts: 300
Joined: Fri Feb 26, 2021 10:30 am

Re: ESP-IDF4.4 OTA 失败

Postby ESP_YJM » Mon May 09, 2022 9:20 am

是否启用了 keep-alive 功能 https://github.com/espressif/esp-idf/bl ... mple.c#L90,该功能可以检测 TCP 连接是否异常。

peiqing
Posts: 4
Joined: Sat Apr 02, 2022 6:54 am

Re: ESP-IDF4.4 OTA 失败

Postby peiqing » Fri Nov 24, 2023 9:58 am

最终是修改了esp_https_ota.c文件修复的,如附件。
Attachments
esp_https_ota.c
(22.48 KiB) Downloaded 344 times

Who is online

Users browsing this forum: No registered users and 34 guests