mirror of
https://github.com/emqx/neuron.git
synced 2026-10-26 03:40:01 +08:00
@@ -3,7 +3,7 @@
|
||||
"libplugin-ekuiper.so",
|
||||
"libplugin-monitor.so",
|
||||
"libplugin-mqtt.so",
|
||||
"libplugin-modbus-tcp-community.so",
|
||||
"libplugin-modbus-tcp-comm.so",
|
||||
"libplugin-file.so"
|
||||
]
|
||||
}
|
||||
@@ -3,7 +3,7 @@ Library REST http://127.0.0.1:7000
|
||||
Resource common.resource
|
||||
|
||||
*** Variables ***
|
||||
${PLUGIN-MODBUS-TCP} Modbus TCP
|
||||
${PLUGIN-MODBUS-TCP} Modbus TCP community
|
||||
${PLUGIN-MQTT} MQTT
|
||||
${PLUGIN-EKUIPER} eKuiper
|
||||
|
||||
|
||||
@@ -17,8 +17,8 @@ Resource simulator.resource
|
||||
${test_data_dir} ft/data
|
||||
|
||||
|
||||
${PLUGIN_MODBUS_TCP} modbus-tcp
|
||||
${PLUGIN_MQTT} mqtt
|
||||
${PLUGIN_MODBUS_TCP} Modbus TCP community
|
||||
${PLUGIN_MQTT} MQTT
|
||||
|
||||
${MQTT_CMD_NONE}
|
||||
|
||||
|
||||
@@ -3,10 +3,10 @@ set(LIBRARY_OUTPUT_PATH "${CMAKE_BINARY_DIR}/plugins")
|
||||
set(MODBUS_SRC modbus.c modbus_point.c modbus_req.c modbus_stack.c)
|
||||
|
||||
set(CMAKE_BUILD_RPATH ./)
|
||||
file(COPY ${CMAKE_SOURCE_DIR}/plugins/modbus/modbus-tcp.json DESTINATION ${CMAKE_BINARY_DIR}/plugins/schema/)
|
||||
file(COPY ${CMAKE_SOURCE_DIR}/plugins/modbus/modbus-tcp-community.json DESTINATION ${CMAKE_BINARY_DIR}/plugins/schema/)
|
||||
|
||||
# modbus rtu plugin
|
||||
set(MODBUS_TCP_PLUGIN plugin-modbus-tcp-community)
|
||||
set(MODBUS_TCP_PLUGIN plugin-modbus-tcp-comm)
|
||||
set(MODBUS_TCP_PLUGIN_SOURCES modbus_tcp.c
|
||||
${MODBUS_SRC})
|
||||
add_library(${MODBUS_TCP_PLUGIN} SHARED)
|
||||
|
||||
Reference in New Issue
Block a user