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 !