first commit

This commit is contained in:
flowerstonezl
2026-06-09 16:50:28 +08:00
commit 70f675a48b
93 changed files with 3802 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
{
"opcua": {
"port": 4840,
"applicationName": "SoftBusDaemon"
},
"uplink": {
"listenHost": "127.0.0.1",
"listenPort": 9000
},
"plugins": {
"modbus": "protocol_modbus",
"canopen": "protocol_canopen"
},
"security": {
"tlsEnabled": false,
"certPath": "",
"keyPath": ""
}
}

18
config/softbus_model.json Normal file
View File

@@ -0,0 +1,18 @@
{
"site": "DemoSite",
"system": "DemoSystem",
"asset": "DemoAsset",
"devices": [
{
"stableDeviceKey": "SimModbusDevice",
"protocol": "modbus",
"points": [
{
"name": "Temperature",
"register": 40001,
"domain": "Process"
}
]
}
]
}

11
config/ua_model.xml Normal file
View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Phase1 placeholder UA model file.
The daemon builds the address space dynamically from config/softbus_model.json.
Phase2 may import a static NodeSet2 XML generated from this template.
-->
<UANodeSet xmlns="http://opcfoundation.org/UA/2011/03/UANodeSet.xsd">
<Models>
<Model ModelUri="urn:softbus:demo" Version="1.0.0"/>
</Models>
</UANodeSet>