Files
soft_bus_edge/config/edge_manifest.schema.json
flower_linux 90ad86b4d0 init
2026-05-13 16:46:07 +08:00

23 lines
1.5 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "softbus_edge_manifest",
"type": "object",
"required": ["coreHost", "corePort", "edgeId"],
"properties": {
"coreHost": { "type": "string", "description": "softbus_daemon 所在主机" },
"corePort": { "type": "integer", "description": "daemon_config edgeIngress.port" },
"edgeId": { "type": "string", "description": "HELLO / PROPOSE 与会话绑定的边缘 ID" },
"authToken": { "type": "string", "description": "若核心配置了 edgeIngress.authToken则此处必须一致" },
"opsListenPort": { "type": "integer", "minimum": 0, "description": "0 关闭本地运维 HTTP否则监听 127.0.0.1:port" },
"localTreePath": { "type": "string", "description": "GET / 返回的本地树文件路径(展示用)" },
"fakeIntervalMs": { "type": "integer", "minimum": 100, "description": "假数据 DATA_RAWBUS 发送周期(毫秒)" },
"fakeDeviceId": { "type": "integer", "description": "RawBusMessage.deviceId" },
"endpoint": { "type": "string", "description": "用于 qHash(endpoint) 得到 endpointHash须与核心设备树约定一致" },
"protocol": { "type": "integer", "description": "ProtocolType 枚举数值(与核心 RawBusMessage 一致)" },
"edgeDiscoveryEnabled": {
"type": "boolean",
"description": "HELLO 成功后是否启动 udev 串口发现并向核心发送 TREE_PROPOSEupsert/patch需 Linux libudev"
}
}
}