[求助]OHOS版本3.2release,L0下软总线组网,eth设备数量1和wifi设备数量2,拓扑更新消息一直死循环收发。
软件版本:3.2Release
日志:
[LNN]recv topo update msg, type:11, len:266
[LNN]recv topo update msg
[LNN]topoMsgType:0, seq:82354450, complete:1
[LNN]relation not right and notify update: 1
[LNN]send sync info msg for type: 11, len=267
[LNN]data recevied, channelId: 1792
[LNN]recv topo update msg, type:11, len:268
[LNN]recv topo update msg
[LNN]topoMsgType:0, seq:1707724782, complete:1
[LNN]relation not right and notify update: 1
[LNN]send sync info msg for type: 11, len=268
[LNN]data recevied, channelId: 1792
[LNN]recv topo update msg, type:11, len:267
[LNN]recv topo update msg
[LNN]topoMsgType:0, seq:378538306, complete:1
[LNN]relation not right and notify update: 1
[LNN]send sync info msg for type: 11, len=268
[LNN]data recevied, channelId: 1792
[LNN]recv topo update msg, type:11, len:268
[LNN]recv topo update msg
[LNN]topoMsgType:0, seq:1937500960, complete:1
[LNN]relation not right and notify update: 1
[LNN]send sync info msg for type: 11, len=267
错误分析:
因为拓扑关系错误,一直失败。相关源码位于
foundation/communication/dsoftbus/core/bus_center/lnn/net_builder/src/lnn_topo_manager.c
函数
static void TryCorrectRelation(const char *networkId, const char *udid, const char *peerUdid,
const uint8_t *relation, uint32_t len)
期望能正确更新拓扑消息,不要死循环一直发送。
更多推荐
所有评论(0)