NEWS 7.2 KB

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