Skip to main content

pamoja_modbus_client_set_response_timeout

Function pamoja_modbus_client_set_response_timeout 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_modbus_client_set_response_timeout( client: *const PamojaModbusClient, micros: u64, )
Expand description

Sets how long a client waits for a whole reply once a request has gone out.

§Arguments

  • client - the client.
  • micros - the response timeout.

§Safety

client must be a live handle or null.