A Modbus library for Linux, Mac OS, FreeBSD and Windows
libmodbus v3.0.x branch has been updated to include important fixes backported from v3.1.5
modbus_mapping_t
is now a named typedef (to allow forward declaration)SOCK_CLOEXEC
flag on socket creationSER_RS485_ENABLED
bit of existing RS485 settingsmodbus_reply
for TCP when unit id == 0 (fixes #376)bswap16
of gcc 4.8 (#377)tcp_modbus_accept
mustn't close socket on error (closes #333)