NEWS 7.5 KB

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