Phase 3 PR 22 — Modbus ISubscribable via polling overlay #21
Reference in New Issue
Block a user
Delete Branch "phase-3-pr22-modbus-subscribe"
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?
Modbus has no push protocol, so the driver layers a per-subscription polling Task on the existing IReadable path. Initial-data push fires per-tag; subsequent polls diff vs last-known DataValueSnapshot (value + StatusCode) and raise OnDataChange only on change. Interval floored to 100ms. Unsubscribe cancels the per-subscription CTS. Multiple overlapping subs run independently. ShutdownAsync cancels everything before tearing down the transport. 6 new tests cover initial-data, stable-value silence, value-change detection, unsubscribe-stops-loop, interval floor, independent-subscription fan-out. 195/195 solution tests pass.