Expand description
Modbus RTU
Modules§
- client
- Modbus RTU client (master) specific functions.
- server
- Modbus RTU server (slave) specific functions.
Structs§
- Decoded
Frame - An extracted RTU PDU frame.
- Frame
Location - The location of all bytes that belong to the frame.
- Header
- RTU header
- Request
Adu - RTU Request ADU
- Response
Adu - RTU Response ADU
Functions§
- crc16
- Calculate the CRC (Cyclic Redundancy Check) sum.
- decode
- Decode RTU PDU frames from a buffer.
- extract_
frame - Extract a PDU frame out of a buffer.
- request_
pdu_ len - Extract the PDU length out of the ADU request buffer.
- response_
pdu_ len - Extract the PDU length out of the ADU response buffer.
Type Aliases§
- SlaveId
- Slave ID