Hi, folks
I am working on a project that will use ESP32-WROVER-B to read data from several sensors and send to a server. My colleague has a version of it which works from gsm/gprs modem by connecting to the internet accordingly. However, what I need is wireless (OTA) update mechanism.
For now, let's already assume that there will be multiple systems (ESP32 microcontrollers & sensors) and a single router together with repeaters covering some area. In order to connect to that router and establish connection to & from microcontrollers assume we use VPN tunneling or static IP address assignment, no problem.
The question is, what is the production way of implementing OTA update mechanism in my case?
There are several ways to do that. What I am thinking of right now is to continuously run webserver on each ESP, waiting for a moment when admin will enter correct login credentials and upload the binary file. Once the upload ends, ESP will restart. Basically, I will be able to update specific ESP microcontroller, plus now I have to send sensor data using wi-fi, no need for gsm/gprs modem. So, does it mean my program now has 2 threads of execution? Does my idea even sound realizable, or there is a better way to implement that?
Any professional advice and/or suggestions would be appreciated!
Production way of OTA updates using ESP32
Return to “General Discussion”
Jump to
- English Forum
- Explore
- News
- General Discussion
- FAQ
- Documentation
- Documentation
- Sample Code
- Discussion Forum
- Hardware
- ESP-IDF
- ESP-BOX
- ESP-ADF
- ESP-MDF
- ESP-WHO
- ESP-SkaiNet
- ESP32 Arduino
- IDEs for ESP-IDF
- ESP-AT
- ESP IoT Solution
- ESP RainMaker
- Rust
- ESP8266
- Report Bugs
- Showcase
- Chinese Forum 中文社区
- 活动区
- 乐鑫活动专区
- 讨论区
- 全国大学生物联网设计竞赛乐鑫答疑专区
- ESP-IDF 中文讨论版
- 《ESP32-C3 物联网工程开发实战》书籍讨论版
- 中文文档讨论版
- ESP-AT 中文讨论版
- ESP-BOX 中文讨论版
- ESP IoT Solution 中文讨论版
- ESP-ADF 中文讨论版
- ESP Mesh 中文讨论版
- ESP Cloud 中文讨论版
- ESP-WHO 中文讨论版
- ESP-SkaiNet 中文讨论版
- ESP 生产支持讨论版
- 硬件问题讨论
- 项目展示
Who is online
Users browsing this forum: axellin and 77 guests
- All times are UTC
- Top
- Delete cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. ESP8266EX and ESP32 are some of our products.