• The two modes are complementary, MODBUS_ERROR_RECOVERY_LINK handles
    errors at data link level (bad file descriptor, timeout, etc) and
    MODBUS_ERROR_RECOVERY_PROTOCOL checks Modbus error (eg. invalid
    function code or trame length).
    
    This change introduces the use of the Sleep function for Windows.
    Some duplicated code has been moved from backends to modbus core.
    A new debug message is now available when a flush occurs.
    
    The unit tests are now based on this error recovery code.
    Stéphane Raimbault authored
     
    Browse File »







  • Inspired by the branch ff/ipv6 of Florian Forster but this version uses
    a specific PI backend to isolate the IPv4 and IPv6 implementations.
    
    The existing TCP/IPv4 implementation has been kept intact (not rebased
    on the PI one) because its data backend requires fewer bytes than the PI.
    
    New functions modbus_new_tcp_pi, modbus_tcp_pi_listen and
    modbus_tcp_pi_accept and new backend called modbus_tcp_pi_t.
    Stéphane Raimbault authored
     
    Browse File »