主题中讨论的其他器件:CC2652P7
我将从 Simplelink 7.10.02.23为 LP_CC1352P7-4板构建 Openthread RCP 示例、但在将波特率设置为460800时遇到问题。
启动 otbr-agent 时、它会成功发送一组 Spinel 帧、但在调用 RcpSetMac()时始终挂起。 它似乎有点古怪,虽然可能是20%的时间,它确实成功,没有超时错误。
Mar 23 23:57:50 6b091069403f otbr-agent[195]: 00:00:00.004 [D] P-RadioSpinel-: Sent spinel frame, flg:0x2, iid:0, tid:8, cmd:PROP_VALUE_SET, key:PHY_ENABLED, enabled:1 Mar 23 23:57:50 6b091069403f otbr-agent[195]: 00:00:00.004 [D] P-RadioSpinel-: Wait response: tid=8 key=32 Mar 23 23:57:50 6b091069403f otbr-agent[195]: 00:00:00.007 [D] P-RadioSpinel-: Received spinel frame, flg:0x2, iid:0, tid:8, cmd:PROP_VALUE_IS, key:PHY_ENABLED, enabled:1 Mar 23 23:57:50 6b091069403f otbr-agent[195]: 00:00:00.007 [D] P-RadioSpinel-: Sent spinel frame, flg:0x2, iid:0, tid:9, cmd:PROP_VALUE_SET, key:MAC_15_4_PANID, panid:0xffff Mar 23 23:57:50 6b091069403f otbr-agent[195]: 00:00:00.007 [D] P-RadioSpinel-: Wait response: tid=9 key=54 Mar 23 23:57:50 6b091069403f otbr-agent[195]: 00:00:00.011 [D] P-RadioSpinel-: Received spinel frame, flg:0x2, iid:0, tid:9, cmd:PROP_VALUE_IS, key:MAC_15_4_PANID, panid:0xffff Mar 23 23:57:50 6b091069403f otbr-agent[195]: 00:00:00.011 [D] P-RadioSpinel-: Sent spinel frame, flg:0x2, iid:0, tid:10, cmd:PROP_VALUE_SET, key:MAC_15_4_SADDR, saddr:0x0000 Mar 23 23:57:50 6b091069403f otbr-agent[195]: 00:00:00.011 [D] P-RadioSpinel-: Wait response: tid=10 key=53 Mar 23 23:57:50 6b091069403f otbr-agent[195]: 00:00:00.014 [D] P-RadioSpinel-: Received spinel frame, flg:0x2, iid:0, tid:10, cmd:PROP_VALUE_IS, key:MAC_15_4_SADDR, saddr:0x0000 Mar 23 23:57:50 6b091069403f otbr-agent[195]: 00:00:00.014 [D] P-RadioSpinel-: Sent spinel frame, flg:0x2, iid:0, tid:11, cmd:PROP_VALUE_GET, key:PHY_RX_SENSITIVITY Mar 23 23:57:50 6b091069403f otbr-agent[195]: 00:00:00.014 [D] P-RadioSpinel-: Wait response: tid=11 key=39 Mar 23 23:57:50 6b091069403f otbr-agent[195]: 00:00:00.017 [D] P-RadioSpinel-: Received spinel frame, flg:0x2, iid:0, tid:11, cmd:PROP_VALUE_IS, key:PHY_RX_SENSITIVITY, sensitivity:-90 Mar 23 23:57:50 6b091069403f otbr-agent[195]: 00:00:00.018 [D] P-RadioSpinel-: Sent spinel frame, flg:0x2, iid:0, tid:12, cmd:PROP_VALUE_SET, key:RCP_MAC_KEY, keyIdMode:8, keyId:1, prevKey:***, currKey:***, nextKey:*** Mar 23 23:57:50 6b091069403f otbr-agent[195]: 00:00:00.018 [D] P-RadioSpinel-: Wait response: tid=12 key=2048 Mar 23 23:57:52 6b091069403f otbr-agent[195]: 00:00:02.020 [W] P-RadioSpinel-: Wait for response timeout Mar 23 23:57:52 6b091069403f otbr-agent[195]: 00:00:02.020 [C] Platform------: HandleRcpTimeout() at radio_spinel.cpp:2092: RadioSpinelNoResponse
使用最新的 OTBR Docker 映像进行测试,但在 Home Assitant OTBR Addon 中也有相同的结果。
是否还有其他需要调整的设置才能使其在460800波特率下工作?