Logo white

Peter M. Groen / libmodbus

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • Commits 855
  • Compare
  • Branches 1
  • Tags 0
  • libmodbus
  • src
07 Apr, 2012
2 commits
  • poll.h is useless to compile TCP backend
    dd4adad8
    Stéphane Raimbault authored
    2012-04-07 22:50:30 +0200  
    Browse Dir »
  • Display node and service in PI and port in IPv4 at connection
    8d8349b8
    Stéphane Raimbault authored
    2012-04-07 22:50:23 +0200  
    Browse Dir »

24 Mar, 2012
1 commit
  • Fix OMG bug in modbus_mapping_free not freeing memory ...
    c9106fdb
    Thanks to Stefan Finzel for the bug report
    Stéphane Raimbault authored
    2012-03-24 16:29:58 +0100  
    Browse Dir »

12 Mar, 2012
1 commit
  • Fix typo in typedef ...
    da49761b
    Signed-off-by: Michael Heimpold <mhei@heimpold.de>
    Michael Heimpold authored
    2012-03-12 14:35:50 +0100  
    Browse Dir »

01 Mar, 2012
1 commit
  • Fix incorrect test of select() return code ...
    30054b90
    Thanks to Thomas Stalder and Torello Querci for the report.
    Stéphane Raimbault authored
    2012-03-01 14:51:53 +0100  
    Browse Dir »

05 Feb, 2012
1 commit
  • Fix semicolon typo and unistd.h include under windows
    6350a992
    Andrew Kravchuk authored
    2012-02-05 01:43:51 +0400  
    Browse Dir »

15 Jan, 2012
5 commits
  • Return -1 on getaddrinfo error and print error in debug mode
    7e170c34
    Stéphane Raimbault authored
    2012-01-15 23:25:45 +0100  
    Browse Dir »
  • Minor - Missing '\n' in debug mode
    46281355
    Stéphane Raimbault authored
    2012-01-15 23:25:45 +0100  
    Browse Dir »
  • More robust way to establish the connection in non blocking mode
    146e8a08
    Stéphane Raimbault authored
    2012-01-15 23:25:45 +0100  
    Browse Dir »
  • TCP - Socket in non blocking mode by default ...
    8dc21dda
    Original patch for new connect function by Thomas Stalder.
    Stéphane Raimbault authored
    2012-01-15 23:25:45 +0100  
    Browse Dir »
  • Apply CLOEXEC flag for TCP protocol independent too (IPv6)
    e90f906b
    Stéphane Raimbault authored
    2012-01-15 23:16:39 +0100  
    Browse Dir »

03 Jan, 2012
1 commit
  • Add missing C++ macros in public headers ...
    5d7cabc8
    Thanks to Bernhard Agthe.
    Stéphane Raimbault authored
    2012-01-03 01:42:09 +0100  
    Browse Dir »

31 Dec, 2011
1 commit
  • New RTU receive() to ignore confirmation from other slaves (closes #18) ...
    c1e2e0b3
    - export new symbols to create specific behavior (RTU)
    - the flag can't only be set by slaves
    - new tests
    Stéphane Raimbault authored
    2011-12-31 00:47:03 +0100  
    Browse Dir »

28 Dec, 2011
1 commit
  • Add comment about return code of flush functions
    81a52093
    Stéphane Raimbault authored
    2011-12-28 14:59:20 +0100  
    Browse Dir »

27 Dec, 2011
1 commit
  • Move RTU filtering in CRC check to avoid useless call to modbus_reply ...
    9d5344cf
    Warning, modbus_receive returns 0 when a query is ignored.
    
    - function removed from TCP and RTU code and from backend structure
    - updated documentation
    - updated examples
    Stéphane Raimbault authored
    2011-12-27 00:15:27 +0100  
    Browse Dir »

15 Dec, 2011
1 commit
  • Unique transaction identifier by TCP connection ...
    6564c32b
    - remove static variable in the library
    
    libabc is a really good source of inspiration!
    https://git.kernel.org/?p=linux/kernel/git/kay/libabc.git
    Stéphane Raimbault authored
    2011-12-15 07:11:04 +0100  
    Browse Dir »

02 Nov, 2011
5 commits
  • Use accept4 with SOCK_CLOEXEC when available (Linux)
    2c585851
    Stéphane Raimbault authored
    2011-11-02 23:42:33 +0100  
    Browse Dir »
  • Open fd and socket with the CLOEXEC flag when available
    b94ba026
    Stéphane Raimbault authored
    2011-11-02 23:15:39 +0100  
    Browse Dir »
  • Exception response on report slave ID wasn't detected (closes #27)
    4cbc5252
    Stéphane Raimbault authored
    2011-11-02 08:54:26 +0100  
    Browse Dir »
  • Display function codes in hexadecimal in debug mode
    7fed3ff9
    Stéphane Raimbault authored
    2011-11-02 08:38:37 +0100  
    Browse Dir »
  • Fixed compilation break on platforms without TIOCSRS485 ...
    16e14ae1
    The serial mode and rts flags are now initialized in new function.
    Original patch provided by Jaime Alberto Silva
    <jaime@sgautomatizacion.com>.
    Stéphane Raimbault authored
    2011-11-02 08:04:31 +0100  
    Browse Dir »

31 Oct, 2011
4 commits
  • Check slave only in RTU backend and add unit tests ...
    1941fd4a
    - new function _modbus_rtu_pre_check_confirmation
    - new special test value to trigger an invalid response
    - add unit test to cover invalid TID too
    Stéphane Raimbault authored
    2011-10-31 16:49:17 +0100  
    Browse Dir »
  • Minor coding convention
    6bad3494
    Stéphane Raimbault authored
    2011-10-31 16:49:17 +0100  
    Browse Dir »
  • Provides a way to disable the byte timeout.
    602a7f38
    Alex Stapleton authored
    2011-10-31 16:49:17 +0100  
    Browse Dir »
  • Added slave ID check for response messages
    7ecfd411
    Alex Stapleton authored
    2011-10-31 16:49:17 +0100  
    Browse Dir »

20 Oct, 2011
1 commit
  • Protects modbus_mapping_free against NULL argument ...
    98b7a6a1
    Thanks to Andrea Mattia
    Stéphane Raimbault authored
    2011-10-20 22:52:45 +0200  
    Browse Dir »

28 Sep, 2011
2 commits
  • Close file descriptor when the settings don't apply in RTU ...
    c1b5d585
    Original patch provided by Thomas Stalder.
    Stéphane Raimbault authored
    2011-09-28 20:51:40 +0200  
    Browse Dir »
  • Request for Windows Sockets specification version 2.2 instead of 2.0 ...
    e93f2d88
    Thanks to Pavel Mazniker for the report.
    Stéphane Raimbault authored
    2011-09-28 19:47:31 +0200  
    Browse Dir »

01 Aug, 2011
6 commits
  • Removed useless init in float conversions
    f5e0585b
    Stéphane Raimbault authored
    2011-08-01 09:27:36 +0200  
    Browse Dir »
  • Review of RTS flow control code ...
    27b39f7e
    - avoid export of _modbus_rtu_set_rts and change its name to avoid
      confusion
    - namespace RTU functions and constants
    - use_rts is renamed rts
    - add missing '_' in function name
    - remove useless debug message in usual write
    - wrong message about 'not supported'
    - add check for TIOCM_RTS support
    - block RTS flow control when not available
    Stéphane Raimbault authored
    2011-08-01 08:35:25 +0200  
    Browse Dir »
  • Some stilistic changes
    88b2eaf3
    Torello Querci authored
    2011-08-01 08:35:25 +0200  
    Browse Dir »
  • Motified the RTS handling routine in order to manager when the ...
    fa86846c
    bit is used HIGH to able to transmit, or LOW.
    Torello Querci authored
    2011-08-01 08:35:25 +0200  
    Browse Dir »
  • Add some debug message in the send request function.
    8bb83590
    Torello Querci authored
    2011-08-01 08:35:25 +0200  
    Browse Dir »
  • Add the support to RTS signal in order to have RS485 working on some linux box with RS485 on-board.
    bf6718c9
    Torello Querci authored
    2011-08-01 08:35:24 +0200  
    Browse Dir »

17 Jul, 2011
5 commits
  • Extract serial_mode attribute from platform tests ...
    3803f89e
    Bonus side effect: the integer isn't present anymore when TIOCSRS485
    isn't supported on non Win32 platforms.
    Stéphane Raimbault authored
    2011-07-17 23:13:43 +0200  
    Browse Dir »
  • Fix proper check of HAVE_DECL_TIOCSRS485 in recent Win32 fix
    76284c17
    Stéphane Raimbault authored
    2011-07-17 23:09:17 +0200  
    Browse Dir »
  • Fix compile failure in modbus_rtu_get_serial_mode() without RS485 support ...
    4583f5ce
    When there's no RS485 support available (e.g. on Win32), the modbus_rtu_t
    data structure does not have the serial_mode member. It therefore must
    not be used in modbus_rtu_get_serial_mode() if HAVE_DECL_TIOCSRS485 is
    not defined. Fixes Win32 build with recent versions of libmodbus.
    Tobias Doerffel authored
    2011-07-17 23:06:27 +0200  
    Browse Dir »
  • Workaround for missing definition of ENOTSUP on Win32 ...
    876a8d0d
    The ENOTSUP error code is not defined on Win32. However we can simply
    use an equivalent from the Windows Socket API (WSA). Fixes Win32 build
    with recent versions of libmodbus.
    Tobias Doerffel authored
    2011-07-17 22:10:46 +0200  
    Browse Dir »
  • Properly check TIOCSRS485 define.
    83509b42
    Matthijs Kool authored
    2011-07-17 21:38:50 +0200  
    Browse Dir »

11 Jul, 2011
1 commit
  • Add documentation for many functions and tweak argument names ...
    9b803dd4
    Add macros in libmodbus.txt and:
    - modbus_get_byte_from_bits.txt
    - modbus_get_float.txt
    - modbus_reply.txt
    - modbus_reply_exception.txt
    - modbus_set_bits_from_byte.txt
    - modbus_set_bits_from_bytes.txt
    - modbus_set_float.txt
    Stéphane Raimbault authored
    2011-07-11 00:52:17 +0200  
    Browse Dir »