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
30 Mar, 2010
1 commit
  • Implement the register <-> float conversion without breaking aliasing rules. ...
    2fc58929
    The previous implementation dereferenced a type-puned pointer, which is
    illegal according to ANSI C. Some newer versions of GCC will complain
    about this. This implementation uses "memcpy" to avoid this problem.
    Florian Forster authored
    2010-03-30 10:48:03 +0200  
    Browse Dir »

24 Mar, 2010
1 commit
  • Remove one argument to receive_msg and modbus_slave_receive ...
    0a6ea1ac
    - the return value is used to pass the message length
    - remove the hack on exception check in modbus receive
    - update tests
    Stéphane Raimbault authored
    2010-03-24 08:40:30 +0100  
    Browse Dir »

21 Jan, 2010
38 commits
  • Fix #457200 - FreeBSD support by Norbert Koch
    f20a1860
    Stéphane Raimbault authored
    2010-01-21 11:35:28 +0100  
    Browse Dir »
  • New API to close slave TCP socket
    5f65efd8
    Stéphane Raimbault authored
    2010-01-21 11:35:28 +0100  
    Browse Dir »
  • Fix #425604 - Conditional jump or move depends on uninitialised value(s) ...
    effaf929
    It occurs on first occurence of slave timeout (found with Valgrind 3.3.0).
    Reported by Henrik Munktell.
    Stéphane Raimbault authored
    2010-01-21 11:35:28 +0100  
    Browse Dir »
  • Implemented FC_REPORT_SLAVE_ID according to specs
    243ac512
    Paul Fertser authored
    2010-01-21 11:35:28 +0100  
    Browse Dir »
  • New API modbus_read_float() and modbus_write_float() for float values
    22a68981
    Stéphane Raimbault authored
    2010-01-21 11:35:28 +0100  
    Browse Dir »
  • New function modbus_set_slave()
    237df102
    Stéphane Raimbault authored
    2010-01-21 11:35:28 +0100  
    Browse Dir »
  • Use config.h in Waf compilation ...
    62d8e2f6
    - simpler wscript_build files
    - reuse VERSION
    - add path to config.h
    Stéphane Raimbault authored
    2010-01-21 11:35:28 +0100  
    Browse Dir »
  • Fix #378981 - CRC error on RTU response doesn't return negative value ...
    16b9a1b3
    Reported by Henrik Munktell.
    Stéphane Raimbault authored
    2010-01-21 11:35:28 +0100  
    Browse Dir »
  • modbus_mapping_new returns 0 on success ...
    17994074
    - adjusts various comments on return values
    - updated tests
    - added entry to MIGRATION
    Stéphane Raimbault authored
    2010-01-21 11:35:28 +0100  
    Browse Dir »
  • Fix #375926 - modbus.c:164: error: `MSG_DONTWAIT' undeclared ...
    6e6e2602
    Reported and tested by Yishin Li.
    
    Real fix #333455 - IPTOS_LOWDELAY not supported on cygwin
    Thank to Yishin Li for the better problem description.
    Stéphane Raimbault authored
    2010-01-21 11:35:28 +0100  
    Browse Dir »
  • Minor - White spaces cleanup
    629dc1d7
    Stéphane Raimbault authored
    2010-01-21 11:35:28 +0100  
    Browse Dir »
  • Fix #333455 - Workaround IPTOS_LOWDELAY not supported ...
    1d6ab32e
    - check IPTOS_LOWDELAY define in configure
    - generate a config.h
    - include the generated config.h in modbus.c
    Stéphane Raimbault authored
    2010-01-21 11:35:27 +0100  
    Browse Dir »
  • Clearer message when a request is ignored
    58229652
    Stéphane Raimbault authored
    2010-01-21 11:35:27 +0100  
    Browse Dir »
  • Fix typo EROOR -> ERROR
    5def87b3
    Stéphane Raimbault authored
    2010-01-21 11:35:27 +0100  
    Browse Dir »
  • Error handling improvements ...
    14f42c18
    - new function modbus_flush
    - new names and values for error defines
    - finer recovery on error
    - merge TOO_MANY_DATA and INVALID_DATA
    - stop unit-test-master at the first error
    - FLUSH_OR_RECONNECT_ON_ERROR -> FLUSH_OR_CONNECT_ON_ERROR
    - more precise tests in unit-test-master
    Stéphane Raimbault authored
    2010-01-21 11:35:27 +0100  
    Browse Dir »
  • Replaced AF_INET by PF_INET in socket() ...
    efbbc3f7
    - same values (2)
    - man of socket() says PF_INET (packet family)
    - AF_INET (address family) for addresses
    Stéphane Raimbault authored
    2010-01-21 11:35:27 +0100  
    Browse Dir »
  • Fix typo on set verb
    edf461e8
    Stéphane Raimbault authored
    2010-01-21 11:35:27 +0100  
    Browse Dir »
  • The slave only listen when concerned (slave ID or broadcast) ...
    cdc536c9
    - MAJOR changes to the API (see MIGRATION)
    - New unit tests
    - Removed TODO list
    - Updated NEWS & MIGRATION files
    Stéphane Raimbault authored
    2010-01-21 11:35:27 +0100  
    Browse Dir »
  • Conformance of the TCP trame length ...
    f5e2f2c9
    The maximum length of the ADU is 260 in TCP not 256.
    Stéphane Raimbault authored
    2010-01-21 11:35:27 +0100  
    Browse Dir »
  • New definitions for MAX_STATUS and MAX_REGISTERS ...
    535e696f
    Improve the conformance to the Modbus protocol.
    MAX_STATUS: 800 -> 2000
    MAX_REGISTERS: 100 -> 125
    Stéphane Raimbault authored
    2010-01-21 11:35:27 +0100  
    Browse Dir »
  • Incremente the values of HEADER_LENGTH_[RTU|TCP] defines ...
    51500e93
    This change improves the conformance with the PDU and ADU definitions of the
    Modbus protocol and reduces the number of additions.
    Stéphane Raimbault authored
    2010-01-21 11:35:27 +0100  
    Browse Dir »
  • 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 »
  • New organisation of the source tree ...
    55bab3f5
    - separate tests directory
    - regroup modbus.h and modbus.c in the same dir
    - updated waf scripts
    - updated autotools files
    - bump application version to 1.9.0
    - bump library number to 2.0.0
    Stéphane Raimbault authored
    2010-01-21 11:35:20 +0100  
    Browse Dir »
  • Removed glib dependency
    7ac79f0a
    Stéphane Raimbault authored
    2010-01-21 11:35:20 +0100  
    Browse Dir »
  • Patch from Dirk Reusch to change the port number at init in TCP.
    e48f66e0
    Stéphane Raimbault authored
    2010-01-21 11:35:20 +0100  
    Browse Dir »
  • Add WAF scripts to build the libmodbus and the associated tests.
    bdbdf33f
    Stéphane Raimbault authored
    2010-01-21 11:35:20 +0100  
    Browse Dir »
  • License changes ...
    cc7591bb
    - modbus.[ch] are LGPL
    - test-modbus-master.c and test-modbus-slave.c are GPL
    Stéphane Raimbault authored
    2010-01-21 11:35:20 +0100  
    Browse Dir »
  • Remove i variable (conflict).
    8e2c3665
    Stéphane Raimbault authored
    2010-01-21 11:35:20 +0100  
    Browse Dir »
  • Remove offset variable in modbus_listen.
    1133e561
    Stéphane Raimbault authored
    2010-01-21 11:35:20 +0100  
    Browse Dir »
  • Major changes to the build system ...
    15d042e2
    - move modbus.h => include/modbus/
    - create a pkgconfig file (module.pc)
    - install modbus.h in $(includedir)
    - new path to reach modbus.h
    Stéphane Raimbault authored
    2010-01-21 11:35:20 +0100  
    Browse Dir »
  • Merge revno 17 from libmodbus-1.2 ...
    fdc7521f
    - Fix #191039 reported by Todd Denniston
        modbus.h is not installed at prefix
    Stéphane Raimbault authored
    2010-01-21 11:35:20 +0100  
    Browse Dir »
  • Merge -r10..12 from libmodbus 1.2 branch
    51481b5b
    Stéphane Raimbault authored
    2010-01-21 11:35:19 +0100  
    Browse Dir »
  • Fix #159443 - Index of incoming data in force multiple coils function
    fb2485c1
    Stéphane Raimbault authored
    2010-01-21 11:35:19 +0100  
    Browse Dir »
  • Untabify
    31400c9a
    Stéphane Raimbault authored
    2010-01-21 11:35:19 +0100  
    Browse Dir »
  • Deleted unuseful code in check_crc16()
    26dc666a
    Stéphane Raimbault authored
    2010-01-21 11:35:19 +0100  
    Browse Dir »
  • New examples programs (slave and master)
    13a55013
    Stéphane Raimbault authored
    2010-01-21 11:35:19 +0100  
    Browse Dir »
  • Major changes - Added slave functions (not finished) ...
    d3aecacf
    - (error_treat): used string instead of message
    - added a define for each function code supported
    - added compute_query_size_header/data functions to read messages
    - added new function manage_query to manage queries and send the right
      response
    - s/receive_response/receive_msg/
    - major changes to receive_msg to handle query
    - changed return value of check_crc16
    - added response_io_status
    - comments
    - added functions to allocate/free a modbus mapping
    Stéphane Raimbault authored
    2010-01-21 11:35:19 +0100  
    Browse Dir »
  • FIX Compilation GCC-4.0
    7d77328c
    Stephane Raimbault authored
    2010-01-21 11:35:02 +0100  
    Browse Dir »