CC2530 as the coordinator or router, the maximum number of child nodes that can be taken

Source: Internet
Author: User

The default values are 5, 20, 6, and 30,000 nodes in total.
Max_depth determines the maximum depth of the network. The Coordinator (Coordinator) is located in depth 0,max_depth
Parameters limit the physical length of the network, which defaults to 5 and cannot exceed 15.
Max_children determines whether a route (Router) or a coordinator node can handle a son's day
The maximum number of points.
Max_router determines whether a route (ROUTER) or a coordinator (Coordinator) node can
The maximum number of child nodes that are processed with routing capability. This parameter is a child of the Max_children
Set, the end node uses the remaining address space (Max_children–max_router).

Modify the values of the Cskiprtrs and cskipchldrn two arrays.

such as max_node_depth=6, routers can connect up to 10 routers, routers can connect up to 30 nodes.

Modified to:

#if (stack_profile_id = = Home_controls)

byte cskiprtrs[max_node_depth+1] = {10,10,10,10,10,10,0};

byte cskipchldrn[max_node_depth+1] = {30,30,30,30,30,30,0};

#elif (stack_profile_id = = Generic_star)

byte cskiprtrs[max_node_depth+1] = {10,10,10,10,10,10,0};

byte cskipchldrn[max_node_depth+1] = {10,10,10,10,10,10,0};

#elif (stack_profile_id = = network_specific)

byte cskiprtrs[max_node_depth+1] = {10,10,10,10,10,10,0};

CC2530 as the coordinator or router, the maximum number of child nodes that can be taken

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.