1、请问Zstack中设备的最大数量、路由设备的最大数量、路由子节点的最大数量。怎么修改?
2、默认NWK_MAX_DEVICE_LIST = 20,NWK_MAX_ROUTERS =6;我修改NWK_MAX_DEVICE_LIST为30 ,NWK_MAX_ROUTERS为10; 为什么终端的设备还是被限制在14个。应该怎么修改?
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.
1、请问Zstack中设备的最大数量、路由设备的最大数量、路由子节点的最大数量。怎么修改?
2、默认NWK_MAX_DEVICE_LIST = 20,NWK_MAX_ROUTERS =6;我修改NWK_MAX_DEVICE_LIST为30 ,NWK_MAX_ROUTERS为10; 为什么终端的设备还是被限制在14个。应该怎么修改?
1、按键按下,清除flash
if(keys & HAL_KEY_SW_7) //按键S2被按下,清除自身的NV_RESTORE选项(终端、路由、协调器一样)
{
HalUARTWrite(0,"Clear NV\r\n",strlen("Clear NV\r\n"));
NIB_init();//清除NV方法1
NLME_UpdateNV(NWK_NV_NIB_ENABLE);
//zgWriteStartupOptions( ZG_STARTUP_SET,ZCD_STARTOPT_DEFAULT_NETWORK_STATE );//清除NV方法2
//重启
SystemReset();
}
2、
重新烧录程序
3、入网测试
问题:只能由14个终端设备入网,第十五个无法入网。怎么办?
2.5.1真的很旧了,建議你用Z-Stack Home 1.2.2a試試吧