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.

LAUNCHXL-CC26X2R1: Child Aging in ZStack

Part Number: LAUNCHXL-CC26X2R1

Hello,

I just want to know the details of receiving the child management info in a coordinator device through some callbacks or API hooks. Going into a bit of details, I have a coordinator device with certain number of end devices. I want to know if any of the child is not responding or goes dead(e.g simulated by just turning off the child device) when coordinator ages out the end device. I can't seem to find the right callback somehow or may be I could read the relevant association table and process based on its current status. Any pointers would be greatly appreciated. 

My zgChildAgingEnable is set to TRUE and zgNwkParentInformation is set to NWK_PARENT_INFO_MAC_DATA_POLL (Should I change it to NWK_PARENT_INFO_END_DEVICE_TIMEOUT_MSG?) Also I am using SDK 3.40 if it matters.

Cheers 

Jawad

  • As I know, TI doesn't provide callback to notify a node is aged out from its parent node. You might need to watch association table in your application to know it is aged out.

  • Hi Jawad,

    Jawad Butt said:
    I can't seem to find the right callback somehow or may be I could read the relevant association table and process based on its current status. Any pointers would be greatly appreciated

    YK is correct. There is no specific callback that can be used to indicate when a child device has been aged out. You are correct in saying that the alternative is checking the relevant association table and processing that information.

    Jawad Butt said:
    My zgChildAgingEnable is set to TRUE and zgNwkParentInformation is set to NWK_PARENT_INFO_MAC_DATA_POLL (Should I change it to NWK_PARENT_INFO_END_DEVICE_TIMEOUT_MSG?)

    Which one you choose to set it is your preference. With NWK_PARENT_INFO_MAC_DATA_POLL, the ZED will also check whether the parent has a message for it so it will accomplish both tasks of keeping it alive and checking if there is information for it. However if you are concerned with power or do not want your ZED to poll as often, then NWK_PARENT_INFO_END_DEVICE_TIMEOUT_MSG may be best.

    Best Regards,

    Marlyn

  • Thank you Yk and Marlyn!