|
DeterministicESPAsyncWebServer v6.27.1
Zero-allocation, bounded-execution async HTTP server for ESP32
|
Server-side NTRIP caster listener (DETWS_ENABLE_NTRIP_CASTER): the ConnProto::PROTO_NTRIP_CASTER handler that answers rover requests and streams RTCM to subscribers. More...
#include "ServerConfig.h"Go to the source code of this file.
Server-side NTRIP caster listener (DETWS_ENABLE_NTRIP_CASTER): the ConnProto::PROTO_NTRIP_CASTER handler that answers rover requests and streams RTCM to subscribers.
The pure codec (ntrip_caster.h) parses requests and builds responses / the source table; this file owns the connection state: it reads each rover's request off its socket, replies (stream-accept, source table, error, or 401), and then fans RTCM correction bytes out to every rover subscribed to a mountpoint. Layered exactly like services/relay - the app opens the listener, adds one or more mountpoints, then pushes RTCM as its survey/receiver produces it:
The NtripMount's string fields must remain valid for the caster's lifetime (they are referenced, not copied - configure them from static storage). Only the mountpoint name and optional credentials are copied internally.
Definition in file ntrip_caster_listener.h.