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
  • tests
  • unit-test-master.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
26 commits
  • Fix #457200 - FreeBSD support by Norbert Koch
    f20a1860
    Stéphane Raimbault authored
    2010-01-21 11:35:28 +0100  
    Browse File »
  • 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 File »
  • Fix useless ret argument in printf
    77c8c416
    Stéphane Raimbault authored
    2010-01-21 11:35:28 +0100  
    Browse File »
  • New function modbus_set_slave()
    237df102
    Stéphane Raimbault authored
    2010-01-21 11:35:28 +0100  
    Browse File »
  • Minor - White spaces cleanup
    629dc1d7
    Stéphane Raimbault authored
    2010-01-21 11:35:28 +0100  
    Browse File »
  • 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 File »
  • 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 File »
  • 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 File »
  • Whitespace cleanup
    d8a5e555
    Stéphane Raimbault authored
    2010-01-21 11:35:26 +0100  
    Browse File »
  • Enhance the output of the bad response test.
    f09a7471
    Stéphane Raimbault authored
    2010-01-21 11:35:26 +0100  
    Browse File »
  • Add a unit test for the bad response from the slave.
    a01bab2b
    Stéphane Raimbault authored
    2010-01-21 11:35:25 +0100  
    Browse File »
  • Better unit tests. ...
    d11d30a5
    - The coil and registers are wrote by the master and not assigned by the
      slave anymore
    - The data used to write are the ones in unit-test.h
    - The read test is done after the write test
    Stéphane Raimbault authored
    2010-01-21 11:35:25 +0100  
    Browse File »
  • New random-test-slave ...
    3948142c
    - rename test-master-random => random-test-master
    - fix memset
    - update README
    - add the files to configure.ac and wscript
    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 »
  • Better use \n in printf in unit-test-master.c
    688ec1f5
    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 »
  • Fix incorrect number of points in unit-test-master.c
    62654acc
    Stéphane Raimbault authored
    2010-01-21 11:35:23 +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 »
  • 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 File »
  • 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 File »
  • Add preset_single_register on the server side (slave)
    ed5bed91
    Stéphane Raimbault authored
    2010-01-21 11:35:22 +0100  
    Browse File »
  • - 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 File »
  • New tests
    861e6a84
    Stéphane Raimbault authored
    2010-01-21 11:35:22 +0100  
    Browse File »
  • - 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 File »
  • Unit testing ...
    fa4f566b
    - Major changes to unit-test-master/slave to add 4 tests
    - Use new functions to manipulate bits
    - Reduce memory usage (allocate only the required space and use
      uint[8|16]_t pointers)
    Stéphane Raimbault authored
    2010-01-21 11:35:21 +0100  
    Browse File »
  • - Rename test files ...
    35c5a230
    - Separate unit-test-master and test-master-random
    Stéphane Raimbault authored
    2010-01-21 11:35:21 +0100  
    Browse File »