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

NAME

6       modbus_rtu_get_rts_delay - get the current RTS delay in RTU
7

SYNOPSIS

9       int modbus_rtu_get_rts_delay(modbus_t *ctx);
10

DESCRIPTION

12       The modbus_rtu_get_rts_delay() function shall get the current Request
13       To Send delay period of the libmodbus context ctx.
14
15       This function can only be used with a context using a RTU backend.
16

RETURN VALUE

18       The modbus_rtu_get_rts_delay() function shall return the current RTS
19       delay in microseconds if successful. Otherwise it shall return -1 and
20       set errno.
21

ERRORS

23       EINVAL
24           The libmodbus backend is not RTU.
25

SEE ALSO

27       modbus_rtu_set_rts_delay(3)
28

AUTHORS

30       Jimmy Bergström <jimmy@ekontroll.com>
31
32       The libmodbus documentation was written by Stéphane Raimbault
33       <stephane.raimbault@gmail.com>
34
35
36
37libmodbus v3.1.6                  02/04/2022           MODBUS_RTU_GET_RTS_D(3)
Impressum