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.

CC2652R: Coordinator Link Status

Part Number: CC2652R
Other Parts Discussed in Thread: Z-STACK

Hello,

We have a network with more routers than can fit in the coordinator's neighbor table.  We are finding some cases where a router will be power cycled and the coordinator ends up in the router's neighbor table, but the router is not in the routers neighbor table.  As a result, the router sends packets to the coordinator, and the coordinator sends a MAC ACK, but the coordinator application does not receive the packet.  (Our routers do not use APS ACKs, and let's just assume that can't change for now.)

Is there a way that we can intercept the link status messages and parse them to see if the router is included in the list of networks?  Or, the router's neighbor table contains a linkInfo_t structure that has a "txCost" and "rxLqi", but it is not obvious to me if I can use these, or any other metrics to determine if the router is in the coordinator's link status packets or not.

Let's assume that a router can receive regular link status messages from the coordinator, but that these link status messages do not have the router in its list.  Is it possible for me to do anything in the router firmware that would allow us to detect the router is not included in the coordinator's link status messages?  It seems like this might be possible in the ZMacEventLoop() function somehow, but I would need to know how to parse the pMsg structure to get the link status data.

If nothing else, I could send ZDO LQI commands to the coordinator to read its neighbor table, but this could be avoided if I can somehow parse the received link status messages from the coordinator, or somehow use the linkInfo_t structure in the neighbor table.  We are using SimpleLink CC13x2 26x2 SDK 4.20.01.04.

Thanks in advance!

  • Hi Damon,

    Here is a recent E2E thread in which this topic and options were further discussed.  The link status is not made visible to developers through the Z-Stack application.  Please read through the information provided in the link and let me know if you have any follow-up questions or ideas to discuss.

    Regards,
    Ryan