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
28 Jun, 2011
2 commits
  • Added documentation of modbus_write_and_read_registers
    64e21cce
    Stéphane Raimbault authored
    2011-06-28 08:18:41 +0200  
    Browse Code »
  • Renamed modbus_read_and_write_registers to modbus_write_and_read_registers ...
    a2e41db3
    The function name was confusing because the write operation is performed
    before the read. Take care to swap the arguments in the migration process.
    Stéphane Raimbault authored
    2011-06-28 08:15:08 +0200  
    Browse Code »

17 Jun, 2011
1 commit
  • Revert libmodbus licence from LGPLv3 to LGPLv2.1 ...
    12753875
    Avoid incompatibility with GPLv2 program. This change has been approved by
    Tobias Doerffel, Florian octo Forster and Hannu Vuolasaho.
    Stéphane Raimbault authored
    2011-06-17 20:35:53 +0200  
    Browse Code »

08 Jun, 2011
1 commit
  • Export the MODBUS_RTU_RS232/485 and rtu_set_serial_mode on all platforms
    e97b72e3
    Stéphane Raimbault authored
    2011-06-08 12:48:49 +0200  
    Browse Code »

05 Jun, 2011
8 commits
  • Replace spaces by tab in debian/rules
    71585404
    Stéphane Raimbault authored
    2011-06-05 21:40:20 +0200  
    Browse Code »
  • Indicates the required Linux version for RS485 functions ...
    a17a858c
    Thank you Ivo De Decker.
    Stéphane Raimbault authored
    2011-06-05 21:37:02 +0200  
    Browse Code »
  • Fix test of TIOCSRS485 define
    ccdf684b
    Stéphane Raimbault authored
    2011-06-05 21:36:30 +0200  
    Browse Code »
  • Add check to enable RS485 functions only when available
    e02f0a43
    Stéphane Raimbault authored
    2011-06-05 20:52:27 +0200  
    Browse Code »
  • Bump version to 2.9.4 ...
    c1a01312
    All related scripts and config files have been updated too.
    Stéphane Raimbault authored
    2011-06-05 12:47:59 +0200  
    Browse Code »
  • Updated NEWS file
    ea2d655e
    Stéphane Raimbault authored
    2011-06-05 05:57:03 +0200  
    Browse Code »
  • Update documentation of modbus_set_error_recovery
    3b09d0f4
    Stéphane Raimbault authored
    2011-06-05 05:51:17 +0200  
    Browse Code »
  • New error recovery modes: link and protocol ...
    d1f18543
    The two modes are complementary, MODBUS_ERROR_RECOVERY_LINK handles
    errors at data link level (bad file descriptor, timeout, etc) and
    MODBUS_ERROR_RECOVERY_PROTOCOL checks Modbus error (eg. invalid
    function code or trame length).
    
    This change introduces the use of the Sleep function for Windows.
    Some duplicated code has been moved from backends to modbus core.
    A new debug message is now available when a flush occurs.
    
    The unit tests are now based on this error recovery code.
    Stéphane Raimbault authored
    2011-06-05 05:49:32 +0200  
    Browse Code »

03 Jun, 2011
3 commits
  • Alphabetical ordering of tests in Makefile.am
    ac6ba5c1
    Stéphane Raimbault authored
    2011-06-03 16:34:05 +0200  
    Browse Code »
  • Documentation of modbus_rtu_set/get_serial_mode functions
    11e09965
    Stéphane Raimbault authored
    2011-06-03 01:08:00 +0200  
    Browse Code »
  • Add functions to set/get RS485 communications on Linux
    9bf83095
    Stéphane Raimbault authored
    2011-06-03 01:07:52 +0200  
    Browse Code »

28 May, 2011
1 commit
  • Remove set but unused req_lenth and address in unit tests
    bb23b4ab
    Stéphane Raimbault authored
    2011-05-28 17:49:43 +0200  
    Browse Code »

10 May, 2011
6 commits
  • Add check on transaction ID for Modbus TCP
    b4330d21
    Stéphane Raimbault authored
    2011-05-10 12:31:27 +0200  
    Browse Code »
  • Increase wait in unit test for Windows 7 slowness
    1a45c24d
    Stéphane Raimbault authored
    2011-05-10 10:02:33 +0200  
    Browse Code »
  • The test with too short timeout is allowed to fail
    a0a8242a
    Stéphane Raimbault authored
    2011-05-10 10:02:33 +0200  
    Browse Code »
  • Fix typo in modbus_new_tcp.txt
    9f316b36
    Stéphane Raimbault authored
    2011-05-10 10:02:33 +0200  
    Browse Code »
  • New unit test with invalid slave and invalid request
    e0839095
    Stéphane Raimbault authored
    2011-05-10 10:02:33 +0200  
    Browse Code »
  • Fix longstanding limitation of server to wait forever ...
    89d0dc01
    The change for serial on Windows is temporary. If you're interested of
    improving the situation for this, please have a look at the FIXME.
    Stéphane Raimbault authored
    2011-05-10 10:00:46 +0200  
    Browse Code »

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
1 commit
  • Fix typo in documentation of modbus_new_rtu
    b00b27cb
    Stéphane Raimbault authored
    2011-04-19 19:27:48 +0200  
    Browse Code »