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.

Is it possible to remove no longer avaliable children node from parent node timely?

Other Parts Discussed in Thread: CC2430, Z-STACK

Dear all,

I'm using CC2430/2431 to build up a real time locating network.

I found children node (RFD) always belongs its parent node even it has been left or power off.

Is it posible to find out long time no response child node and remove it and enable new node to join network?

Thanks for any comments[:D]

Henry

  • Hi,

    I don't think a feature like that exists in ZigBee specification. The problem is when can you say that a device is no more

    in the network?

    As some end_devices can sleep during long time and so, have no more activities but being alive. You can imagine to develop

    a proprietary method, as sending a message every 30 minutes. If you don't have a response, you can erase this node of your

    network. But you must be sure that this end_device poll parents less that every 30 minutes.

    Launix.

     

  • Thanks for the comments.

    I've got an idea about this.It  is timely removing all end devices of a router. Then all these end devices need to  rejoin network timely when next they wake up. Maybe it will cause heavy loading of network.

    But I don't know how to coding to get all children's ieee addresses of a router. Please help. Thanks a million.

  • Hi,

    To get the ieee addresses of device's children (coordinator ou router), you should use the IEEE_ADDR_Request function.

    The router will give you the Network Address of all its associated devices. After you send another IEEE_ADDR_Request

    on each devices associated, you will receive in return their own ieee addresses.

    Launix.

  • Launix,

    Thanks for your response. Actually I'd like to write the code for a router to make it timely remove all RFD children (maybe 10 minutes). Please help to give a code sample. thanks in advance.

     

    Happy new year!

    Henry 

  • Hi,

     

    I think this is a very interesting question. Is it possible to reset the network layer with NLME-Reset() or instead use NLME_RemoveChild() found in TI Z-Stack API to remove the child nodes ?

    And what about the effects for the network and the addressing scheme ? Is it possible to assign the now free addresses to new nodes and how will the old nodes react in this case, when they perform a rejoin attempt with their "old" addresses ?

     

    Tobias

  • Tobias,

    Thanks for your comments.

    My current solution is to ask child node send LEAVE request to its parent once the data transmission was complete (in my case is to send out locating data to the dongle). That means, next round data transmission the child node needs join network as a new node, and many join network requests in the air. I haven't test the way in high amount nodes environment, my goal is to work fine as 400~500 end devices in 80x80 meters area with 1 minute locating cycle time. Terrible!

    Henry