-
Add macros in libmodbus.txt and: - modbus_get_byte_from_bits.txt - modbus_get_float.txt - modbus_reply.txt - modbus_reply_exception.txt - modbus_set_bits_from_byte.txt - modbus_set_bits_from_bytes.txt - modbus_set_float.txt
-
The following functions have been renamed: - modbus_get_timeout_begin -> modbus_get_response_timeout - modbus_set_timeout_begin -> modbus_set_response_timeout - modbus_get_timeout_end -> modbus_get_byte_timeout - modbus_set_timeout_end -> modbus_set_byte_timeout The meaning of these timeout intervals is now clearer. The documentation has been updated.
-
These new functions seem clearer than the recent modbus_receive_from function IHMO. This change fixes the bandwidth-server-many-up program.
-
Split the original modbus_receive function in two functions to avoid the strange -1 value to ignore the sockfd argument.
-
The _modbus_receive_confirmation()_ function shall receive a request via the socket of the context 'ctx'. This function must be used for debugging purposes because the received response isn't checked against the initial request. This function can be convenient to receive request not handled by the library.
-
The _modbus_send_raw_request()_ function shall send a request via the socket of the context 'ctx'. This function must be used for debugging purposes because you have to take care to make a valid request by hand. The function only adds to the message, the header or CRC of the selected backend, so 'raw_req' must start and contain at least a slave/unit identifier and a function code. This function can be used to send request not handled by the library.
-
Each function is decribed in one txt file. The file libmodbus.txt offers an overview of the library. It's possible to generate HTML and man outputs from the txt file. The documentation can be generated only if you have the required tools (asciidoc and xmlto). Better results are obtained with AsciiDoc v8.6+
-
This reverts commit df0cf7927249954f15e0aa85b02d21b990fa9af9. Use <modbus.h> in tests.
-
Some files reference modbus.pc or modbus.pc.in while other files reference libmodbus.pc or libmodbus.pc.in. Let stick with libmodbus.pc or libmodbus.pc.in.
-
This time the change is definitive :)
-
- 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
-
- Add test files to examples directory in libmodbus-dev. - Add MIGRATION file to libmodbus-dev. - Define the compatibility level to 6. - Add MIGRATION to EXTRA_DIST in Makefile.am - Add README to EXTRA_DIST in tests/Makefile.am - Add unit-test.h as dependency in tests/Makefile.am
-
- separate tests directory - regroup modbus.h and modbus.c in the same dir - updated waf scripts - updated autotools files - bump application version to 1.9.0 - bump library number to 2.0.0
-
- move modbus.h => include/modbus/ - create a pkgconfig file (module.pc) - install modbus.h in $(includedir) - new path to reach modbus.h
-
(automatically generated log message)