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.

Problem of a node with a lot of children

Other Parts Discussed in Thread: CC2430

Hi, i'm working with CC2430 and zstack 1.4.2.1.0.

I've got the following network configuration:

(nwk_globals.c)

    #elif ( STACK_PROFILE_ID == NETWORK_SPECIFIC )
    byte CskipRtrs[MAX_NODE_DEPTH+1] = {5,5,5,5,0};
    byte CskipChldrn[MAX_NODE_DEPTH+1] = {35,35,35,35,0};

(nwk_globals.h)

#elif ( STACK_PROFILE_ID == NETWORK_SPECIFIC )
// define your own stack profile settings
    #define MAX_NODE_DEPTH          4
    #define NWK_MODE            NWK_MODE_MESH
    #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
#endif

.........

// Maximum number in tables
#if !defined( NWK_MAX_DEVICE_LIST )
  #define NWK_MAX_DEVICE_LIST     40 // Maximum number of devices in the
                                    // Assoc/Device list.
#endif

I have connected to a router: 30 children end device and 3 others routers.

This router assign a correct address to his 33 children, however, is capable of send messages to just 22 of the 30 end devices. This 22 end devices are the first 22 that established a connection with the router. I have to modify another parameter to solve this problem?, Someone knows why this is happening?.

Thanks.

  • hi ,

    Though it's a long time ago,but now I have the  same problem.

    I use the Zigbee 2.4.0-1.4.0 and 2530 kit.

    Maximum number in tables
    #if !defined( NWK_MAX_DEVICE_LIST )
      #define NWK_MAX_DEVICE_LIST     40 // Maximum number of devices in the
                                        // Assoc/Device list.
    #endif

    but only 16 ED devices can receive the broadcast message .I don't know why.

    Can you help me?

    Thanks very much!

  • Broadcasts are a difficult subset of the ZigBee protocol and they are not easily handled and they take up a lot of resources - the broadcast is probably timing out and being thrown away before 40 ZED's polling at 1-Hz can get it. Broadcasts to ZED's are especially problematic because of this timing issue between holding indirect messages and holding broadcast messages and it is strongly recommened to not design a system that relies on broadcast to ZED. Perhaps you can turn a broadcast to ZED's into a broadcast to ZR's and ZR with ZED children turn it into unicast at the Application layer. In any case, heavy traffic "to" ZED device is not recommended use-case at all - ZED is supposed to be power-saving most of the time, and therefore is a more appropriate use to be the producer of network traffic (i.e. sensor data) and not the consumer of network data.

     

     

  • Hi!

    As Dirty Harry said, sending a huge quantity of data throug zigbee end devices is a difficult task, even worse if those devices are battery-powered, take in mind that a sleeping device can't receive radio messages until its wake-up.

    If you need a 100% reliability in this operation, it's better to implement it by yourself, for example broadcasting to routers, and routers re-broadcasting to their children several times, or even sending the messages with others strategies, like floding

    Best regards.

    ---

    www.javierlongares.com

    www.javierlongares.com/arte-en-8-bits