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.

How does GOOD_LINK_COST affects communications in ZigBee?

Other Parts Discussed in Thread: CC2538, Z-STACK

Does anyone knows what is the utility of GOOD_LINK_COST (=3). What happens if I change it to 1 or to 7.

I made experiences and I cannot detect any influence of changing this parameter. RREQ continue to occur even when nodes far.

What is the decision is taken using this parameter.

Thanks in advance.

Conditions: [Z-Stack 2.6.1] [CC2538]

  • Hi Emanuel,

    Zigbee has a routing mechanism that works with symmetrical links and the less path costs. The routing mechanism will first validate that the link is not broken for Rx or Tx, if so, then another route for the packets must be stablished. Then link quality is check to be at least 'GOOD_LINK_COST', if not, then a new path is searched and the path with less cost is taken (even if it is less than GOOD_LINK_COST, this will only trigger to search for a better path). The incoming path cost is calculated based on the RSSI from the incoming messages from the neighbors, while the outgoing path cost is taken from the neighbors LinkStatus Command.

    I think that changing this value to something lower will cause to more route request being triggered in the network, but I have not tested it.

    Hope this helps!