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.
自动拆包的程序以及library提供,在发送数据的时候会自动封装好拆分的数据包。
if (len > afDataReqMTU( &mtu ) )
{
if (apsfSendFragmented)
{
stat = (*apsfSendFragmented)( &req );
}
else
{
stat = afStatus_INVALID_PARAMETER;
}
}
else
{
stat = APSDE_DataReq( &req );
}
可以参考论坛帖子 http://www.deyisupport.com/question_answer/wireless_connectivity/zigbee/f/104/t/52847.aspx
您好,
我遇到的问题是,发送广播包的数据长度超过了最大数据长度,但是执行函数stat = (*apsfSendFragmented)( &req );返回了错误值,通过协议分析仪抓包也没有看到无线数据发送出来。也就是说,广播包不能自动拆包传输,这个问题该如何解决?
请指教,谢谢!!