1
1
# NEWS
2
2
3
+ ## libmodbus x.x.x
4
+
5
+ - Fix float endianness issue introduced in v3.1.8 (49af73d).
6
+ Thank you @ghorwin for your excellent work on the subject.
7
+ Closes #665, #694, #757, #770.
8
+ - Don't build with debug flag by default anymore.
9
+ - Check request length in `modbus_reply` when used in `memcpy`.
10
+ Thank you Nozomi Networks Labs Advisory for the report.
11
+ - Fix insecure data handling. CID 416366: INTEGER_OVERFLOW found with Coverity
12
+ Scan.
13
+ - Remove useless cast in setsockopt call (closes #721)
14
+ - Link against socket and nsl libs when building on SunOS. Thank you @lanurmi.
15
+ - Update documentation about tcp-pi requiring 1 KiB of extra memory (closes #715).
16
+ Thank you @psychon.
17
+ - Documentation improvements by @cedricboudinet and @mhei.
18
+ - Revert TCP checks for recovery (closes #711).
19
+ - Don't use loop initial declaration (closes #752).
20
+ - Fix wrong generated version for double number in win32 (closes #675).
21
+ - Don't use gai_strerror if not available.
22
+ - Add checks for netinet/ip.h and gai_strerror
23
+ - Log error in read input registers if debug (closes #755).
24
+ - Fix errno value on timeout with TCP connect (closes #736, #756).
25
+ Thank you @kyllingstad for the issue and @psychon for the fix.
26
+ - Free addrinfo struct on getaddrinfo() errors.
27
+ - Fix doc of modbus_mapping_new_start_address (#615).
28
+
3
29
## libmodbus 3.1.10 (2022-12-07)
4
30
5
31
Urgent release to fix a regression.
@@ -388,7 +414,7 @@ RTS flow control.
388
414
- Enable RS485 support only when available
389
415
- Export modbus_set/get_serial_mode functions on all platforms
390
416
- API change for read/write multiple registers function:
391
- - modbus_read_and_write_registers -> modbus_write_and_read_registers
417
+ - modbus_read_and_write_registers -> modbus_write_and_read_registers
392
418
The function name was confusing because the write operation is performed
393
419
before the read. Take care to swap the arguments in the migration process.
394
420
- Documentation of modbus*write_and_read_registers, modbus_mapping_new/free,
@@ -411,13 +437,13 @@ RTS flow control.
411
437
modbus_receive_confirmation)
412
438
- Fix flush function of TCP backend on Windows
413
439
- API changes for server/slave:
414
- - modbus_receive doesn't take socket/fd argument anymore
415
- - new function modbus_set_socket to set socket/fd
440
+ - modbus_receive doesn't take socket/fd argument anymore
441
+ - new function modbus_set_socket to set socket/fd
416
442
- API changes for timeout functions:
417
- - modbus_get_timeout_begin -> modbus_get_response_timeout
418
- - modbus_set_timeout_begin -> modbus_set_response_timeout
419
- - modbus_get_timeout_end -> modbus_get_byte_timeout
420
- - modbus_set_timeout_end -> modbus_set_byte_timeout
443
+ - modbus_get_timeout_begin -> modbus_get_response_timeout
444
+ - modbus_set_timeout_begin -> modbus_set_response_timeout
445
+ - modbus_get_timeout_end -> modbus_get_byte_timeout
446
+ - modbus_set_timeout_end -> modbus_set_byte_timeout
421
447
- Fix longstanding limitation of server to wait forever
422
448
- New functions modbus_set/get_serial_mode by Manfred Gruber and Stéphane
423
449
Raimbault for RS485 communications
@@ -434,9 +460,9 @@ RTS flow control.
434
460
modbus_reply_exception()
435
461
- New function modbus_get_header_length(modbus_t \*ctx)
436
462
- New functions to manipulate data:
437
- - MODBUS_GET_INT32_FROM_INT16
438
- - MODBUS_GET_INT16_FROM_INT8
439
- - MODBUS_SET_INT16_TO_INT8
463
+ - MODBUS_GET_INT32_FROM_INT16
464
+ - MODBUS_GET_INT16_FROM_INT8
465
+ - MODBUS_SET_INT16_TO_INT8
440
466
- Fix GH-2. Read/write were swapped in \_FC_READ_AND_WRITE_REGISTERS
441
467
- Install an ignore handler for SIGPIPE on \*BSD
442
468
Original patch by Jason Oster.
@@ -506,8 +532,7 @@ RTS flow control.
506
532
507
533
Other changes:
508
534
509
- - The code is now published and developed on
510
- <http://github.com/stephane/libmodbus>
535
+ - The code is now published and developed on <http://github.com/stephane/libmodbus>
511
536
- Waf support has been removed
512
537
513
538
## libmodbus 2.0.3 (2009-03-22)
0 commit comments