Phase 3 PR 21 — Modbus TCP driver (first native-protocol greenfield) #20
Reference in New Issue
Block a user
Delete Branch "phase-3-pr21-modbus-driver"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
New src/Driver.Modbus implements IDriver + ITagDiscovery + IReadable + IWritable against Modbus TCP. Validates the driver-agnostic abstractions generalize beyond Galaxy. IModbusTransport abstracts the socket so tests use a 256-register/256-coil in-memory fake. ADU codec (MBAP header + function codes 01/02/03/04/05/06/16) + BigEndian register decoding via System.Buffers.Binary. Subscriptions + Historian + Alarms deliberately out of scope (protocol doesn't express them; polling-overlay subscribe is additive). 9 new tests, 189/189 solution-wide tests pass.