3144 views|3 replies

9

Posts

1

Resources
The OP

Tree network construction [Copy link]

After going around in circles and looking at building a tree network for several days, I finally got some clues yesterday. I'd like to share with you the post by the moderator saying that pro cannot build a tree network. I haven't tried this, but I'll try it when I'm done with the things at hand. Haha, let me tell you where I modified the program, #define STACK_PROFILE_ID GENERIC_TREE is the tree structure, and then added the configuration of the tree network, which was not originally in my protocol stack, #define MAX_NODE_DEPTH 5 #define NWK_MODE NWK_MODE_TREE #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 The specific parameters can be set as needed, such as depth, byte CskipRtrs[MAX_NODE_DEPTH+1] = {5,5,5,5,5,0}; byte CskipChldrn[MAX_NODE_DEPTH+1] = {5,5,5,5,5,0}; Just set it as needed:hug: Of course, I have to talk about the problems I encountered during the exploration. 1. Support software such as Zsensor monitor requires corresponding hardware support and cannot be used directly (I struggled with it for more than a day:Sad:) 2. Calculating the network address is really a good way to verify whether the designed network is what you need: The algorithm does not look difficult, but the books and materials are too conventional. When it is really calculated, except for the depth, the number of routes and sub-nodes are different according to each level.
This post is from RF/Wirelessly

Latest reply

Actually, the software doesn't need any support. You just need to remove the button in the protocol stack. The SENSORdemo uses the binding mode. At that time, my hardware had problems and it took me a long time to get the result. I don't know why it worked again later. Your address is suitable for TREE network, and it seems that mesh is not suitable. Can you be more detailed? For example, how do you calculate those addresses in your experiments? You can use formulas to analyze, and I will add it to your favorites:lol  Details Published on 2013-8-16 17:10

9195

Posts

6

Resources
2
:handshake Thanks for sharing!
This post is from RF/Wirelessly
Add and join groups EEWorld service account EEWorld subscription account Automotive development circle

3218

Posts

5

Resources
3
Thanks for sharing... :kiss:
This post is from RF/Wirelessly
Personal signature淘宝:https://viiot.taobao.com/Q群243090717
多年专业物联网行业经验,个人承接各类物联网外包项目

3218

Posts

5

Resources
4
Actually, the software doesn't need any support. You just need to remove the button in the protocol stack. The SENSORdemo uses the binding mode. At that time, my hardware had problems and it took me a long time to get the result. I don't know why it worked again later. Your address is suitable for TREE network, and it seems that mesh is not suitable. Can you be more detailed? For example, how do you calculate those addresses in your experiments? You can use formulas to analyze, and I will add it to your favorites:lol
This post is from RF/Wirelessly
Personal signature淘宝:https://viiot.taobao.com/Q群243090717
多年专业物联网行业经验,个人承接各类物联网外包项目

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

Related articles more>>
    快速回复 返回顶部 Return list