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
21 Jan, 2010
40 commits
  • Rename manage_query() to modbus_manage_query() and comment cleanups.
    202231da
    Stéphane Raimbault authored
    2010-01-21 11:35:25 +0100  
    Browse Dir »
  • 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 Dir »
  • Add a comment for modbus_connect.
    4bc60984
    Stéphane Raimbault authored
    2010-01-21 11:35:24 +0100  
    Browse Dir »
  • Minor s/count/nb/ in modbus.[ch]
    0a80018a
    Stéphane Raimbault authored
    2010-01-21 11:35:24 +0100  
    Browse Dir »
  • 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 Dir »
  • Minor changes to try to follow the 80 columns coding convention.
    c94fc603
    Stéphane Raimbault authored
    2010-01-21 11:35:24 +0100  
    Browse Dir »
  • 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 Dir »
  • 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 Dir »
  • 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 Dir »
  • Minor change in the debug output
    4d75c35b
    Stéphane Raimbault authored
    2010-01-21 11:35:23 +0100  
    Browse Dir »
  • Minor comment set_response_length_tcp -> set_message_length_tcp
    4fabc5b3
    Stéphane Raimbault authored
    2010-01-21 11:35:23 +0100  
    Browse Dir »
  • GNU licenses updated to the version 3.
    a017c19f
    Stéphane Raimbault authored
    2010-01-21 11:35:23 +0100  
    Browse Dir »
  • Fix #224485 reported by Todd Denniston ...
    680e90f4
    libmodbus does not link with c++ code.
    Stéphane Raimbault authored
    2010-01-21 11:35:23 +0100  
    Browse Dir »
  • The new modbus_param_t use only 2 cachelines on Core 2 Duo (2 * 64 bytes). ...
    1df898b4
    Pahole tool by Arnaldo Carvalho de Melo has been used to found this problem.
    Stéphane Raimbault authored
    2010-01-21 11:35:23 +0100  
    Browse Dir »
  • Minor changes about baud rate setting
    032db7f7
    Stéphane Raimbault authored
    2010-01-21 11:35:23 +0100  
    Browse Dir »
  • Reorder error_treat arguments (modbu_param_t first)
    663084b6
    Stéphane Raimbault authored
    2010-01-21 11:35:23 +0100  
    Browse Dir »
  • Rename nb_bits to nb_points for status values
    dc8ed400
    Stéphane Raimbault authored
    2010-01-21 11:35:23 +0100  
    Browse Dir »
  • It's faster to use int data than uint16_t (alignment).
    b5d75be3
    Stéphane Raimbault authored
    2010-01-21 11:35:22 +0100  
    Browse Dir »
  • 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 Dir »
  • Rename packet to message
    ea8b20b1
    Stéphane Raimbault authored
    2010-01-21 11:35:22 +0100  
    Browse Dir »
  • - Rename MAX_PACKET_SIZE to MAX_MESSAGE_LENGTH ...
    23ac3281
    - Reduce the max message length to 256 (PI_M300)
    - s/size/length/
    Stéphane Raimbault authored
    2010-01-21 11:35:22 +0100  
    Browse Dir »
  • Cleanup reg_count, coil_count -> nb_points
    f5cd5962
    Stéphane Raimbault authored
    2010-01-21 11:35:22 +0100  
    Browse Dir »
  • Add preset_multiple_registers in slave side ...
    7b320fa2
    - add some unit tests
    - add PRESET_MULTIPLE_REGISTERS support in manage_query()
    Stéphane Raimbault authored
    2010-01-21 11:35:22 +0100  
    Browse Dir »
  • Add force_multiple_coils on the slave side ...
    f4583400
    - cleanups in offset/resp_length vars
    - cleanups in comments
    - add FORCE_MULTIPLE_COILS in manage_query
    Stéphane Raimbault authored
    2010-01-21 11:35:22 +0100  
    Browse Dir »
  • Add preset_single_register on the server side (slave)
    ed5bed91
    Stéphane Raimbault authored
    2010-01-21 11:35:22 +0100  
    Browse Dir »
  • - Fix the server side of force_single_coil ...
    de225a19
    - Add some tests for force_single_coil
    Stéphane Raimbault authored
    2010-01-21 11:35:22 +0100  
    Browse Dir »
  • Enhance detection of ILLEGAL_DATA_ADDRESS error.
    73ce26e0
    Stéphane Raimbault authored
    2010-01-21 11:35:22 +0100  
    Browse Dir »
  • Minor ...
    4cf22c31
    - Two statements on the same line
    Stéphane Raimbault authored
    2010-01-21 11:35:22 +0100  
    Browse Dir »
  • Minor ...
    d457ea86
    - remove a comment about perror (useless)
    - remove some printf
    - rename write_ret to ret
    Stéphane Raimbault authored
    2010-01-21 11:35:22 +0100  
    Browse Dir »
  • Enhance error management.
    9be43128
    Stéphane Raimbault authored
    2010-01-21 11:35:22 +0100  
    Browse Dir »
  • Common error handling for RTU and TCP.
    02f16fd4
    Stéphane Raimbault authored
    2010-01-21 11:35:22 +0100  
    Browse Dir »
  • Add static declaration to response_exception
    14749913
    Stéphane Raimbault authored
    2010-01-21 11:35:22 +0100  
    Browse Dir »
  • - The slave can build exception responses: ...
    93f239f5
    o illegal data value
      o illegal data address
    - Better naming of build_query_basis and build_response_basis
    - build_response_basis can be use by response_exception
    - Reduce variable declarations
    - Close 3 FIXME
    - Add a test in unit-test-master
    Stéphane Raimbault authored
    2010-01-21 11:35:21 +0100  
    Browse Dir »
  • Remove printf
    4c9b0298
    Stéphane Raimbault authored
    2010-01-21 11:35:21 +0100  
    Browse Dir »
  • Reduce the difference with the MacOS X verion.
    72ee68ee
    Stéphane Raimbault authored
    2010-01-21 11:35:21 +0100  
    Browse Dir »
  • Integer division 8.0 -> 8
    8556e176
    Stéphane Raimbault authored
    2010-01-21 11:35:21 +0100  
    Browse Dir »
  • Various changes ...
    1660f894
    - declare some functions static
    - use uint8_t and uint16_t in various places to reduce memory use, the transition is not complete and will break compilation of some applications
    - add some new functions to get/set bits from one or many bytes:
      o set_bits_from_byte
      o set_bits_from_bytes
      o get_byte_from_bits
    - the server (slave) detects a connection closing
    Stéphane Raimbault authored
    2010-01-21 11:35:21 +0100  
    Browse Dir »
  • Fix #211460 reported by Todd Denniston ...
    bbcc2438
    With TCP, automatic reconnect on error may not be desired.
    It's now possible to adjust the error handling mode.
    Stéphane Raimbault authored
    2010-01-21 11:35:21 +0100  
    Browse Dir »
  • Fix MaxOS X support
    ee012c8a
    Stéphane Raimbault authored
    2010-01-21 11:35:21 +0100  
    Browse Dir »
  • Support of MacOSX, based on the work of Matthew Butch. ...
    6ff2eef1
    Need testing.
    Stéphane Raimbault authored
    2010-01-21 11:35:21 +0100  
    Browse Dir »