Skip to main content

process_request

Function process_request 

Source
pub async fn process_request<S: DataStore>(
    pdu: &[u8],
    unit_id: UnitId,
    store: &S,
    device_id: &DeviceIdentification,
) -> Option<Vec<u8>>
Expand description

Process a request PDU and return a response PDU (or None for broadcast writes).

The pdu slice starts at the function code byte.