-
The serial mode and rts flags are now initialized in new function. Original patch provided by Jaime Alberto Silva <jaime@sgautomatizacion.com>.
-
- new function _modbus_rtu_pre_check_confirmation - new special test value to trigger an invalid response - add unit test to cover invalid TID too
-
Thanks to Andrea Mattia
-
Original patch provided by Thomas Stalder.
-
Thanks to Pavel Mazniker for the report.
-
- add mising dependency on xmlto - describe license of the tests - adjust formating of licences - add format file
-
- increase package release - license name - readd automake
-
- avoid export of _modbus_rtu_set_rts and change its name to avoid confusion - namespace RTU functions and constants - use_rts is renamed rts - add missing '_' in function name - remove useless debug message in usual write - wrong message about 'not supported' - add check for TIOCM_RTS support - block RTS flow control when not available
-
bit is used HIGH to able to transmit, or LOW.
-
https://bugzilla.redhat.com/show_bug.cgi?id=724942
-
Bonus side effect: the integer isn't present anymore when TIOCSRS485 isn't supported on non Win32 platforms.
-
When there's no RS485 support available (e.g. on Win32), the modbus_rtu_t data structure does not have the serial_mode member. It therefore must not be used in modbus_rtu_get_serial_mode() if HAVE_DECL_TIOCSRS485 is not defined. Fixes Win32 build with recent versions of libmodbus.
-
The ENOTSUP error code is not defined on Win32. However we can simply use an equivalent from the Windows Socket API (WSA). Fixes Win32 build with recent versions of libmodbus.