• - new public function
    - change unit-test-server.c to be transport layer independant (query
      and header_length)
    Stéphane Raimbault authored
     
    Browse Dir »
  • The goal of this rewriting is to avoid the timeouts on the receiving
    of exceptions and to be more robust on bad requests. Some devices
    use the exception MODBUS_EXCEPTION_ACKNOWLEDGE to response to some
    valid requests, so in this case, you'll really appreciate this
    change!
    
    - Slower! More system calls are used.
    - The code is cleaner and easier to understand.
    - Really faster when an exception occurs.
    - Fix unit test of bad request in RTU
    Stéphane Raimbault authored
     
    Browse Dir »









  • Added support for native Win32 based on
    https://code.launchpad.net/~thepyper/libmodbus/win32-native
    This mainly affects the RTU implementation as the TCP/IP socket
    interface is the same thanks to the winsocks library. The interface
    for using the serial port is completely different on Win32 and is now
    implemented accordingly.
    
    Signed-off-by: Stéphane Raimbault <stephane.raimbault@gmail.com>
    Tobias Doerffel authored
     
    Browse Dir »