NEWS 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238
  1. libmodbus 2.9.4 (2011-06-XX)
  2. ============================
  3. - IPv6 support
  4. Make the TCP implementation "protocol independent" by Florian Forster
  5. and Stéphane Raimbault.
  6. - Fix compilation on Windows 7 (x64) with MinGW/MSYS and GCC 4.5
  7. Reported by Patsy Kaye.
  8. - Documentation of libmodbus functions with AsciiDoc (man and HTML) by Stéphane
  9. Raimbault
  10. - New functions to send and receive raw requests
  11. - Fix flush function of TCP backend on Windows
  12. - API changes for server/slave:
  13. * modbus_receive doesn't take socket/fd argument anymore
  14. * new function modbus_set_socket to set socket/fd
  15. - API changes for timeout functions:
  16. * modbus_get_timeout_begin -> modbus_get_response_timeout
  17. * modbus_set_timeout_begin -> modbus_set_response_timeout
  18. * modbus_get_timeout_end -> modbus_get_byte_timeout
  19. * modbus_set_timeout_end -> modbus_set_byte_timeout
  20. - New functions modbus_set/get_serial_mode by Manfred Gruber and Stéphane
  21. Raimbault for RS485 communications
  22. - Improved recovery mode (see modbus_set_error_recovery documentation) for
  23. data link and protocol errors.
  24. libmodbus 2.9.3 (2011-01-14)
  25. ============================
  26. - Major rewriting of the message reading (no more timeouts on exception)
  27. by Stéphane Raimbault
  28. - New function to reply to an indication with an exception message
  29. modbus_reply_exception()
  30. - New function modbus_get_header_length(modbus_t *ctx)
  31. - New functions to manipulate data:
  32. * MODBUS_GET_INT32_FROM_INT16
  33. * MODBUS_GET_INT16_FROM_INT8
  34. * MODBUS_SET_INT16_TO_INT8
  35. - Fix GH-2. Read/write were swapped in _FC_READ_AND_WRITE_REGISTERS
  36. - Install an ignore handler for SIGPIPE on *BSD
  37. Original patch by Jason Oster.
  38. - Fix closing of Win32 socket.
  39. Reported by Petr Parýzek.
  40. - Fix unit identifier not copied by the TCP server.
  41. Reported by Antti Manninen.
  42. - Fix missing modbus_flush() in unit tests
  43. - Fixes for OpenBSD by Barry Grumbine and Jason Oster
  44. libmodbus 2.9.2 (2010-12-05)
  45. ============================
  46. - Win32 support by Tobias Doerffel
  47. - Split source code around RTU and TCP (backends)
  48. - Rename modbus_[listen|accept] to modbus_tcp_[listen|accept]
  49. - Remove slave argument from modbus_new_rtu()
  50. - Check received function code
  51. - Fix segfault in bandwidth-server-many-up on inet_ntoa() call
  52. - Fix unit test of report slave ID in RTU
  53. - Fix GH-3. Remove inclusion of config.h in modbus.h
  54. - Correctly detect if we are cross-compiling for win32 by Kirill Smelkov.
  55. - Fix setting of the broadcast address
  56. libmodbus 2.9.1 (2010-08-16)
  57. ============================
  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.
  74. libmodbus 2.1.0 (2010-03-24)
  75. ============================
  76. - New API to read and write float values by Stéphane Raimbault and Florian
  77. Forster.
  78. - New API for slave server (see MIGRATION)
  79. - New slave server able to handle multiple connections
  80. - Slave only replies to broadcast queries or queries with its slave ID
  81. - Improved Modbus protocol conformance
  82. - modbus_param_t is smaller (2 int removed)
  83. - Better error management and SIGPIPE signal is blocked
  84. - Faster
  85. - Fix #333455 - Cygwin IPTOS_LOWDELAY not supported on cygwin
  86. Reported by Jeff Laughlin and Yishin Li.
  87. - Fix #375926 - modbus.c:164: error: `MSG_DONTWAIT' undeclared
  88. Reported and tested by Yishin Li.
  89. - Fix #378981 - CRC error on RTU response doesn't return negative value
  90. Reported by Henrik Munktell.
  91. - Fix report slave ID request
  92. Patch (bzr) provided by Paul Fertser.
  93. - Fix #425604 - Conditional jump or move depends on uninitialised value(s)
  94. Occurs on first occurence of slave timeout.
  95. Reported by Henrik Munktell.
  96. - Fix #457200 - FreeBSD support
  97. Patch provided by Norbert Koch.
  98. Other changes:
  99. - The code is now published and developed on
  100. http://github.com/stephane/libmodbus
  101. - Waf support has been removed
  102. libmodbus 2.0.3 (2009-03-22)
  103. ============================
  104. - Fix CRC error when a slave RTU send a response.
  105. Thanks to Justin Carroll to have reported and tested my patch.
  106. - Remove an assignment in compute_response_length()
  107. - Remove duplicate counter in read_io_status()
  108. - Fix #274511 reported by 'Kylesch'
  109. Invalid error check in modbus_init_listen_tcp
  110. libmodbus 2.0.2 (2008-08-10)
  111. ============================
  112. - Fix a bug reported by email by Davide Pippa
  113. The function modbus_receive must check the number of values
  114. indicated in the response accordingly to the query.
  115. - Fix #241006 reported by Jesus Hernandez Tapia
  116. modbus_check_response() crashes on an invalid exception code
  117. - Reduce the number of function calls (read_reg_response and
  118. preset_response have been removed)
  119. - Add a new unit test for bad response
  120. - Catch the timeout even if the length is equal to a exception trame
  121. - Test only msg_length_computed on change
  122. - Many comments and cleanups
  123. libmodbus 2.0.1 (2008-07-02)
  124. ============================
  125. - Include libmodbus.spec in the tarball
  126. - Fix #241006 reported by Jesus Hernandez Tapia
  127. modbus_check_response() crashes on an invalid exception code
  128. libmodbus 2.0.0 (2008-05-18)
  129. ============================
  130. - Slave API
  131. https://blueprints.launchpad.net/libmodbus/+spec/slave-api
  132. - No more glib dependency
  133. https://blueprints.launchpad.net/libmodbus/+spec/glib-dependency
  134. - Unit testing and many test programs
  135. - Waf build support
  136. https://blueprints.launchpad.net/libmodbus/+spec/waf-support
  137. - MacOS X support by Matthew Butch
  138. https://blueprints.launchpad.net/libmodbus/+spec/macosx-support
  139. - Unit testing (unit-test-slave and unit-test-master)
  140. - Port number is now defined at initialisation by Dirk Reusch
  141. - Better memory management (uint8_t *data and packing of
  142. modbus_param_t)
  143. - Better error management
  144. - Declare many static functions and const arrays
  145. - Enhance an integer division
  146. - The GNU licences LGPL and GPL are in version 3
  147. - Debian and RPM packages (#224496)
  148. - Many cleanups
  149. - Fix #159443 reported by Stefan Bisanz
  150. Index of incoming data in force multiple coils function
  151. - Fix #161989 reported by Konstantinos Togias
  152. Serial device paths more than 10 chars long (eg. /dev/ttyUSB0) don't
  153. fit to modbus_param_t -> device char[11] var.
  154. - Fix #188189 reported by Chris Hellyar
  155. Compute_response_size() no entry for read_input_status()
  156. - Fix #191039 reported by Todd Denniston
  157. modbus.h is not installed at prefix.
  158. - Fix #211460 reported by Todd Denniston
  159. With TCP, automatic reconnect on error may not be desired.
  160. - Fix #224485 reported by Todd Denniston
  161. libmodbus does not link with c++ code.
  162. - Fix #224496 reported by Todd Denniston
  163. It is easier to install on rpm based systems with a spec file.
  164. libmodbus 1.2.5 (2008-05-18)
  165. ============================
  166. - Fix #224485 reported by Todd Denniston
  167. libmodbus does not link with c++ code.
  168. libmodbus 1.2.4 (2008-03-14)
  169. ============================
  170. - Fix #191039 reported by Todd Denniston
  171. modbus.h is not installed at prefix.
  172. libmodbus 1.2.3 (2008-02-03)
  173. ============================
  174. - Fix #188189 reported by Chris Hellyar
  175. Compute_response_size() no entry for read_input_status()
  176. - Fix #181887 reported by Jesus Hernandez Tapia.
  177. Slave address in build_request_packet_tcp() is hardcoded as 0xFF.
  178. libmodbus 1.2.2 (2007-11-12)
  179. ============================
  180. - Fix #161989 reported by Konstantinos Togias
  181. Serial device paths more than 10 chars long (eg. /dev/ttyUSB0) don't
  182. fit to modbus_param_t -> device char[11] var.
  183. - Structure is also bit better 'packed' to conserve memory (see the
  184. trunk for a real enhancement).
  185. libmodbus 1.2.1 (2007-11-02)
  186. ============================
  187. - Fix #159443 reported by Stefan Bisanz
  188. Index of incoming data in force multiple coils function
  189. - Deleted useless code in check_crc16()
  190. - Untabify source code
  191. - Changed author's email to Stéphane Raimbault
  192. libmodbus 1.2.0 (2007-05-10)
  193. ============================
  194. - FIX Compilation GCC-4.0
  195. - Project name in autogen.sh