1 # modbus_get_indication_timeout
5 modbus_get_indication_timeout - get timeout used to wait for an indication (request received by a server).
10 int modbus_get_indication_timeout(modbus_t *ctx, uint32_t *to_sec, uint32_t *to_usec);
15 The *modbus_get_indication_timeout()* function shall store the timeout interval
16 used to wait for an indication in the `to_sec` and `to_usec` arguments.
17 Indication is the term used by the Modbus protocol to designate a request
18 received by the server.
20 The default value is zero, it means the server will wait forever.
24 The function shall return 0 if successful. Otherwise it shall return -1 and set
31 /* Save original timeout */
32 modbus_get_indication_timeout(ctx, &to_sec, &to_usec);
37 - [modbus_set_indication_timeout](modbus_set_indication_timeout)
38 - [modbus_get_response_timeout](modbus_get_response_timeout)
39 - [modbus_set_response_timeout](modbus_set_response_timeout)