Problem with HTTPS OTA with NONOS SDK

otaupgrader
Posts: 1
Joined: Tue Jul 15, 2025 8:30 am

Problem with HTTPS OTA with NONOS SDK

Postby otaupgrader » Tue Jul 15, 2025 8:51 am

Hi, I'm trying to implement OTA updates via HTTPS requests on my ESP12F module, using ESP8266_NONOS_SDK-3.0.6.

Starting from ESP8266_NONOS_SDK-3.0.6\examples\at_espconn\user\at_upgrade.c I've already done it using HTTP request. For the next step, I started changing the espconn functions in their "secure" counterparts (e.g. espconn_send --> espconn_secure_send), then I set the remote port to 443 and called also espconn_secure_set_size before espconn_secure_connect.

However, it seems not working, from debug I see that the server return me HTTP/1.1 200 OK, but then the process ends without starting the upgrade (if you look to at_upgrade.c file mention above it seems that the function at_upDate_recv is continuosly called and then the module resets).

Any suggestions from someone who has done this before? Are there better solutions?

Who is online

Users browsing this forum: No registered users and 0 guests