ProtoCore v1.0.16
Deterministic, zero-heap network stack for embedded targets
Loading...
Searching...
No Matches
ota_service.h File Reference

Optional authenticated OTA firmware update (PROTOCORE_ENABLE_OTA). More...

#include "protocore_config.h"

Go to the source code of this file.

Detailed Description

Optional authenticated OTA firmware update (PROTOCORE_ENABLE_OTA).

Registers a POST endpoint that streams a firmware image straight into the platform update API via the parser's streaming-body hook (http_parser_set_stream_hooks), so the image never has to fit in RAM. On a successful flash the device responds and reboots into the new firmware. Compiled to a no-op stub when PROTOCORE_ENABLE_OTA is 0 or the platform has no updater.

Author
Douglas Quigg (dstroy0)
Date
2026

Definition in file ota_service.h.