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中NWK_MANAGER宏的作用是什么?

今天百度搜多painid冲突的问题, 看到有人说这个宏可以解决很多问题

但是没有人对这个宏的工作原理说清楚,也没有解释清楚一些东西!

特地来问!

整个网络中只能有一个设备定义这个宏,他作为管理节点,那COO是最合适的!

nwk_global.h中

#if !defined ( NWK_MANAGER )
//#define NWK_MANAGER // WARNING: this should be enabled only for one device per network
#endif

请大神解释下这个宏的意义是什么?怎么工作的!