|
ProtoCore v0.0.1
Deterministic, zero-heap network stack for embedded targets
|
User-defined address:port -> hardware-bus translation (PC_ENABLE_IFACE_BRIDGE). More...
#include "protocore_config.h"Go to the source code of this file.
User-defined address:port -> hardware-bus translation (PC_ENABLE_IFACE_BRIDGE).
A configurable "device server": the application registers rules mapping a listen address:port (plus TCP/UDP) to a hardware endpoint - a UART, an SPI chip-select, or an I2C address - so a network client talking to x.x.x.x:nnnn is transparently bridged to that bus. Two payload models:
This header is the pure, host-tested core: the fixed-capacity rule table (zero heap) and the transaction frame codec. The actual bus I/O (Serial / SPI / Wire) and the PROTO_BRIDGE listener are the ESP32 step (iface_bridge_hw.*), kept separate exactly like the peripheral services.
Definition in file iface_bridge.h.