-
Added support for native Win32 based on https://code.launchpad.net/~thepyper/libmodbus/win32-native This mainly affects the RTU implementation as the TCP/IP socket interface is the same thanks to the winsocks library. The interface for using the serial port is completely different on Win32 and is now implemented accordingly. Signed-off-by: Stéphane Raimbault <stephane.raimbault@gmail.com>
-
All declarations in modbus-rtu.h and modbus-tcp.h should be inside MODBUS_BEGIN_DECLS and MODBUS_END_DECLS in order to make that functions properly accessible in C++ files. Signed-off-by: Stéphane Raimbault <stephane.raimbault@gmail.com>
-
All private functions and constants are now prefixed by _. The modbus protocol uses entry points to call specific functions.
-
If <sys/time.h> is not included before "modbus.h" as struct timeval is not declared. This behavior was observed while building libmodbus for QNX. Signed-off-by: Matthias Weisser <weisserm@arcor.de>
-
- partial revert of 93ce13656103cbb459ebd630d055a008dbb059f3 - it was a bit confusing to always edit modbus.h.in - the header inclusion still unchanged (<modbus.h>)
-
The library is now simpler to include (only one <modbus.h>) To avoid confusion MB_VERSION defines have been renamed to LIBMODBUS_VERSION.
-
This reverts commit df0cf7927249954f15e0aa85b02d21b990fa9af9. Use <modbus.h> in tests.
-
This time the change is definitive :)
-
- the return value is used to pass the message length - remove the hack on exception check in modbus receive - update tests
-
- adjusts various comments on return values - updated tests - added entry to MIGRATION
-
- new function modbus_flush - new names and values for error defines - finer recovery on error - merge TOO_MANY_DATA and INVALID_DATA - stop unit-test-master at the first error - FLUSH_OR_RECONNECT_ON_ERROR -> FLUSH_OR_CONNECT_ON_ERROR - more precise tests in unit-test-master
-
- MAJOR changes to the API (see MIGRATION) - New unit tests - Removed TODO list - Updated NEWS & MIGRATION files
-
The maximum length of the ADU is 260 in TCP not 256.
-
Improve the conformance to the Modbus protocol. MAX_STATUS: 800 -> 2000 MAX_REGISTERS: 100 -> 125
-
This change improves the conformance with the PDU and ADU definitions of the Modbus protocol and reduces the number of additions.
-
- upgrade to WAF 1.5.3 - smaller WAF scripts - fix using of modbus.h with WAF - updated configure.ac and Makefile.am files - change include paths in test files
-
- move modbus.h => include/modbus/ - create a pkgconfig file (module.pc) - install modbus.h in $(includedir) - new path to reach modbus.h
-
- (error_treat): used string instead of message - added a define for each function code supported - added compute_query_size_header/data functions to read messages - added new function manage_query to manage queries and send the right response - s/receive_response/receive_msg/ - major changes to receive_msg to handle query - changed return value of check_crc16 - added response_io_status - comments - added functions to allocate/free a modbus mapping
-
(automatically generated log message)