Function tokio_modbus::client::tcp::connect_slave
source · pub async fn connect_slave(
socket_addr: SocketAddr,
slave: Slave
) -> Result<Context, Error>
Expand description
Connect to a physical, broadcast, or custom Modbus device, probably through a Modbus TCP gateway that is forwarding messages to/from the corresponding slave device.