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.

用描述符绑定时,匹配成功要做什么操作

simpleapp 中

   case Match_Desc_rsp

if ( APSME_BindRequest( sapi_epDesc.simpleDesc->EndPoint,  sapi_bindInProgress, &dstAddr, pRsp->epList[0] ) == ZSuccess )

建立绑定

SerialApp中

case Match_Desc_rsp

ZDO_ActiveEndpointRsp_t *pRsp = ZDO_ParseEPListRsp( inMsg );        

if ( pRsp )        

 {          

 if ( pRsp->status == ZSuccess && pRsp->cnt )          

 {            

       SerialApp_TxAddr.addrMode = (afAddrMode_t)Addr16Bit;            

       SerialApp_TxAddr.addr.shortAddr = pRsp->nwkAddr;             // Take the first endpoint, Can be changed to search through endpoints                         

       SerialApp_TxAddr.endPoint = pRsp->epList[0];                         // Light LED            

        HalLedSet( HAL_LED_4, HAL_LED_MODE_ON );          

}          

osal_mem_free( pRsp );        

 }

以上好像没有绑定求指教