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.

关于协调器加网问题

我使用按键来初始化加网,但是修改了以后,其它的设备还是可以加进来!

static void GenericApp_HandleKeys( uint8 shift, uint8 keys )
{
zAddrType_t dstAddr;
if ( keys & HAL_KEY_SW_6 )
{
ZDOInitDevice(0);
NLME_PermitJoiningRequest(0x05);
//ZDP_MgmtPermitJoinReq( &dstAddr, 30, TRUE, FALSE);
//HalLedSet( HAL_LED_1, HAL_LED_MODE_ON );
}

大家帮我看看什么原因!