mirror of
https://github.com/ruvnet/RuView
synced 2026-08-06 19:51:43 +00:00
feat: complete vendor repos, add edge intelligence and WASM modules
- 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>
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
/**
|
||||
* @file wasm_upload.h
|
||||
* @brief ADR-040 — HTTP endpoints for WASM module upload and management.
|
||||
*
|
||||
* Registers endpoints on the existing OTA HTTP server (port 8032):
|
||||
* POST /wasm/upload — Upload a .wasm binary (max 128 KB)
|
||||
* GET /wasm/list — List loaded modules with status
|
||||
* POST /wasm/start/:id — Start a loaded module
|
||||
* POST /wasm/stop/:id — Stop a running module
|
||||
* DELETE /wasm/:id — Unload a module
|
||||
*/
|
||||
|
||||
#ifndef WASM_UPLOAD_H
|
||||
#define WASM_UPLOAD_H
|
||||
|
||||
#include "esp_err.h"
|
||||
#include "esp_http_server.h"
|
||||
|
||||
/**
|
||||
* Register WASM management HTTP endpoints on the given server.
|
||||
*
|
||||
* @param server HTTP server handle (from OTA init).
|
||||
* @return ESP_OK on success.
|
||||
*/
|
||||
esp_err_t wasm_upload_register(httpd_handle_t server);
|
||||
|
||||
#endif /* WASM_UPLOAD_H */
|
||||
Reference in New Issue
Block a user