Files
soft_bus_edge/docs/UPLINK_PROTOCOL_v1.md
flower_linux 90ad86b4d0 init
2026-05-13 16:46:07 +08:00

604 B
Raw Blame History

边缘上行协议(与核心同步)

完整规范见 softbus_daemon 仓库:docs/EDGE_UPLINK_PROTOCOL_v1.md

本仓库在 src/message_bus/ingress/EdgeUplinkWire.* 中实现 编码侧(外层 SBUP 帧 + DATA_RAWBUS 内层二进制),须与核心 逐字节一致

下行EdgeSession 会解析核心发来的 TREE_RESULTTREE_FULLframe_kind=4),后者由 main 写入 manifest 中的 localTreePath 后,EdgeDeviceBus 会加载并 reconcile 串口(与核心 devices + hardware + device_bus 行为对齐的裁剪版)。