{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2025,12,4]],"date-time":"2025-12-04T16:20:25Z","timestamp":1764865225317,"version":"3.46.0"},"reference-count":46,"publisher":"MDPI AG","issue":"12","license":[{"start":{"date-parts":[[2025,12,4]],"date-time":"2025-12-04T00:00:00Z","timestamp":1764806400000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Computers"],"abstract":"<jats:p>Over-the-air (OTA) firmware updating has become a fundamental requirement in modern Internet of Things (IoT) deployments, where thousands of heterogeneous embedded devices operate in remote and distributed environments. Manual firmware maintenance in such systems is impractical, costly, and prone to security risks, making automated update mechanisms essential for long-term reliability and lifecycle management. This paper presents a unified OTA update architecture for ESP32-based IoT devices that integrates centralized version control and multi-protocol communication support (Wi-Fi, BLE, Zigbee, LoRa, and GSM), enabling consistent firmware distribution across heterogeneous networks. The system incorporates version-compatibility checks, rollback capability, and a server-driven release routing mechanism for development and production branches. An analytical model of timing, reliability, and energy consumption is provided, and experimental validation on a fleet of ESP32 devices demonstrates reduced update latency compared to native vendor OTA solutions, together with reliable operation under simultaneous device loads. Overall, the proposed solution provides a scalable and resilient foundation for secure OTA lifecycle management in smart-industry, remote sensing, and autonomous infrastructure applications.<\/jats:p>","DOI":"10.3390\/computers14120531","type":"journal-article","created":{"date-parts":[[2025,12,4]],"date-time":"2025-12-04T16:07:38Z","timestamp":1764864458000},"page":"531","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":0,"title":["Advanced System for Remote Updates on ESP32-Based Devices Using Over-the-Air Update Technology"],"prefix":"10.3390","volume":"14","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-1225-461X","authenticated-orcid":false,"given":"Lukas","family":"Formanek","sequence":"first","affiliation":[{"name":"Department of Technical Cybernetics, Faculty of Management Science and Informatics, University of Zilina, 01026 Zilina, Slovakia"}]},{"ORCID":"https:\/\/orcid.org\/0009-0006-3901-388X","authenticated-orcid":false,"given":"Michal","family":"Kubascik","sequence":"additional","affiliation":[{"name":"Department of Technical Cybernetics, Faculty of Management Science and Informatics, University of Zilina, 01026 Zilina, Slovakia"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-6140-0751","authenticated-orcid":false,"given":"Ondrej","family":"Karpis","sequence":"additional","affiliation":[{"name":"Department of Technical Cybernetics, Faculty of Management Science and Informatics, University of Zilina, 01026 Zilina, Slovakia"}]},{"ORCID":"https:\/\/orcid.org\/0009-0009-8309-5634","authenticated-orcid":false,"given":"Peter","family":"Kolok","sequence":"additional","affiliation":[{"name":"Department of Technical Cybernetics, Faculty of Management Science and Informatics, University of Zilina, 01026 Zilina, Slovakia"}]}],"member":"1968","published-online":{"date-parts":[[2025,12,4]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","unstructured":"Olesnanikova, V., Karpis, O., Chovanec, M., Sarafin, P., and Zalman, R. (2016, January 5\u20137). Water level monitoring based on the acoustic signal using the neural network. Proceedings of the 2016 International Conference on Information and Digital Technologies (IDT), Rzeszow, Poland.","DOI":"10.1109\/DT.2016.7557174"},{"key":"ref_2","doi-asserted-by":"crossref","unstructured":"Zyrianoff, I., Montori, F., Trotta, A., Sciullo, L., Gigli, L., Kamienski, C., and Di Felice, M. (2025, January 10\u201313). A Location-Aware WebAssembly-Based Software Update Framework for IoT End Devices. Proceedings of the 2025 IEEE 22nd Consumer Communications & Networking Conference (CCNC), Las Vegas, NV, USA.","DOI":"10.1109\/CCNC54725.2025.10976056"},{"key":"ref_3","doi-asserted-by":"crossref","unstructured":"Mazhar, S., Rakib, A., Doss, R., Anwar, A., and Jiang, F. (2025, January 3\u20135). Integrating Threat Analysis and Formal Verification for Secure OTA Updates. Proceedings of the 30th IEEE Pacific Rim International Symposium on Dependable Computing (PRDC 2025), Seoul, Republic of Korea.","DOI":"10.1109\/PRDC67299.2025.00013"},{"key":"ref_4","doi-asserted-by":"crossref","unstructured":"Chochul, M., and \u0160ev\u010d\u00edk, P. (2020, January 12\u201313). A Survey of Low Power Wide Area Network Technologies. Proceedings of the 2020 18th International Conference on Emerging eLearning Technologies and Applications (ICETA), Ko\u0161ice, Slovenia.","DOI":"10.1109\/ICETA51985.2020.9379213"},{"key":"ref_5","doi-asserted-by":"crossref","unstructured":"Sun, C., Xing, R., Wu, Y., Zhou, G., Zheng, F., and Hu, D. (2021, January 22\u201324). Design of Over-the-Air Firmware Update and Management for IoT Device with Cloud-based RESTful Web Services. Proceedings of the 2021 China Automation Congress (CAC), Beijing, China.","DOI":"10.1109\/CAC53003.2021.9727516"},{"key":"ref_6","unstructured":"Moses, G.E., and Oyineteimode, Y. (2025). Software Development Process for an IOT-Based Fingerprint Device Based on ESP32 MCU. Int. J. Comput. Sci. Math. Theory."},{"key":"ref_7","doi-asserted-by":"crossref","unstructured":"Zhao, W., Zhang, W., Zhao, L., and Yu, Z. (2025, January 18\u201320). Research on Security for Software Updates of Intelligent Connected Vehicles Based on Post-Quantum Cryptography. Proceedings of the 2025 International Conference on Electrical Engineering, Automation and Information Science (EEAIS), Lanzhou, China.","DOI":"10.1109\/EEAIS66172.2025.11171168"},{"key":"ref_8","doi-asserted-by":"crossref","unstructured":"Da\u0148i\u0161ovi\u010d, P., Sramek, J., Hodo\u0148, M., and Hudik, M. (2017, January 25\u201327). Testing Measurements of Airflow Velocity in Road Tunnels. Proceedings of the MATEC Web of Conferences, Malacca, Malaysia.","DOI":"10.1051\/matecconf\/201711700035"},{"key":"ref_9","doi-asserted-by":"crossref","unstructured":"Kovacevic, A., and Gligoric, N. (2024). Enhancing Security of Automotive OTA Firmware Updates via Decentralized Identifiers and Distributed Ledger Technology. Electronics, 13.","DOI":"10.3390\/electronics13234640"},{"key":"ref_10","doi-asserted-by":"crossref","unstructured":"Park, C.Y., Lee, S.J., and Lee, I.G. (2025). Secure and Lightweight Firmware Over-the-Air Update Mechanism for Internet of Things. Electronics, 14.","DOI":"10.3390\/electronics14081583"},{"key":"ref_11","doi-asserted-by":"crossref","unstructured":"Malumbres, V., Saldana, J., Bern\u00e9, G., and Modrego, J. (2024). Firmware Updates over the Air via LoRa: Unicast and Broadcast Combination for Boosting Update Speed. Sensors, 24.","DOI":"10.3390\/s24072104"},{"key":"ref_12","doi-asserted-by":"crossref","first-page":"2610","DOI":"10.3390\/eng5040137","article-title":"Efficient Runtime Firmware Update Mechanism for LoRaWAN Class A Devices","volume":"5","author":"Neves","year":"2024","journal-title":"Eng"},{"key":"ref_13","doi-asserted-by":"crossref","unstructured":"Mahfoudhi, F., Sultania, A.K., and Famaey, J. (2022). Over-the-Air Firmware Updates for Constrained NB-IoT Devices. Sensors, 22.","DOI":"10.3390\/s22197572"},{"key":"ref_14","doi-asserted-by":"crossref","first-page":"e4247","DOI":"10.1002\/cpe.4247","article-title":"Wireless sensor network for smart power metering","volume":"29","year":"2017","journal-title":"Concurr. Comput. Pract. Exp."},{"key":"ref_15","doi-asserted-by":"crossref","unstructured":"Hodon, M., Chovanec, M., \u010cechovi\u010d, L., Hudik, M., Milanova, J., Kochlan, M., Jurecka, M., Kapitulik, J., and Sevcik, P. (2015, January 6\u20139). Maximizing performance of low-power WSN node on the basis of event-driven-programming approach: Minimization of operational energy costs of WSN node control unit. Proceedings of the 2015 IEEE Symposium on Computers and Communication (ISCC), Larnaca, Cyprus.","DOI":"10.1109\/ISCC.2015.7405517"},{"key":"ref_16","doi-asserted-by":"crossref","unstructured":"Kochlan, M., Zak, S., Micek, J., Hodon, M., and Hudik, M. (2016, January 5\u20137). Performance of Open Voltage Control Algorithm for Sensor Node Power Management Unit. Proceedings of the 2016 International Conference on information and Digital Technologies (IDT), Rzeszow, Poland.","DOI":"10.1109\/DT.2016.7557163"},{"key":"ref_17","unstructured":"P\u00fachyov\u00e1, J., Kochl\u00e1\u0148, M., and Hodo\u0148, M. (2013, January 8\u201311). Development of special smartphone-based Body Area Network: Energy requirements. Proceedings of the 2013 Federated Conference on Computer Science and Information Systems, Krakow, Poland."},{"key":"ref_18","doi-asserted-by":"crossref","unstructured":"Rehman, A., Abdullah, S., Fatima, M., Iqbal, M.W., Almarhabi, K.A., Ashraf, M.U., and Ali, S. (2022). Ensuring Security and Energy Efficiency of Wireless Sensor Network by Using Blockchain. Appl. Sci., 12.","DOI":"10.3390\/app122110794"},{"key":"ref_19","doi-asserted-by":"crossref","unstructured":"Ullah, A., Khan, F.S., Mohy-ud din, Z., Hassany, N., Gul, J.Z., Khan, M., Kim, W.Y., Park, Y.C., and Rehman, M.M. (2024). A Hybrid Approach for Energy Consumption and Improvement in Sensor Network Lifespan in Wireless Sensor Networks. Sensors, 24.","DOI":"10.3390\/s24051353"},{"key":"ref_20","doi-asserted-by":"crossref","unstructured":"Kuba\u0161\u010d\u00edk, M., Tup\u00fd, I.A., \u0160umsk\u00fd, J., and Ba\u010da, T. (2024, January 13\u201315). OTA firmware updates on ESP32 based microcontrolers. Proceedings of the 2024 IEEE 17th International Scientific Conference on Informatics (Informatics), Poprad, Slovakia.","DOI":"10.1109\/Informatics62280.2024.10900824"},{"key":"ref_21","unstructured":"Systems, E. (2025, November 26). ESP-IDF Documentation: Over-the-Air (OTA) Update Overview. Available online: https:\/\/docs.espressif.com\/projects\/esp-idf\/en\/stable\/esp32\/api-reference\/system\/ota.html."},{"key":"ref_22","unstructured":"Systems, E. (2025, November 26). ESP-IDF API Reference: Over-the-Air (OTA) Update API. Available online: https:\/\/docs.espressif.com\/projects\/esp-idf\/en\/release-v3.0\/api-reference\/system\/ota.html."},{"key":"ref_23","unstructured":"Systems, E. (2025, November 26). ESP32 Wi-Fi OTA Firmware Update Example. Available online: https:\/\/github.com\/espressif\/esp-idf\/tree\/master\/examples\/system\/ota\/simple_ota_example."},{"key":"ref_24","unstructured":"Systems, E. (2025, November 26). ESP32 BLE OTA Firmware Update Example. Available online: https:\/\/github.com\/espressif\/esp-IoT-solution\/tree\/master\/examples\/bluetooth\/ble_ota."},{"key":"ref_25","unstructured":"Systems, E. (2025, November 26). ESP32 Zigbee OTA Firmware Update Example. Available online: https:\/\/github.com\/espressif\/esp-zigbee-sdk\/tree\/62d67374bfc59dd002be2fcf03cca52caaf5d525\/examples\/esp_zigbee_ota."},{"key":"ref_26","doi-asserted-by":"crossref","first-page":"109394","DOI":"10.1016\/j.comnet.2022.109394","article-title":"Secure over-the-air software update for connected vehicles","volume":"218","author":"Ghosal","year":"2022","journal-title":"Comput. Netw."},{"key":"ref_27","doi-asserted-by":"crossref","unstructured":"Khapper, K.V., Darwish, H., AlHmoud, I.W., Gokaraju, B., Islam, A.K., Siddula, M., and Graves, C.A. (2025, January 28\u201330). An IoT-Based Smart Desk System for Smart Classrooms: Enabling OTA Firmware Updates and Multi-Application Deployment. Proceedings of the 2025 IEEE World AI IoT Congress (AIIoT), Seattle, WA, USA.","DOI":"10.1109\/AIIoT65859.2025.11105303"},{"key":"ref_28","doi-asserted-by":"crossref","unstructured":"Serepas, F., Papias, I., Christakis, K., Dimitropoulos, N., and Marinakis, V. (2025). Lightweight Embedded IoT Gateway for Smart Homes Based on an ESP32 Microcontroller. Computers, 14.","DOI":"10.3390\/computers14090391"},{"key":"ref_29","unstructured":"Kumar, A., and Singh, R. (2024). Remote Configuration and Maintenance of IoT Edge Nodes Using Secure Firmware Pipelines. Systems, 12."},{"key":"ref_30","first-page":"100468","article-title":"Systematic threat assessment and security testing of automotive over-the-air (OTA) updates","volume":"35","author":"Mahmood","year":"2022","journal-title":"Veh. Commun."},{"key":"ref_31","doi-asserted-by":"crossref","unstructured":"Ahsan, M.S., and Pathan, A.S.K. (2025). A Comprehensive Survey on the Requirements, Applications, and Future Challenges for Access Control Models in IoT: The State of the Art. IoT, 6.","DOI":"10.3390\/iot6010009"},{"key":"ref_32","doi-asserted-by":"crossref","first-page":"71907","DOI":"10.1109\/ACCESS.2019.2919760","article-title":"Secure Firmware Updates for Constrained IoT Devices Using Open Standards: A Reality Check","volume":"7","author":"Zandberg","year":"2019","journal-title":"IEEE Access"},{"key":"ref_33","doi-asserted-by":"crossref","unstructured":"Cayre, R., Cauquil, D., and Francillon, A. (2023, January 25). ESPwn32: Hacking with ESP32 System-on-Chips. Proceedings of the 2023 IEEE Security and Privacy Workshops (SPW), San Francisco, CA, USA.","DOI":"10.1109\/SPW59333.2023.00033"},{"key":"ref_34","first-page":"1","article-title":"A Study on Vulnerability Analysis and Memory Forensics of ESP32","volume":"25","author":"Baek","year":"2024","journal-title":"J. Internet Comput. Serv."},{"key":"ref_35","doi-asserted-by":"crossref","unstructured":"Kapitul\u00edk, J., Mi\u010dek, J., Jure\u010dka, M., and Hodo\u0148, M. (2014, January 7\u201310). Wireless Sensor Network\u2013Value Added Subsystem of ITS Communication Platform. Proceedings of the 2014 Federated Conference on Computer Science and Information Systems (FedCSIS), Warsaw, Poland.","DOI":"10.15439\/2014F370"},{"key":"ref_36","doi-asserted-by":"crossref","unstructured":"Kochl\u00e1n, M., Micek, J., and \u0160ev\u010d\u00edk, P. (2014, January 7\u201310). 2.4 GHz ISM Band Radio Frequency Signal Indoor Propagation. Proceedings of the Federated Conference on Computer Science and Information Systems (FedCSIS), Warsaw, Poland.","DOI":"10.15439\/2014F299"},{"key":"ref_37","doi-asserted-by":"crossref","unstructured":"\u017dalman, R., Ole\u0161nan\u00edkov\u00e1, V., \u0160ev\u010d\u00edk, P., and \u0160araf\u00edn, P. (2015, January 13\u201316). Monitoring of CO2 Amount in Closed Objects via WSN. Proceedings of the Federated Conference on Computer Science and Information Systems (FedCSIS), Lodz, Poland.","DOI":"10.15439\/2015F332"},{"key":"ref_38","doi-asserted-by":"crossref","unstructured":"Arakadakis, K., Charalampidis, P., Makrogiannakis, A., and Fragkiadakis, A. (2020). Firmware Over-the-Air Programming Techniques for IoT Networks: A Survey. arXiv.","DOI":"10.1145\/3472292"},{"key":"ref_39","unstructured":"Kuba\u0161\u010d\u00edk, M. (2025, November 26). Multi-Protocol OTA Update Framework for ESP32 Devices. Available online: https:\/\/github.com\/kubascikmichal\/esp-ota."},{"key":"ref_40","doi-asserted-by":"crossref","first-page":"35","DOI":"10.1109\/MCOM.001.1900125","article-title":"Over-the-Air Software Updates in the Internet of Things: An Overview of Key Principles","volume":"58","author":"Bauwens","year":"2020","journal-title":"IEEE Commun. Mag."},{"key":"ref_41","doi-asserted-by":"crossref","first-page":"100508","DOI":"10.1016\/j.iot.2022.100508","article-title":"Secure firmware Over-The-Air updates for IoT: Survey, challenges, and discussions","volume":"18","author":"Bouvet","year":"2022","journal-title":"Internet Things"},{"key":"ref_42","doi-asserted-by":"crossref","first-page":"100578","DOI":"10.1016\/j.iot.2022.100578","article-title":"Over-the-air firmware update for IoT devices on the wild","volume":"19","author":"Ferdinando","year":"2022","journal-title":"Internet Things"},{"key":"ref_43","doi-asserted-by":"crossref","unstructured":"Nicolas, C., Naila, B., and Amar, R.C. (December, January 30). Energy efficient Firmware Over The Air Update for TinyML models in LoRaWAN agricultural networks. Proceedings of the 2022 32nd International Telecommunication Networks and Applications Conference (ITNAC), Wellington, New Zealand.","DOI":"10.1109\/ITNAC55475.2022.9998338"},{"key":"ref_44","doi-asserted-by":"crossref","first-page":"154","DOI":"10.1016\/j.procs.2024.08.022","article-title":"Over-the-Air Firmware Update in LoRaWAN Networks: A New Module-based Approach","volume":"241","author":"Nguyen","year":"2024","journal-title":"Procedia Comput. Sci."},{"key":"ref_45","unstructured":"(2020). IEEE Standard for Low-Rate Wireless Networks. Standard No. IEEE Std 802.15.4-2020."},{"key":"ref_46","doi-asserted-by":"crossref","first-page":"101239","DOI":"10.1016\/j.iot.2024.101239","article-title":"DSME-FOTA: Firmware over-the-air update framework for IEEE 802.15.4 DSME MAC to enable large-scale multi-hop industrial IoT networks","volume":"26","author":"Gu","year":"2024","journal-title":"Internet Things"}],"container-title":["Computers"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/2073-431X\/14\/12\/531\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,12,4]],"date-time":"2025-12-04T16:17:28Z","timestamp":1764865048000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/2073-431X\/14\/12\/531"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,12,4]]},"references-count":46,"journal-issue":{"issue":"12","published-online":{"date-parts":[[2025,12]]}},"alternative-id":["computers14120531"],"URL":"https:\/\/doi.org\/10.3390\/computers14120531","relation":{},"ISSN":["2073-431X"],"issn-type":[{"value":"2073-431X","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,12,4]]}}}