{"id":25099549,"url":"https://github.com/polo14va/esp32-ota-update","last_synced_at":"2025-04-02T04:41:07.680Z","repository":{"id":276128931,"uuid":"927286511","full_name":"polo14va/ESP32-OTA-Update","owner":"polo14va","description":"ESP32 OTA Update","archived":false,"fork":false,"pushed_at":"2025-02-13T12:43:31.000Z","size":21796,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-13T13:38:34.964Z","etag":null,"topics":["arduino","ble","bluetooth","bluetooth-low-energy","esp32","ota"],"latest_commit_sha":null,"homepage":"https://pedromartinezweb.com","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/polo14va.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-04T17:57:55.000Z","updated_at":"2025-02-13T12:31:47.000Z","dependencies_parsed_at":"2025-02-06T13:36:25.254Z","dependency_job_id":"9982feb6-c768-46f3-b1fc-816d5f4f9445","html_url":"https://github.com/polo14va/ESP32-OTA-Update","commit_stats":null,"previous_names":["polo14va/esp32-ota-update"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polo14va%2FESP32-OTA-Update","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polo14va%2FESP32-OTA-Update/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polo14va%2FESP32-OTA-Update/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polo14va%2FESP32-OTA-Update/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/polo14va","download_url":"https://codeload.github.com/polo14va/ESP32-OTA-Update/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246758278,"owners_count":20828919,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arduino","ble","bluetooth","bluetooth-low-energy","esp32","ota"],"created_at":"2025-02-07T19:21:51.788Z","updated_at":"2025-04-02T04:41:07.667Z","avatar_url":"https://github.com/polo14va.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ESP32-OTA-Update Library\n\nESP32-OTA-Update is a comprehensive and well-documented library designed to provide Over-The-Air (OTA) firmware update capabilities for ESP32-based devices. The project has been developed as a reusable library, making it simple for developers to integrate OTA functionalities into their own projects while ensuring minimal downtime and a streamlined update process.\n\n---\n\n## Table of Contents\n\n- [Overview](#overview)\n- [Key Concepts](#key-concepts)\n- [Features](#features)\n- [Prerequisites](#prerequisites)\n- [Installation](#installation)\n- [Usage as a Library](#usage-as-a-library)\n- [Configuration](#configuration)\n- [Troubleshooting](#troubleshooting)\n- [Contributing](#contributing)\n- [License](#license)\n- [Acknowledgments](#acknowledgments)\n\n---\n\n## Overview\n\nESP32-OTA-Update empowers developers with a ready-to-use library to implement Over-The-Air updates on ESP32 devices. By abstracting the low-level OTA update procedure into a modular library, this project enables developers to focus more on feature development and less on the intricacies of secure firmware deployment. Its design leverages industry-standard protocols and best practices to ensure that each update is both secure and reliable.\n\n---\n\n## Key Concepts\n\n- **Library Integration:** Unlike standalone projects, this library is designed to be easily integrated into any existing ESP32 project.\n- **Abstraction:** The implementation abstracts the details of the OTA update process, offering a simple API for initiating and managing updates.\n- **Modularity:** Built with extensibility in mind, making it possible to customize or extend functionalities as per your project needs.\n\n---\n\n## Features\n\n- **Over-The-Air Updates:** Seamlessly update firmware without the need for physical connectors.\n- **Secure Communication:** Incorporates authentication and verification mechanisms so that only authorized and intact firmware is deployed.\n- **Easy Integration:** Designed as a plug-and-play library with minimal configuration steps.\n- **Detailed Error Reporting:** Provides comprehensive error messages and logs to facilitate debugging and improve reliability.\n- **Customizable:** Easily modify and extend the library to match the unique requirements of your projects.\n\n---\n\n## Prerequisites\n\nBefore integrating the ESP32-OTA-Update library, ensure you have the following:\n\n- **Hardware:** An ESP32 development board.\n- **Software:** Latest version of ESP-IDF or Arduino IDE, depending on your development environment.\n- **Network:** A stable Wi-Fi connection, which is essential for OTA update operations.\n- **Programming Skills:** Proficiency in C/C++ and a basic understanding of embedded systems concepts.\n\n---\n\n## Installation\n\nTo incorporate the ESP32-OTA-Update library into your project, follow these steps:\n\n1. **Clone the Repository:**\n\n```bash\n   git clone https://github.com/your-username/ESP32-OTA-Update.git\n   cd ESP32-OTA-Update\n```\n\n---\n\n2. **Compile**\n\n```bash\narduino-cli compile --fqbn esp32:esp32:esp32 . --output-dir build\n```\n3. **upload**\nGet USB devices connected\n\n```bash\narduino-cli board list\n```\n\nGet Name Serial Port XXXX\n```bash\narduino-cli board list\narduino-cli upload -p /dev/XXXXX  --fqbn esp32:esp32:esp32 .\n# example arduino-cli upload -p /dev/cu.usbserial-0001  --fqbn esp32:esp32:esp32 .\n\narduino-cli compile --fqbn esp32:esp32:esp32 . --output-dir build \u0026\u0026 mv build/*.bin build/BLEFirmwareUpdate-V-1.0.0.bin\n\n```\n\n## License\n\nThis project is licensed under the GNU General Public License (GPL) for personal use. For commercial use, please contact the author to obtain a commercial license agreement.\n\n---\n\n## Acknowledgments\nAuthor: Pedro Luis Martinez Acebron","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolo14va%2Fesp32-ota-update","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpolo14va%2Fesp32-ota-update","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolo14va%2Fesp32-ota-update/lists"}