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
06 May, 2011
2 commits
  • Update NEWS file for modbus_receive and modbus_[gs]et_socket
    33d92434
    Stéphane Raimbault authored
    2011-05-06 09:11:53 +0200  
    Browse Code »
  • Rename [gs]et_timeout_[begin|end] to [gs]et_[response|byte]_timeout ...
    852d7825
    The following functions have been renamed:
    - modbus_get_timeout_begin -> modbus_get_response_timeout
    - modbus_set_timeout_begin -> modbus_set_response_timeout
    - modbus_get_timeout_end -> modbus_get_byte_timeout
    - modbus_set_timeout_end -> modbus_set_byte_timeout
    
    The meaning of these timeout intervals is now clearer. The documentation
    has been updated.
    Stéphane Raimbault authored
    2011-05-06 09:11:11 +0200  
    Browse Code »

05 May, 2011
1 commit
  • New setter/getter for context socket (fixes bandwidth-server-many-up) ...
    1faf5c3a
    These new functions seem clearer than the recent modbus_receive_from
    function IHMO. This change fixes the bandwidth-server-many-up program.
    Stéphane Raimbault authored
    2011-05-05 00:03:52 +0200  
    Browse Code »

04 May, 2011
6 commits
  • Fix too short uint8_t for rsp_length (bug introduced by 018cdd6)
    5fd7ec5c
    Stéphane Raimbault authored
    2011-05-04 17:31:46 +0200  
    Browse Code »
  • Updated libmodbus.txt documentation
    5f77c114
    Stéphane Raimbault authored
    2011-05-04 16:56:50 +0200  
    Browse Code »
  • API cleanup with modbus_receive and modbus_receive_from ...
    7fe4a917
    Split the original modbus_receive function in two functions to avoid
    the strange -1 value to ignore the sockfd argument.
    Stéphane Raimbault authored
    2011-05-04 16:56:42 +0200  
    Browse Code »
  • Updated NEWS file
    eeb6cd81
    Stéphane Raimbault authored
    2011-05-04 00:39:45 +0200  
    Browse Code »
  • Avoid an iteration in flush function ...
    8057bbf4
    The loop test ought to iterate again to end the loop but this is
    only required if the socket contained more data than read.
    Stéphane Raimbault authored
    2011-05-04 00:30:58 +0200  
    Browse Code »
  • Fix flush function of TCP backend on Windows
    e2c9f5fd
    Stéphane Raimbault authored
    2011-05-04 00:30:33 +0200  
    Browse Code »

02 May, 2011
8 commits
  • Missing message in unit tests for modbus_send_raw_request
    1a6b2b9f
    Stéphane Raimbault authored
    2011-05-02 23:33:48 +0200  
    Browse Code »
  • The usleep in unit tests was too short
    b76b3952
    Stéphane Raimbault authored
    2011-05-02 23:33:16 +0200  
    Browse Code »
  • Change the nb of registers sent by the server to avoid a duplicate ...
    ce5435c4
    With the previous value UT_REGISTERS_NB, the server sent two
    consecutives and identical responses to the client. These requests
    could be confusing for the human reader!
    Stéphane Raimbault authored
    2011-05-02 00:29:18 +0200  
    Browse Code »
  • Improve handling of arguments of the macros ...
    39ccdf32
    The arguments are surrounded by parentheses to be evaluated first.
    Stéphane Raimbault authored
    2011-05-02 00:29:18 +0200  
    Browse Code »
  • Shorter names for constants which hold the number of values in UT
    f2f42c01
    Stéphane Raimbault authored
    2011-05-02 00:29:18 +0200  
    Browse Code »
  • Message to indicate the sending of a special response in unit tests
    67f8d030
    Stéphane Raimbault authored
    2011-05-02 00:29:18 +0200  
    Browse Code »
  • New function modbus_receive_confirmation ...
    018cdd6e
    The _modbus_receive_confirmation()_ function shall receive a
    request via the socket of the context 'ctx'. This function must be
    used for debugging purposes because the received response isn't
    checked against the initial request. This function can be
    convenient to receive request not handled by the library.
    Stéphane Raimbault authored
    2011-05-02 00:29:15 +0200  
    Browse Code »
  • New function modbus_send_raw_request ...
    0e4e82e8
    The _modbus_send_raw_request()_ function shall send a request via
    the socket of the context 'ctx'. This function must be used for
    debugging purposes because you have to take care to make a valid
    request by hand. The function only adds to the message, the header
    or CRC of the selected backend, so 'raw_req' must start and contain
    at least a slave/unit identifier and a function code. This function
    can be used to send request not handled by the library.
    Stéphane Raimbault authored
    2011-05-02 00:28:04 +0200  
    Browse Code »

19 Apr, 2011
2 commits
  • Fix typo in documentation of modbus_new_rtu
    b00b27cb
    Stéphane Raimbault authored
    2011-04-19 19:27:48 +0200  
    Browse Code »
  • Removed p_msg pointer in receive_msg
    d8ca3086
    Stéphane Raimbault authored
    2011-04-19 08:32:56 +0200  
    Browse Code »

12 Apr, 2011
2 commits
  • GetLastError() returns a DWORD so it's an unsigned int. Fixes #9. ...
    05ecdc21
    The error reported by #9 was already fixed in master but this change
    scrupulously respects the definition of DWORD.
    Stéphane Raimbault authored
    2011-04-12 22:29:07 +0200  
    Browse Code »
  • Rename req_* variables to msg_* in send_msg()
    9da1b6ad
    Stéphane Raimbault authored
    2011-04-12 22:13:57 +0200  
    Browse Code »

11 Apr, 2011
1 commit
  • Duplicated html target in documentation
    845110db
    Stéphane Raimbault authored
    2011-04-11 09:00:12 +0200  
    Browse Code »

25 Mar, 2011
7 commits
  • Add documentation based on AsciiDoc tools ...
    6254ede9
    Each function is decribed in one txt file. The file libmodbus.txt
    offers an overview of the library.
    
    It's possible to generate HTML and man outputs from the txt file.
    The documentation can be generated only if you have the required
    tools (asciidoc and xmlto).
    
    Better results are obtained with AsciiDoc v8.6+
    Stéphane Raimbault authored
    2011-03-25 22:26:56 +0100  
    Browse Code »
  • Remove useless internal variable called status
    acd36e62
    Stéphane Raimbault authored
    2011-03-25 22:11:56 +0100  
    Browse Code »
  • Rename data_dest|src in dest|src to match header
    09b581a5
    Stéphane Raimbault authored
    2011-03-25 18:37:22 +0100  
    Browse Code »
  • Replace the term "trame" by "message" ...
    cfaa872f
    - updated comments
    - renamed internal constants (eg. _TIME_OUT_BEGIN_OF_TRAME in
      _TIME_OUT_BEGIN_OF_MESSAGE)
    Stéphane Raimbault authored
    2011-03-25 18:37:22 +0100  
    Browse Code »
  • Ignore html and man in doc directory
    d7846ead
    Stéphane Raimbault authored
    2011-03-25 18:37:22 +0100  
    Browse Code »
  • Set the documentation license
    91bd0406
    Stéphane Raimbault authored
    2011-03-25 18:37:22 +0100  
    Browse Code »
  • Remove duplicated documentation for source files ...
    066b56d6
    To avoid to duplicate the documentation between source and
    documentation. The information already available in documentation
    is removed from source.
    Stéphane Raimbault authored
    2011-03-25 18:37:16 +0100  
    Browse Code »

01 Mar, 2011
1 commit
  • netinet/in.h is useless and it does not exist on Win32 ...
    f83246bb
    Reported by Tobias Doerffel.
    Stéphane Raimbault authored
    2011-03-01 12:37:51 +0100  
    Browse Code »

27 Feb, 2011
5 commits
  • Ignores *~ files
    9c87e7fe
    Stéphane Raimbault authored
    2011-02-27 23:30:52 +0100  
    Browse Code »
  • Fix compilation issue with Microsoft Visual Studio 2008 ...
    3fb24623
    Reported by Allan Cornet.
    Stéphane Raimbault authored
    2011-02-27 22:41:24 +0100  
    Browse Code »
  • Minor changes in float functions
    e6349372
    Stéphane Raimbault authored
    2011-02-27 22:10:12 +0100  
    Browse Code »
  • Fix compilation of TCP PI on Windows ...
    05efa1f7
    - removed ENOTCONN errno not supported
    - set WINVER to Windows XP (and above) and add ws2_32.dll. So older
      Windows versions aren't supported.
    Stéphane Raimbault authored
    2011-02-27 17:55:09 +0100  
    Browse Code »
  • Added m4/ to .gitignore
    0c36a6e7
    Stéphane Raimbault authored
    2011-02-27 15:26:42 +0100  
    Browse Code »

10 Feb, 2011
3 commits
  • Replace 3 libtool macros by a single LT_INIT
    a890746b
    Stéphane Raimbault authored
    2011-02-10 23:00:09 +0100  
    Browse Code »
  • The prefered way to submit bugs is now the issue tracker of github
    37882e06
    Stéphane Raimbault authored
    2011-02-10 21:46:18 +0100  
    Browse Code »
  • Removed duplicated call to AC_PROG_LIBTOOL
    ae9e9da9
    Stéphane Raimbault authored
    2011-02-10 21:25:16 +0100  
    Browse Code »

07 Feb, 2011
2 commits
  • Fix compilation issue on Windows 7 (x64) with MinGW/MSYS and GCC 4.5 ...
    d0973adb
    Reported by Patsy Kaye.
    Removed useless asignment at the same time.
    Stéphane Raimbault authored
    2011-02-07 17:35:58 +0100  
    Browse Code »
  • Updated NEWS file with IPv6 support
    b8aea3c2
    Stéphane Raimbault authored
    2011-02-07 08:40:14 +0100  
    Browse Code »