modbus_get_byte_timeout man page

modbus_get_byte_timeout — get timeout between bytes

Synopsis

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

Description

The modbus_get_byte_timeout() function shall store the timeout interval between two consecutive bytes of the same message in the timeout argument.

Return Value

There is no return values.

Example

struct timeval byte_timeout;

/* Save original timeout */
modbus_get_byte_timeout(ctx, &byte_timeout);

See Also

modbus_get_response_timeout(3) modbus_set_response_timeout(3) modbus_set_byte_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_response_timeout(3), modbus_set_byte_timeout(3), modbus_set_response_timeout(3).

04/02/2014 libmodbus 3.0.6 Libmodbus Manual