|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
#include <STAR_EthernetOTA.h>Go to the source code of this file.
Typedefs | |
| using | OTAEthernetServer = StarOTA::PortableServer |
| Ethernet OTA for hotfire boards — thin compatibility layer. | |
Functions | |
| void | hotfire_handleOTA (EthernetClient &client) |
| Legacy blocking handler. | |
| using OTAEthernetServer = StarOTA::PortableServer |
Ethernet OTA for hotfire boards — thin compatibility layer.
The implementation now lives in the shared library firmware/libraries/STAR_EthernetOTA, so every STAR board with a W5500 runs the same code. This header keeps the older names working; new code should include <STAR_EthernetOTA.h> and use StarOTA::Server directly.
Wire protocol is unchanged: client -> board : [4-byte big-endian size][firmware binary] board -> client: "OK\r\n", then reboot Legacy alias for the portability wrapper around EthernetServer.
Definition at line 19 of file hotfire_ota.h.
|
inline |
Legacy blocking handler.
Prefer StarOTA::Server::poll(), which owns the listening socket and the accept step too, so callers no longer hand-roll available()/handle().
Definition at line 27 of file hotfire_ota.h.
References StarOTA::Server::handleClient().