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
  • modbus
  • modbus.c
02 Apr, 2010
1 commit
  • Rename src to modbus ...
    df0cf792
    This time the change is definitive :)
    Stéphane Raimbault authored
    2010-04-02 17:07:42 +0200  
    Browse File »

21 Jan, 2010
39 commits
  • Rename modbus/ to src/ ...
    e80dc405
    - upgrade to WAF 1.5.3
    - smaller WAF scripts
    - fix using of modbus.h with WAF
    - updated configure.ac and Makefile.am files
    - change include paths in test files
    Stéphane Raimbault authored
    2010-01-21 11:35:27 +0100  
    Browse Dir »
  • Reduce size of modbus_param_t ...
    92f7a1f8
    - remove header and checksum length from modbus_param_t
    - use new const tables
    Stéphane Raimbault authored
    2010-01-21 11:35:27 +0100  
    Browse File »
  • Fix missing FLUSH_OR_RECONNECT_ON_ERROR in RTU mode
    a482dcc9
    Stéphane Raimbault authored
    2010-01-21 11:35:27 +0100  
    Browse File »
  • Whitespace cleanup
    d8a5e555
    Stéphane Raimbault authored
    2010-01-21 11:35:26 +0100  
    Browse File »
  • New slave able to manage many connections on uniprocessor architecture ...
    c7a6ffb3
    - new functions modbus_slave_init_listen_tcp, modbus_slave_accept_tcp,
      modbus_slave_slave_receive.
    - removed printf in modbus.c: 'Connection closed'
    - new slave test, bandwith-slave-many-up
    - updated build scripts
    - updated MIGRATION document file
    Stéphane Raimbault authored
    2010-01-21 11:35:26 +0100  
    Browse File »
  • Enhanced error message for RTU open (serial) ...
    fe8d9de6
    - use strerror instead of error number
    Stéphane Raimbault authored
    2010-01-21 11:35:26 +0100  
    Browse File »
  • Fix CRC error when a slave RTU send a response. ...
    369c055e
    Thanks to Justin Carroll to have reported and tested my patch.
    Stéphane Raimbault authored
    2010-01-21 11:35:26 +0100  
    Browse File »
  • Remove an assignment.
    8f643667
    Stéphane Raimbault authored
    2010-01-21 11:35:26 +0100  
    Browse File »
  • Remove duplicate counter in read_io_status()
    bec7d24f
    Stéphane Raimbault authored
    2010-01-21 11:35:26 +0100  
    Browse File »
  • Fix #274511 reported by 'Kylesch' ...
    5c98a1bf
    Invalid error check in modbus_init_listen_tcp
    Stéphane Raimbault authored
    2010-01-21 11:35:26 +0100  
    Browse File »
  • Check the number of values in the response is corresponding to the query.
    618f06ba
    Stéphane Raimbault authored
    2010-01-21 11:35:26 +0100  
    Browse File »
  • - Catch the timeout even if the length is equal to a exception trame. ...
    084e7e6a
    - Add many comments to receive_msg and modbus_receive functions.
    - The use of response_length for good response was confusing.
    Stéphane Raimbault authored
    2010-01-21 11:35:26 +0100  
    Browse File »
  • - Test only the msg_length_computed on change ...
    a1513415
    - Return test on read and recv slightly more robust
    - Fix a comment
    Stéphane Raimbault authored
    2010-01-21 11:35:26 +0100  
    Browse File »
  • Obsolete function declaration (read_reg_response).
    19fc907a
    Stéphane Raimbault authored
    2010-01-21 11:35:26 +0100  
    Browse File »
  • Rename modbus_check_response to modbus_receive
    4d205479
    Stéphane Raimbault authored
    2010-01-21 11:35:26 +0100  
    Browse File »
  • Remove a function call preset_response. ...
    94c9fcd9
    - code is easier to understand
    - code is bit faster.
    Stéphane Raimbault authored
    2010-01-21 11:35:26 +0100  
    Browse File »
  • Remove one function call overhead (read_reg_response).
    3540cd74
    Stéphane Raimbault authored
    2010-01-21 11:35:26 +0100  
    Browse File »
  • Fix - Check the return value of modbus_check_response ...
    53c93ae2
    - reduce the number of variables to store return values (status,
      query_ret and response_ret -> ret)
    - add some comments
    Stéphane Raimbault authored
    2010-01-21 11:35:25 +0100  
    Browse File »
  • Fix #241006 reported by Jesus Hernandez Tapia ...
    5a66262d
    modbus_check_response() crashes on an invalid exception code
    Stéphane Raimbault authored
    2010-01-21 11:35:25 +0100  
    Browse File »
  • Avoid to call check_crc16 in a TCP communication. ...
    20281893
    The test is now outside of check_crc16 and directly included in
    receive_msg().
    Stéphane Raimbault authored
    2010-01-21 11:35:25 +0100  
    Browse File »
  • Comment about receive_msg().
    e0ea0303
    Stéphane Raimbault authored
    2010-01-21 11:35:25 +0100  
    Browse File »
  • Declare some args with const
    58426bc8
    Stéphane Raimbault authored
    2010-01-21 11:35:25 +0100  
    Browse File »
  • Rename manage_query() to modbus_manage_query() and comment cleanups.
    202231da
    Stéphane Raimbault authored
    2010-01-21 11:35:25 +0100  
    Browse File »
  • Write the values in force_multiple_coils and preset_multiple_registers (SLAVE)
    a20d39d3
    Stéphane Raimbault authored
    2010-01-21 11:35:24 +0100  
    Browse File »
  • Add a comment for modbus_connect.
    4bc60984
    Stéphane Raimbault authored
    2010-01-21 11:35:24 +0100  
    Browse File »
  • Minor s/count/nb/ in modbus.[ch]
    0a80018a
    Stéphane Raimbault authored
    2010-01-21 11:35:24 +0100  
    Browse File »
  • Check the number of points requested ...
    6683bd47
    - s/datas/data/
    - the warning is now an error
    - add some checks in modbus.c
    - add unit tests
    - remove the TODO item
    - minor 80 columns changes
    Stéphane Raimbault authored
    2010-01-21 11:35:24 +0100  
    Browse File »
  • Minor changes to try to follow the 80 columns coding convention.
    c94fc603
    Stéphane Raimbault authored
    2010-01-21 11:35:24 +0100  
    Browse File »
  • Reduce the number of params in functions to enhance the speed of ...
    e8ac5407
    execution.
    Stéphane Raimbault authored
    2010-01-21 11:35:24 +0100  
    Browse File »
  • The transaction identifier used in response is now conform to the ...
    788cbf0b
    MODBUS Messaging on TCP/IP Implementation Guide V1.0b.
    
    The transaction identifier is used to associate the future response
    with the request.  So, at a time, on a TCP connection, this identifier
    must be unique. There are several manners to use the transaction
    identifier:
    - For example, it can be used as a simple "TCP sequence number" with a
      counter which is incremented at each request.
    - It can also be judiciously used as a smart index or pointer to
      identify a transaction context in order to memorize the current
      remote server and the pending MODBUS request.
    Stéphane Raimbault authored
    2010-01-21 11:35:24 +0100  
    Browse File »
  • Reduce the number of defines about maximum values for status and registers.
    8d1493f9
    Stéphane Raimbault authored
    2010-01-21 11:35:23 +0100  
    Browse File »
  • Minor change in the debug output
    4d75c35b
    Stéphane Raimbault authored
    2010-01-21 11:35:23 +0100  
    Browse File »
  • Minor comment set_response_length_tcp -> set_message_length_tcp
    4fabc5b3
    Stéphane Raimbault authored
    2010-01-21 11:35:23 +0100  
    Browse File »
  • GNU licenses updated to the version 3.
    a017c19f
    Stéphane Raimbault authored
    2010-01-21 11:35:23 +0100  
    Browse File »
  • Minor changes about baud rate setting
    032db7f7
    Stéphane Raimbault authored
    2010-01-21 11:35:23 +0100  
    Browse File »
  • Reorder error_treat arguments (modbu_param_t first)
    663084b6
    Stéphane Raimbault authored
    2010-01-21 11:35:23 +0100  
    Browse File »
  • Rename nb_bits to nb_points for status values
    dc8ed400
    Stéphane Raimbault authored
    2010-01-21 11:35:23 +0100  
    Browse File »
  • It's faster to use int data than uint16_t (alignment).
    b5d75be3
    Stéphane Raimbault authored
    2010-01-21 11:35:22 +0100  
    Browse File »
  • Use int instead of uint8_t/uint16_t in function arguments. ...
    50235c40
    It's slower to pass non aligned values.
    Stéphane Raimbault authored
    2010-01-21 11:35:22 +0100  
    Browse File »