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.

可以更改网络类型为树形拓扑结构 吗

使用的zstack—mesh协议栈,能不能修改nwk_globals.h中的相关程序,把mesh拓扑结构改成树形结构,还是已经默认了mesh,即使修改了程序也无法更改。另外怎样能看出自己的网络结构是哪个类型

  • 可以更改STACK_PROFILE_ID 来设置不同的拓扑结构。具体请看这边:http://www.deyisupport.com/question_answer/wireless_connectivity/zigbee/f/104/p/109381/295576.aspx

  • 好的 先谢谢Viki的回答  我现在这样更改了

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

    #if ( STACK_PROFILE_ID == ZIGBEEPRO_PROFILE )
    #define MAX_NODE_DEPTH 20
    #define NWK_MODE NWK_MODE_TREE
    #define SECURITY_MODE SECURITY_COMMERCIAL

    这样网络类型就变成我要的树形网络了么,,有没有能直观的看到网络拓扑结构的软件啥的