2026-04-07 14:20:04 +08:00
|
|
|
#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();
|
|
|
|
|
}
|