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网络配置问题

建立星型网络后,设置MAX_NODE_DEPTH 为1,在nwk_lobals.h中设置如下

( STACK_PROFILE_ID == NETWORK_SPECIFIC )

// define your own stack profile settings
#define MAX_NODE_DEPTH 1
#define NWK_MODE NWK_MODE_STAR
#define SECURITY_MODE SECURITY_RESIDENTIAL
#if ( SECURE != 0 )
#define USE_NWK_SECURITY 1 // true or false
#define SECURITY_LEVEL 5
#else
#define USE_NWK_SECURITY 0 // true or false
#define SECURITY_LEVEL 0
#endif

在nwk_lobals.c中设置如下

#elif ( STACK_PROFILE_ID == NETWORK_SPECIFIC )
uint8 CskipRtrs[MAX_NODE_DEPTH+1] = {0,0};
uint8 CskipChldrn[MAX_NODE_DEPTH+1] = {2,0};

为什么协调器还能加入三个终端,并且与之通信,