Looking for details on OTA handshake
Posted: Wed Nov 08, 2023 2:51 pm
I used to have my website URL configured using a simple dynamic DNS service. I have my device's firmware files on my server, and I was able to use the ESP-IDF OTA functions to do a firmware update by accessing the firmware file at a URL pointing to my website.
I recently changed internet services and they don't allow my to use dynamic DNS. So I am using Cloudflare(.com) tunneling service to enable access to my web server via the URL I have defined. However, the OTA function `esp_https_ota_begin` fails with an error code indicating it cannot access the URL.
I suspect that Cloudflare might be blocking it based upon the user agent setting but that's just a guess.
My question is: is there a detailed description somewhere, or message diagram, showing the details of the OTA protocol with the server? I need something to help debug the issue.
Thank you!
I recently changed internet services and they don't allow my to use dynamic DNS. So I am using Cloudflare(.com) tunneling service to enable access to my web server via the URL I have defined. However, the OTA function `esp_https_ota_begin` fails with an error code indicating it cannot access the URL.
I suspect that Cloudflare might be blocking it based upon the user agent setting but that's just a guess.
My question is: is there a detailed description somewhere, or message diagram, showing the details of the OTA protocol with the server? I need something to help debug the issue.
Thank you!