include(../plugins.pri)

# nymea-modbus provides ModbusTcpMaster and float-decode utils.
# MODBUS_CONNECTIONS is intentionally empty: V2C Trydan register windows
# overlap (see AGENTS.md), so the auto-generator's block-read optimisation
# would corrupt the readings.  All I/O is hand-coded in TrydanModbusTcpMaster.
include(../modbus.pri)

QT += network

TARGET = $$qtLibraryTarget(nymea_integrationpluginv2c)

SOURCES += \
    integrationpluginv2c.cpp \
    trydanmodbusmaster.cpp \
    trydanmodbustcpmaster.cpp \
    v2ctcpdiscovery.cpp

HEADERS += \
    integrationpluginv2c.h \
    trydanmodbusmaster.h \
    trydanmodbustcpmaster.h \
    v2ctcpdiscovery.h
