mirror of
https://github.com/ruvnet/RuView.git
synced 2026-04-28 14:09:33 +00:00
- Add 154 missing vendor files (gitignore was filtering them) - vendor/midstream: 564 files (was 561) - vendor/sublinear-time-solver: 1190 files (was 1039) - Add ESP32 edge processing (ADR-039): presence, vitals, fall detection - Add WASM programmable sensing (ADR-040/041) with wasm3 runtime - Add firmware CI workflow (.github/workflows/firmware-ci.yml) - Add wifi-densepose-wasm-edge crate for edge WASM modules - Update sensing server, provision.py, UI components Co-Authored-By: claude-flow <ruv@ruv.net>
33 lines
914 B
C
33 lines
914 B
C
/**
|
|
* @file ota_update.h
|
|
* @brief HTTP OTA firmware update endpoint for ESP32-S3 CSI Node.
|
|
*
|
|
* Provides an HTTP server endpoint that accepts firmware binaries
|
|
* for over-the-air updates without physical access to the device.
|
|
*/
|
|
|
|
#ifndef OTA_UPDATE_H
|
|
#define OTA_UPDATE_H
|
|
|
|
#include "esp_err.h"
|
|
|
|
/**
|
|
* Initialize the OTA update HTTP server.
|
|
* Starts a lightweight HTTP server on port 8032 that accepts
|
|
* POST /ota with a firmware binary payload.
|
|
*
|
|
* @return ESP_OK on success.
|
|
*/
|
|
esp_err_t ota_update_init(void);
|
|
|
|
/**
|
|
* Initialize the OTA update HTTP server and return the handle.
|
|
* Same as ota_update_init() but exposes the httpd_handle_t so
|
|
* other modules (e.g. WASM upload) can register additional endpoints.
|
|
*
|
|
* @param out_server Output: HTTP server handle (may be NULL on failure).
|
|
* @return ESP_OK on success.
|
|
*/
|
|
esp_err_t ota_update_init_ex(void **out_server);
|
|
|
|
#endif /* OTA_UPDATE_H */
|