devices modbus rtu 1.0
This commit is contained in:
@@ -1,2 +1,17 @@
|
||||
extern "C" void
|
||||
softbus_modbus_rtu_plugin_stub() {}
|
||||
#include "plugins/protocols/modbusrtu/framer/ModbusRtuFramerPlugin.h"
|
||||
#include "plugins/protocols/modbusrtu/parser/ModbusRtuProtocolPlugin.h"
|
||||
|
||||
extern "C" int softbus_plugin_abi_version()
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
extern "C" softbus::core::plugin_system::IProtocolPlugin* softbus_create_protocol_plugin()
|
||||
{
|
||||
return softbus::core::plugin_system::createModbusRtuProtocolPluginRaw();
|
||||
}
|
||||
|
||||
extern "C" softbus::core::plugin_system::IProtocolFramerPlugin* softbus_create_framer_plugin()
|
||||
{
|
||||
return softbus::message_bus::pipeline::protocol::modbusrtu::createModbusRtuFramerPluginRaw();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user