Go to the documentation of this file. 18 #ifndef _MODBUS_VERSION_H_ 19 #define _MODBUS_VERSION_H_ 22 #define LIBMODBUS_VERSION_MAJOR (3) 25 #define LIBMODBUS_VERSION_MINOR (0) 28 #define LIBMODBUS_VERSION_MICRO (6) 31 #define LIBMODBUS_VERSION 3.0.6 35 #define LIBMODBUS_VERSION_STRING "3.0.6" 38 #define LIBMODBUS_VERSION_HEX ((LIBMODBUS_MAJOR_VERSION << 24) | \ 39 (LIBMODBUS_MINOR_VERSION << 16) | \ 40 (LIBMODBUS_MICRO_VERSION << 8)) 44 #define LIBMODBUS_VERSION_CHECK(major,minor,micro) \ 45 (LIBMODBUS_VERSION_MAJOR > (major) || \ 46 (LIBMODBUS_VERSION_MAJOR == (major) && \ 47 LIBMODBUS_VERSION_MINOR > (minor)) || \ 48 (LIBMODBUS_VERSION_MAJOR == (major) && \ 49 LIBMODBUS_VERSION_MINOR == (minor) && \ 50 LIBMODBUS_VERSION_MICRO >= (micro)))
libmodbus
Author(s):
autogenerated on Sat Nov 21 2020 03:17:32