feat: initial

This commit is contained in:
aZholtikov committed 2026-03-01 18:24:35 +03:00
1 parent d9828464bf
commit e33153af38
9 files changed
+272 -3

No files matched your search

View File
Whitespace-only changes.
+28
View File
@@ -0,0 +1,28 @@
/**
* @file zh_ota_server.h
*/
#pragma once
#include "esp_ota_ops.h"
#include "esp_log.h"
#include "esp_http_server.h"
#ifdef __cplusplus
extern "C"
{
#endif
/**
* @brief Start OTA server.
*
* @param[in] server HTTP server handle.
* @param[in] path OTA server path.
*
* @return ESP_OK if success or an error code otherwise.
*/
esp_err_t zh_ota_server_init(httpd_handle_t server, const char *path);
#ifdef __cplusplus
}
#endif