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.

CC1312R7: ti-wisunfan stack disconnection time

Part Number: CC1312R7

Hi there.

In the ti-wisunfan stack, when an endpoint disconnects, how long does it take for the border router routing table to recognize that the endpoint disconnected?

Can we change that amount of time?

  • Hi Mauricio,

    The timeout is set to 30 minutes in the default border router project. If you take a look at the ws_config.h file, you can see that the WS_RPL_DAO_MAX_TIMOUT is set to 30 mins. The DAO messages transmit the downward route data upwards towards the border router. If it times out, then the node is removed from the routing table. 

    You can experiment with a smaller value, but it is a tradeoff between how "reactive' the network is to these changes and the overhead traffic needed for network reformation. 

    Hope this helps. 

    Regards,

    Sid 

  • Hi Sid.

    I changed the value of WS_RPL_DAO_MAX_TIMOUT from (30*60) to (10*60) which is 10 mins, but it seems like it is not working. More than 10 mins have passed since I disconnected a device, and the Border Router still has that device in its routing table. Any thoughts?

    Regards,

    Maurício