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.

ZigBee协议栈PANID问题



协调器和节点的PANID是一样的但是协调器通过下面这个函数改变PANID号后,节点没有修改PANID,节点为什么还是会和协调器连接。
static void SetPanIding(uint8 *node) //修改PANID函数
{
uint8 flag = 0xff;
uint16 PanIdBuf = 0x00;
PanIdBuf = node[7];
PanIdBuf = PanIdBuf << 8;
PanIdBuf |= node[8];
flag = osal_nv_write(ZCD_NV_PANID, 0, sizeof(uint16), &PanIdBuf); //设置PANID
//_NIB.nwkPanId = PanIdBuf;
//NLME_UpdateNV(0x01);
if(flag == SUCCESS)
{
SystemResetSoft(); //软启动
}
}