Skip to main content

Crate rusty_modbus_gateway

Crate rusty_modbus_gateway 

Source
Expand description

Modbus TCP ↔ RTU gateway.

Bridges TCP clients to serial (RTU) devices by routing requests based on Unit ID and translating between MBAP and RTU framing.

Re-exports§

pub use config::GatewayConfig;
pub use config::RouteEntry;
pub use error::GatewayError;
pub use gateway::ModbusGateway;
pub use routing::RouteTable;

Modules§

config
Gateway configuration types.
error
Gateway error types.
gateway
ModbusGateway — TCP ↔ RTU bridge.
routing
Unit ID → backend routing table.
translator
MBAP ↔ RTU frame translation.