I am planning to make ota update using https for esp32. So, my setup is like it connects to my secure Mqtt broker. OTA is triggering in particular topic.
I am using ESP-IDF and this example https://github.com/espressif/esp-idf/tree/master/examples/system/ota.
I have changed the connectivity part to https referring to https_request example https://github.com/espressif/esp-idf/tree/master/examples/protocols/https_request.The connectivity is successful. But after that get request is having error
Code: Select all
I (20485) ota: Connected to AP
I (21685) ota: Connection established...
I (21685) ota: Connected to http server
E (21685) ota: Send GET request to server failed
E (21685) ota: Exiting task due to fatal error...
How can i further get data and set that data to OTA update?