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.

请问一下,协调器组网,如何保证第一级只有路由器,没有终端节点?

采用的Z-Stack-Mesh-1.0.0,

节点的最大数量是:NWK_MAX_DEVICES。

问题1 :

现在理解的是: 路由设备和终端设备数量都不超过NWK_MAX_DEVICES,可以都是路由设备,也可以都是终端设备,不知道这样理解是否正确?

问题2:

NWK_MAX_ROUTERS  这个现在是否有效?

问题3:

// Number of reserved places for router and end device children, to be used in stochastic .addressing
#if !defined ( NWK_MIN_ROUTER_CHILDREN )
  #define NWK_MIN_ROUTER_CHILDREN          0
#endif
#if !defined ( NWK_MIN_ENDDEVICE_CHILDREN )
  #define NWK_MIN_ENDDEVICE_CHILDREN       0
#endif

这个两个宏定义如何理解,也就是如果我想协调器下面只有路由器的话,如何调整这两个参数?