|
DeterministicESPAsyncWebServer v6.27.1
Zero-allocation, bounded-execution async HTTP server for ESP32
|
Beckhoff ADS / AMS protocol codec (DETWS_ENABLE_ADS) - zero-heap request builders + response parsers for TwinCAT PLCs over TCP 48898 (the PC-based-control protocol). More...
#include "ServerConfig.h"Go to the source code of this file.
Beckhoff ADS / AMS protocol codec (DETWS_ENABLE_ADS) - zero-heap request builders + response parsers for TwinCAT PLCs over TCP 48898 (the PC-based-control protocol).
ADS (Automation Device Specification) rides on AMS (Automation Message Specification). Every multi-octet field is LITTLE-endian. A frame is an AMS/TCP header (6 octets) + an AMS header (32 octets) + the command payload:
AMS header field order (target-before-source), command ids, and state flags verified against the Beckhoff InfoSys AMS/ADS specification; payload layouts cross-checked with Beckhoff's own open-source ADS library, pyads, and Apache PLC4X. Pure codec, host-tested - the caller owns the TCP connection (det_client_*) and the AMS route registration on the target router.
Definition in file ads.h.