modbus_set_byte_timeout man page

modbus_set_byte_timeout — set timeout between bytes

Synopsis

void modbus_set_byte_timeout(modbus_t *ctx, struct timeval *timeout);

Description

The modbus_set_byte_timeout() function shall set the timeout interval between two consecutive bytes of the same message. If the delay between is longer than the given timeout, an error will be raised.

If the timeout value has a tv_sec of -1 then this timeout will not be used at all. This results in modbus_set_response_timeout governing the entire timeout duration of an operation.

Return Value

There is no return values.

See Also

modbus_get_byte_timeout(3) modbus_get_response_timeout(3) modbus_set_response_timeout(3)

Authors

The libmodbus documentation was written by Stéphane Raimbault <stephane.raimbault@gmail.com[1]>

Notes

1.

stephane.raimbault@gmail.com

mailto:stephane.raimbault@gmail.com

Referenced By

libmodbus(7), modbus_get_byte_timeout(3), modbus_get_response_timeout(3), modbus_set_response_timeout(3).

04/02/2014 libmodbus 3.0.6 Libmodbus Manual