1 libmodbus 2.9.4 (2011-05-XX)
2 ============================
5 Make the TCP implementation "protocol independent" by Florian Forster
6 and Stéphane Raimbault.
7 - Fix compilation on Windows 7 (x64) with MinGW/MSYS and GCC 4.5
8 Reported by Patsy Kaye.
9 - Documentation of libmodbus functions with AsciiDoc (man and HTML) by Stéphane
11 - New functions to send and receive raw requests
12 - Fix flush function of TCP backend on Windows
13 - API changes for server/slave:
14 * modbus_receive has been renamed modbus_receive_from
15 * modbus_receive has been added to use the socket of the context.
17 libmodbus 2.9.3 (2011-01-14)
18 ============================
20 - Major rewriting of the message reading (no more timeouts on exception)
22 - New function to reply to an indication with an exception message
23 modbus_reply_exception()
24 - New function modbus_get_header_length(modbus_t *ctx)
25 - New functions to manipulate data:
26 * MODBUS_GET_INT32_FROM_INT16
27 * MODBUS_GET_INT16_FROM_INT8
28 * MODBUS_SET_INT16_TO_INT8
29 - Fix GH-2. Read/write were swapped in _FC_READ_AND_WRITE_REGISTERS
30 - Install an ignore handler for SIGPIPE on *BSD
31 Original patch by Jason Oster.
32 - Fix closing of Win32 socket.
33 Reported by Petr Parýzek.
34 - Fix unit identifier not copied by the TCP server.
35 Reported by Antti Manninen.
36 - Fix missing modbus_flush() in unit tests
37 - Fixes for OpenBSD by Barry Grumbine and Jason Oster
40 libmodbus 2.9.2 (2010-12-05)
41 ============================
43 - Win32 support by Tobias Doerffel
44 - Split source code around RTU and TCP (backends)
45 - Rename modbus_[listen|accept] to modbus_tcp_[listen|accept]
46 - Remove slave argument from modbus_new_rtu()
47 - Check received function code
48 - Fix segfault in bandwidth-server-many-up on inet_ntoa() call
49 - Fix unit test of report slave ID in RTU
50 - Fix GH-3. Remove inclusion of config.h in modbus.h
51 - Correctly detect if we are cross-compiling for win32 by Kirill Smelkov.
52 - Fix setting of the broadcast address
55 libmodbus 2.9.1 (2010-08-16)
56 ============================
58 - Brand new API (see MIGRATION notes)!
59 - Remove the internal function set_message_length_tcp
60 - Restore slave ID (server ID) argument in functions
61 - Error conventions of POSIX systems and error recover
62 - Parity setting is now a single char ('N', 'E' or 'O')
63 - Report slave ID server side
64 - OpenBSD support by Anibal Limón.
65 - New read and write registers function by Hannu Vuolasaho.
66 - Versioning infrastructure
67 Inspired by the Clutter project and the work done by Florian Forster.
68 - Fix the broadcast constant (255 -> 0)
69 Reported by David Olivari.
70 - Fix #463299 - New functions to define the timeouts of begin and end of trame
71 Original patch by Sisyph (eric-paul).
72 - Fix #591142 - Slave id check should be disabled in TCP connection
73 Reported by aladdinwu.
76 libmodbus 2.1.0 (2010-03-24)
77 ============================
79 - New API to read and write float values by Stéphane Raimbault and Florian
81 - New API for slave server (see MIGRATION)
82 - New slave server able to handle multiple connections
83 - Slave only replies to broadcast queries or queries with its slave ID
84 - Improved Modbus protocol conformance
85 - modbus_param_t is smaller (2 int removed)
86 - Better error management and SIGPIPE signal is blocked
88 - Fix #333455 - Cygwin IPTOS_LOWDELAY not supported on cygwin
89 Reported by Jeff Laughlin and Yishin Li.
90 - Fix #375926 - modbus.c:164: error: `MSG_DONTWAIT' undeclared
91 Reported and tested by Yishin Li.
92 - Fix #378981 - CRC error on RTU response doesn't return negative value
93 Reported by Henrik Munktell.
94 - Fix report slave ID request
95 Patch (bzr) provided by Paul Fertser.
96 - Fix #425604 - Conditional jump or move depends on uninitialised value(s)
97 Occurs on first occurence of slave timeout.
98 Reported by Henrik Munktell.
99 - Fix #457200 - FreeBSD support
100 Patch provided by Norbert Koch.
104 - The code is now published and developed on
105 http://github.com/stephane/libmodbus
106 - Waf support has been removed
109 libmodbus 2.0.3 (2009-03-22)
110 ============================
112 - Fix CRC error when a slave RTU send a response.
113 Thanks to Justin Carroll to have reported and tested my patch.
114 - Remove an assignment in compute_response_length()
115 - Remove duplicate counter in read_io_status()
116 - Fix #274511 reported by 'Kylesch'
117 Invalid error check in modbus_init_listen_tcp
120 libmodbus 2.0.2 (2008-08-10)
121 ============================
122 - Fix a bug reported by email by Davide Pippa
123 The function modbus_receive must check the number of values
124 indicated in the response accordingly to the query.
125 - Fix #241006 reported by Jesus Hernandez Tapia
126 modbus_check_response() crashes on an invalid exception code
127 - Reduce the number of function calls (read_reg_response and
128 preset_response have been removed)
129 - Add a new unit test for bad response
130 - Catch the timeout even if the length is equal to a exception trame
131 - Test only msg_length_computed on change
132 - Many comments and cleanups
135 libmodbus 2.0.1 (2008-07-02)
136 ============================
138 - Include libmodbus.spec in the tarball
139 - Fix #241006 reported by Jesus Hernandez Tapia
140 modbus_check_response() crashes on an invalid exception code
143 libmodbus 2.0.0 (2008-05-18)
144 ============================
147 https://blueprints.launchpad.net/libmodbus/+spec/slave-api
148 - No more glib dependency
149 https://blueprints.launchpad.net/libmodbus/+spec/glib-dependency
150 - Unit testing and many test programs
152 https://blueprints.launchpad.net/libmodbus/+spec/waf-support
153 - MacOS X support by Matthew Butch
154 https://blueprints.launchpad.net/libmodbus/+spec/macosx-support
155 - Unit testing (unit-test-slave and unit-test-master)
156 - Port number is now defined at initialisation by Dirk Reusch
157 - Better memory management (uint8_t *data and packing of
159 - Better error management
160 - Declare many static functions and const arrays
161 - Enhance an integer division
162 - The GNU licences LGPL and GPL are in version 3
163 - Debian and RPM packages (#224496)
165 - Fix #159443 reported by Stefan Bisanz
166 Index of incoming data in force multiple coils function
167 - Fix #161989 reported by Konstantinos Togias
168 Serial device paths more than 10 chars long (eg. /dev/ttyUSB0) don't
169 fit to modbus_param_t -> device char[11] var.
170 - Fix #188189 reported by Chris Hellyar
171 Compute_response_size() no entry for read_input_status()
172 - Fix #191039 reported by Todd Denniston
173 modbus.h is not installed at prefix.
174 - Fix #211460 reported by Todd Denniston
175 With TCP, automatic reconnect on error may not be desired.
176 - Fix #224485 reported by Todd Denniston
177 libmodbus does not link with c++ code.
178 - Fix #224496 reported by Todd Denniston
179 It is easier to install on rpm based systems with a spec file.
182 libmodbus 1.2.5 (2008-05-18)
183 ============================
185 - Fix #224485 reported by Todd Denniston
186 libmodbus does not link with c++ code.
189 libmodbus 1.2.4 (2008-03-14)
190 ============================
192 - Fix #191039 reported by Todd Denniston
193 modbus.h is not installed at prefix.
196 libmodbus 1.2.3 (2008-02-03)
197 ============================
199 - Fix #188189 reported by Chris Hellyar
200 Compute_response_size() no entry for read_input_status()
201 - Fix #181887 reported by Jesus Hernandez Tapia.
202 Slave address in build_request_packet_tcp() is hardcoded as 0xFF.
205 libmodbus 1.2.2 (2007-11-12)
206 ============================
208 - Fix #161989 reported by Konstantinos Togias
209 Serial device paths more than 10 chars long (eg. /dev/ttyUSB0) don't
210 fit to modbus_param_t -> device char[11] var.
211 - Structure is also bit better 'packed' to conserve memory (see the
212 trunk for a real enhancement).
215 libmodbus 1.2.1 (2007-11-02)
216 ============================
218 - Fix #159443 reported by Stefan Bisanz
219 Index of incoming data in force multiple coils function
220 - Deleted useless code in check_crc16()
221 - Untabify source code
222 - Changed author's email to Stéphane Raimbault
225 libmodbus 1.2.0 (2007-05-10)
226 ============================
228 - FIX Compilation GCC-4.0
229 - Project name in autogen.sh