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

8 lines
604 B
Markdown
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.
# 边缘上行协议(与核心同步)
完整规范见 **softbus_daemon** 仓库:`docs/EDGE_UPLINK_PROTOCOL_v1.md`
本仓库在 `src/message_bus/ingress/EdgeUplinkWire.*` 中实现 **编码侧**(外层 `SBUP` 帧 + `DATA_RAWBUS` 内层二进制),须与核心 **逐字节一致**
**下行**`EdgeSession` 会解析核心发来的 `TREE_RESULT`**`TREE_FULL`**`frame_kind=4`),后者由 `main` 写入 manifest 中的 `localTreePath` 后,**`EdgeDeviceBus`** 会加载并 **reconcile** 串口(与核心 `devices` + `hardware` + `device_bus` 行为对齐的裁剪版)。