Skip to content

Question for the Router Detach during Openthread operation #7910

Closed Answered by jwhui
eric-bj-kang asked this question in Q&A
Discussion options

You must be logged in to vote

Router capable devices always attach first as a child then upgrade to a router. If an active router loses connectivity with the current partition, it will attempt to reattach. A router determines that it has lost connectivity when it no longer receives sequence number updates from the Leader. The sequence number updates are propagated in MLE Advertisement messages via Leader Data TLVs.

Relevant code is here:

if ((mRouterTable.GetActiveRouterCount() > 0) && (mRouterTable.GetLeaderAge() >= mNetworkIdTimeout))
{
LogInfo("Router ID Sequence timeout");
Attach(kSamePartition);
}

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by jwhui
Comment options

You must be logged in to vote
1 reply
@jwhui
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants