Quantcast
Channel: Zigbee 和 Thread
Viewing all articles
Browse latest Browse all 16978

帖子: Z-Stack Mesh 1.0.0中并没有定义ZIGBEEPRO,实际使用中发现是定义过的,请问怎么去掉。

$
0
0

#if defined ( ZIGBEEPRO )
#define STACK_PROFILE_ID ZIGBEEPRO_PROFILE
#else
#define STACK_PROFILE_ID HOME_CONTROLS
#endif

......

#if ( STACK_PROFILE_ID == ZIGBEEPRO_PROFILE )
uint8 CskipRtrs[1] = {0};
uint8 CskipChldrn[1] = {0};
#elif ( STACK_PROFILE_ID == HOME_CONTROLS )
uint8 CskipRtrs[MAX_NODE_DEPTH+1] = {6,6,6,6,6,0};
uint8 CskipChldrn[MAX_NODE_DEPTH+1] = {20,20,20,20,20,0};

......

IAR编译选项里也没有加ZIGBEEPRO,而且工程选择里选择的是EndDeviceEB(Mesh1.0.0工程里没发现有EndDeviceEB-pro工程,之前用的2.3.0-1.4.0版本有这个pro工程),请问怎么把这个ZIGBEEPRO去掉

另外请问一下,一个几百个终端的网络,是用HOME_CONTROLS还是用ZIGBEEPRO_PROFILE? 还是我可以修改ZIGBEEPRO_PROFILE 下的CskipRtrs、CskipChldrn数组达到目的。


Viewing all articles
Browse latest Browse all 16978

Trending Articles