|
ProtoCore v1.0.16
Deterministic, zero-heap network stack for embedded targets
|
Optional authenticated OTA firmware update (PROTOCORE_ENABLE_OTA). More...
#include "protocore_config.h"Go to the source code of this file.
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.
Definition in file ota_service.h.