请问协调器怎么设置保证只有路由器可以连接,不允许终端直接连接协调器让他连接路由器去? 不改终端程序。
VV:
// 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