Quantcast
Channel: Zigbee 和 Thread
Viewing all articles
Browse latest Browse all 16985

帖子: RE: MT_ZDO_BIND_REQ 不能成功的问题

$
0
0

仔细在第5个终端分析发现:

协调器执行ZDO_BIND_REQ之后

第5终端会执行

clusterID:0x0021

case Bind_req:
case Unbind_req:
{
ZDO_BindUnbindReq_t bindReq;
ZDO_ParseBindUnbindReq( inMsg, &bindReq );
ZDO_ProcessBindUnbindReq( inMsg, &bindReq );
}

之后就没有了。

----------------------------------

而之前4个终端正常bind的时候会执行

clusterID:0x0021

case Bind_req:
case Unbind_req:
{
ZDO_BindUnbindReq_t bindReq;
ZDO_ParseBindUnbindReq( inMsg, &bindReq );
ZDO_ProcessBindUnbindReq( inMsg, &bindReq );
}

之后还会执行

clusterID:0x8000

case NWK_addr_rsp:
case IEEE_addr_rsp:
{



if ( inMsg->clusterID == NWK_addr_rsp )
{
#if defined ( REFLECTOR )
ZDApp_ProcessPendingBindReq( pAddrRsp->extAddr );
#endif
}
#endif

osal_mem_free( pAddrRsp );
}
}


Viewing all articles
Browse latest Browse all 16985

Latest Images

Trending Articles