SYNOPSIS

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

DESCRIPTION

The modbus_set_response_timeout() function shall set the timeout interval used to wait for a response. If the waiting before receiving the response is longer than the given timeout, an error will be raised.

RETURN VALUE

There is no return values.

EXAMPLE

SEE ALSO

AUTHORS

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