Does esp-32 support OTA with TCP/IP protocol?
I have overviewed all OAT examples in espressif.com,they are all based on HTTP or HTTPS
I want to OTA firmware with phones,the bin file in the phone,esp32(at WIFI STA mode) connect phone's hotspot
(of course, there maybe need an smartphone App, I can handle it)
HTTP is not allowed in our company,and HTTPS need SSL/CA certificate,but the phone's ip is various
So I think the only way is to use TCP/IP, is there any other solutions? or any example with TCP/IP?
Thank you!
Does esp-32 support OTA with TCP/IP protocol?
Re: Does esp-32 support OTA with TCP/IP protocol?
Hi,
OTA is protocol agnostic, so you can use http, https, ws, ble, lora, mqtt, uart, tcp/ip or whatever you want, as long as you can pass bytes into protocol and extract the same bytes from protocol on esp32 and then route to OTA API.
OTA is protocol agnostic, so you can use http, https, ws, ble, lora, mqtt, uart, tcp/ip or whatever you want, as long as you can pass bytes into protocol and extract the same bytes from protocol on esp32 and then route to OTA API.
-
- Posts: 1734
- Joined: Mon Oct 17, 2022 7:38 pm
- Location: Europe, Germany
Re: Does esp-32 support OTA with TCP/IP protocol?
A common solution is to have an HTTP(S) server run on the ESP, maybe with a minimalistic "upload firmware file" web page.is there any other solutions?
A phone app can then post the firmware via HTTPS, or you can use a browser to do it.
-
- Posts: 9764
- Joined: Thu Nov 26, 2015 4:08 am
Re: Does esp-32 support OTA with TCP/IP protocol?
Note that if that rule is there because of security reasons, doing everything using a plain TCP connection probably goes against the spirit of the rule. Not sure if that'll get you in trouble.
Who is online
Users browsing this forum: No registered users and 153 guests