NEWS 6.9 KB

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