1MODBUS_GET_INDICATIO(3)        libmodbus Manual        MODBUS_GET_INDICATIO(3)
2
3
4

NAME

6       modbus_get_indication_timeout - get timeout used to wait for an
7       indication (request received by a server).
8

SYNOPSIS

10       int modbus_get_indication_timeout(modbus_t *ctx, uint32_t *to_sec,
11       uint32_t *to_usec);
12

DESCRIPTION

14       The modbus_get_indication_timeout() function shall store the timeout
15       interval used to wait for an indication in the to_sec and to_usec
16       arguments. Indication is the term used by the Modbus protocol to
17       designate a request received by the server.
18
19       The default value is zero, it means the server will wait forever.
20

RETURN VALUE

22       The function shall return 0 if successful. Otherwise it shall return -1
23       and set errno.
24

EXAMPLE

26           uint32_t to_sec;
27           uint32_t to_usec;
28
29           /* Save original timeout */
30           modbus_get_indication_timeout(ctx, &to_sec, &to_usec);
31

SEE ALSO

33       modbus_set_indication_timeout(3) modbus_get_response_timeout(3)
34       modbus_set_response_timeout(3)
35

AUTHORS

37       The libmodbus documentation was written by Stéphane Raimbault
38       <stephane.raimbault@gmail.com>
39
40
41
42libmodbus v3.1.7                  07/20/2023           MODBUS_GET_INDICATIO(3)
Impressum