1MODBUS_SET_DEBUG(3)            Libmodbus Manual            MODBUS_SET_DEBUG(3)
2
3
4

NAME

6       modbus_set_debug - set debug flag of the context
7

SYNOPSIS

9       void modbus_set_debug(modbus_t *ctx, int boolean);
10

DESCRIPTION

12       The modbus_set_debug() function shall set the debug flag of the
13       modbus_t context by using the argument boolean. When the boolean value
14       is set to TRUE, many verbose messages are displayed on stdout and
15       stderr. For example, this flag is useful to display the bytes of the
16       Modbus messages.
17
18           [00][14][00][00][00][06][12][03][00][6B][00][03]
19           Waiting for a confirmation...
20           <00><14><00><00><00><09><12><03><06><02><2B><00><00><00><00>
21

RETURN VALUE

23       There is no return values.
24

AUTHORS

26       The libmodbus documentation was written by Stéphane Raimbault
27       <stephane.raimbault@gmail.com[1]>
28

NOTES

30        1. stephane.raimbault@gmail.com
31           mailto:stephane.raimbault@gmail.com
32
33
34
35libmodbus 3.0.6                   04/02/2014               MODBUS_SET_DEBUG(3)
Impressum