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.

how to disable joining permission

zAddrType_t dstAddr;
dstAddr.addrMode = AddrBroadcast;
dstAddr.addr.shortAddr = NWK_BROADCAST_SHORTADDR_DEVZCZR;            
ZDP_MgmtPermitJoinReq(&dstAddr, 0x00 , 1, FALSE);

through uart command  I  got  my ZC to run this code  to disable   joining permission , however  my other zigbee devices   could  still join into the network,    is my code the right method to  disable  joining permission ?  or I missed  some     compile  flags defined ?   you guys please help,  thanks you !