AF.C中函数afBuildMSGIncoming中有条语句MSGpkt->cmd.TransSeqNumber=0,这个是什么意思?我改成了MSGpkt->cmd.TransSeqNumber = aff->ApsCounter。
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.
AF.C中函数afBuildMSGIncoming中有条语句MSGpkt->cmd.TransSeqNumber=0,这个是什么意思?我改成了MSGpkt->cmd.TransSeqNumber = aff->ApsCounter。
分包接收实验我还没有做过,难道会有多次产生AF_INCOMING_MDG_CMD?
接收到的数据包怎么滤掉重复的包?难道只有判断nwkSeqNum?我协议栈初始化了NV_INIT后就无法过滤掉ApsCounter相同的包,但是擦除FLASH后从新烧写程序,又正常了。
分包的话是另一种处理分支。如下。就是说单包的和长数据包的处理是不一样的。apsCounter和transID是两个不同的参数。
#if defined ( ZIGBEE_FRAGMENTATION )
APSF_ProcessEvent,
#endif