|
DeterministicESPAsyncWebServer v6.27.1
Zero-allocation, bounded-execution async HTTP server for ESP32
|
DNC drip-feed engine (DETWS_ENABLE_DNC) - stream a whole G-code program over a transport, pacing on reverse-channel XON/XOFF. More...
#include "ServerConfig.h"Go to the source code of this file.
DNC drip-feed engine (DETWS_ENABLE_DNC) - stream a whole G-code program over a transport, pacing on reverse-channel XON/XOFF.
The dnc codec (dnc.h) is pure framing; this drives the exchange: it emits the leader, the % program-start marker, every source line as a block, the % end marker, and the trailer, honoring software flow control - when the controller sends XOFF (DC3) it pauses and waits for XON (DC1) before the next write. Like the SMB / SMTP engines it works against a send/recv seam, so it is transport-agnostic (the same engine drip-feeds over a raw TCP socket for "Ethernet DNC" or over a UART for classic RS-232 DNC) and host-testable with a scripted mock controller.
Definition in file dnc_stream.h.