This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Question about zb_set_max_children function

Hi,

I'm developing a router Zigbee device starting from light bulb example.

In the example the function zb_set_max_children is called passing 10 as parameter.

About this funcion the documentation says only: Set the maximum number of connected devices. Used for coordinators and routers.

Can you explain better this parameter? In that example, what happen if the 11th wants to connect? It's rejected or like a FIFO the first children is dropped?

In my final network I will have about 100 devices, what is a raccomanded value for this parameter?

BR,

Maurizio

  • Hi Maurizio,

    Which SDK version are you using? I had a talk with one of our Zigbee developers and found out that there was a bug in our earlier SDK that was causing this behaviour. Whenever an end device was restarted and rejoined through rejoin request/response it will then broadcast a permit join request. The only option was to use zboss_start_no_autostart() version. This bug is fixed in SDK v4.0.0. 

    BR,

    Marjeris

Related