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