|
ProtoCore v0.0.1
Deterministic, zero-heap network stack for embedded targets
|
ESP32 glue for the interface bridge (PC_ENABLE_IFACE_BRIDGE): the PROTO_BRIDGE listener that wires an accepted connection to a UART / SPI / I2C endpoint, plus the bus I/O. More...
#include "protocore_config.h"Go to the source code of this file.
ESP32 glue for the interface bridge (PC_ENABLE_IFACE_BRIDGE): the PROTO_BRIDGE listener that wires an accepted connection to a UART / SPI / I2C endpoint, plus the bus I/O.
The pure core (iface_bridge.h) owns the rule table and the transaction frame codec; this file owns the side that touches hardware: a ConnProto::PROTO_BRIDGE connection handler and the Serial / SPI / Wire transfers. Layered exactly like services/net/relay - the app opens the listener, then publishes a target:
Security: a published port is a direct pipe to the bus. Only expose it on a trusted interface / behind an upstream ACL; there is no authentication at this layer.
Definition in file iface_bridge_hw.h.