• The arguments are surrounded by parentheses to be evaluated first.
    Stéphane Raimbault authored
     
    Browse File »
  • The _modbus_receive_confirmation()_ function shall receive a
    request via the socket of the context 'ctx'. This function must be
    used for debugging purposes because the received response isn't
    checked against the initial request. This function can be
    convenient to receive request not handled by the library.
    Stéphane Raimbault authored
     
    Browse File »
  • The _modbus_send_raw_request()_ function shall send a request via
    the socket of the context 'ctx'. This function must be used for
    debugging purposes because you have to take care to make a valid
    request by hand. The function only adds to the message, the header
    or CRC of the selected backend, so 'raw_req' must start and contain
    at least a slave/unit identifier and a function code. This function
    can be used to send request not handled by the library.
    Stéphane Raimbault authored
     
    Browse File »











  • 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 File »
  • All declarations in modbus-rtu.h and modbus-tcp.h should be inside
    MODBUS_BEGIN_DECLS and MODBUS_END_DECLS in order to make that functions
    properly accessible in C++ files.
    
    Signed-off-by: Stéphane Raimbault <stephane.raimbault@gmail.com>
    Tobias Doerffel authored
     
    Browse File »