NEWS 7.1 KB

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