Expand description
§Modbus FIFO Queue Response Handling
This module provides the logic for parsing and dispatching responses related to Modbus Read FIFO Queue (Function Code 0x18).
§Responsibilities
- Parsing: Validates PDU structure, function codes, and byte counts for FIFO responses.
- De-encapsulation: Extracts the 16-bit register values from the Modbus PDU.
- Dispatching: Routes the parsed data to the application layer via the
FifoQueueResponsetrait.
§Architecture
ResponseParser: Contains low-level logic to transform raw PDU bytes into a list of register values.ClientServicesimplementation: Orchestrates the high-level handling, converting the PDU into aFifoQueuemodel and triggering the application callback.