• Reported by Antti Manninen and according to Page6 in the document
    "MODBUS Messaging on TCP/IP Implementation Guide V1.0b",
    ------------------------
    Unit Identifier – This field is used for intra-system routing purpose.
    It is typically used to communicate to a MODBUS+ or a MODBUS serial
    line slave through a gateway between an Ethernet TCP-IP network and
    a MODBUS serial line. This field is set by the MODBUS Client in the
    request and must be returned with the same value in the response by
    the server.
    ------------------------
    Stéphane Raimbault authored
     
    Browse Code »







  • Reported by Ivan Giuliani <giuliani.v@gmail.com>
    It was not possible to use libmodbus outside of projects without
    config.h file.
    
    The inclusion has been removed from the public header.
    
    Signed-off-by: Stéphane Raimbault <stephane.raimbault@gmail.com>
    Stéphane Raimbault authored
     
    Browse Code »
  • First, it's $host_os which should be checked, not $target (remember,
    'build' is where we build, host is where the program will be run, and
    target is only for compiler - for which system the compiler will
    generate code.
    
    Second, correct OS pattern - e.g. on debian with i586-mingw32msvc-gcc,
    host_os is mingw32msvc, so we better for *mingw32*.
    
    Also, it's better to call AC_CANONICAL_* for normalizing variables.
    
    Build tested with `configure --host=i586-mingw32msvc` on Debian
    GNU/Linux 5.0 (Lenny).
    
    Cc: Александр Сёмуха <sav@mns.spb.ru>
    Signed-off-by: Kirill Smelkov <kirr@mns.spb.ru>
    Signed-off-by: Stéphane Raimbault <stephane.raimbault@gmail.com>
    Kirill Smelkov authored
     
    Browse Code »