Module slaveid

Module slaveid 

Source
Expand description

Modbus Slave Ids.

Slave ids are mainly used for Modbus RTU and Modbus ASCII communication but in many cases also have significance for modbus TCP communication. The SlaveId struct is the main way of using slave ids.

Structs§

SlaveId
A u8 wrapper type to represent slave ids

Functions§

get_slaveid
Gets the slave id of the given modbus data.
get_slaveid_unchecked
Gets the slave id of the given modbus data.