NEWS 10.0 KB

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