1MODBUS_RTU_SET_RTS_D(3) libmodbus Manual MODBUS_RTU_SET_RTS_D(3)
2
3
4
6 modbus_rtu_set_rts_delay - set the RTS delay in RTU
7
9 int modbus_rtu_set_rts_delay(modbus_t *ctx, int us);
10
12 The modbus_rtu_set_rts_delay() function shall set the Request To Send
13 delay period of the libmodbus context ctx.
14
15 This function can only be used with a context using a RTU backend.
16
18 The modbus_rtu_set_rts_delay() function shall return 0 if successful.
19 Otherwise it shall return -1 and set errno.
20
22 EINVAL
23 The libmodbus backend is not RTU or a negative delay was specified.
24
26 modbus_rtu_get_rts_delay(3)
27
29 Jimmy Bergström <jimmy@ekontroll.com>
30
31 The libmodbus documentation was written by Stéphane Raimbault
32 <stephane.raimbault@gmail.com>
33
34
35
36libmodbus v3.1.6 01/19/2023 MODBUS_RTU_SET_RTS_D(3)