Function modbus_core::rtu::request_pdu_len
source · pub const fn request_pdu_len(adu_buf: &[u8]) -> Result<Option<usize>, Error>
Expand description
Extract the PDU length out of the ADU request buffer.
pub const fn request_pdu_len(adu_buf: &[u8]) -> Result<Option<usize>, Error>
Extract the PDU length out of the ADU request buffer.