同一个信道通讯没问题,但是调用StubAPS_SetInterPanChannel()函数切换到目标信道时,抓包发现消息仍然在自身信道,为什么不生效,返回也是成功,大家有谁碰到过,麻烦指导一下
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
同一个信道通讯没问题,但是调用StubAPS_SetInterPanChannel()函数切换到目标信道时,抓包发现消息仍然在自身信道,为什么不生效,返回也是成功,大家有谁碰到过,麻烦指导一下
最后发现问题是自己调用了上述函数后 然后AF_DataRequest,紧接着就StubAPS_SetIntraPanChannel();设回自身工作信道 会导致设置信道切换不成功,StubAPS_SetIntraPanChannel();函数的调用需要定时延迟一段时间就可以了