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-slave.c
23 Jul, 2010
1 commit
  • Major - Oh Gosh, it's brand new API! ...
    754235c2
    - more coherent
    - namespace
    - opaque and smaller context
    - usual wording
    Stéphane Raimbault authored
    2010-07-23 00:27:46 +0200  
    Browse File »

19 Jul, 2010
2 commits
  • Change indent level from 8 to 4
    66c59d6f
    Stéphane Raimbault authored
    2010-07-19 08:44:57 +0200  
    Browse File »
  • Fix #591142 - Slave id check should be disabled in TCP connection ...
    2b985f81
    A new API will be committed to remove the slave in TCP communication.
    Stéphane Raimbault authored
    2010-07-19 08:29:12 +0200  
    Browse File »

06 Jul, 2010
1 commit
  • Restore slave ID (server ID) argument in functions ...
    192f1731
    The ID used at init time will be the device ID of the caller and
    the server ID in request functions is the target to reach.
    Stéphane Raimbault authored
    2010-07-06 21:31:45 +0200  
    Browse File »

02 Jul, 2010
2 commits
  • Revert "Rename src to modbus" ...
    4a38de0a
    This reverts commit df0cf7927249954f15e0aa85b02d21b990fa9af9.
    Use <modbus.h> in tests.
    Stéphane Raimbault authored
    2010-07-02 08:37:42 +0200  
    Browse File »
  • Error conventions of POSIX systems and error recovery ...
    f0e7ad21
    - returns -1 on error and set errno
    - error recovery system was flawed
    - error recovery disabled by default
    - remove a malloc
    Stéphane Raimbault authored
    2010-07-02 08:00:38 +0200  
    Browse File »

10 Jun, 2010
1 commit
  • Fix typo on fprintf
    bb13bb7b
    Stéphane Raimbault authored
    2010-06-10 08:39:35 +0200  
    Browse File »

31 May, 2010
1 commit
  • Write real errors to stderr
    5ec104ae
    Stéphane Raimbault authored
    2010-05-31 18:40:16 +0200  
    Browse File »

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 »

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 File »

21 Jan, 2010
16 commits
  • 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 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 »
  • 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 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 »
  • 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 »
  • 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 »
  • Rename manage_query() to modbus_manage_query() and comment cleanups.
    202231da
    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 »
  • GNU licenses updated to the version 3.
    a017c19f
    Stéphane Raimbault authored
    2010-01-21 11:35:23 +0100  
    Browse File »
  • - 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 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 mapping allocation
    adbc98bc
    Stéphane Raimbault authored
    2010-01-21 11:35:22 +0100  
    Browse File »
  • - the test server is now an infinite loop ...
    2b965d49
    - use uint8_t* for the query
    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 »