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.

如何通过发送命令解绑已加入网络中的某个设备?

通过发送命令解除已加入网络中的某个设备,已知想要解绑的终端nodeID,那么执行如下代码为何没有作用?

         uint8    initExtAddr[8];
         APSME_LookupExtAddr( nodeID, initExtAddr );
        
         zAddrType_t  dstAddr,devaddr;
        
         dstAddr.addrMode = Addr16Bit;
         dstAddr.addr.shortAddr = nodeID;
        
         devaddr.addrMode = Addr64Bit;
         osal_cpyExtAddr(devaddr.addr.extAddr, initExtAddr );
        
         ZDP_UnbindReq(&dstAddr,
                     NLME_GetExtAddr(),
                     8,
                     ZCL_CLUSTER_ID_GEN_ON_OFF,
                     &devaddr,
                     8,
                     0);

请问程序问题出在什么地方?谢谢。