Question for the Router Detach during Openthread operation #7910
-
Hi Team, I'm using Openthread v1.1. [Q.1] Would you let me know why/when this phenomenon is occurred? Actually Router #3 was changed to Child #1 during the Thread operation. Best Regards, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
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: openthread/src/core/thread/mle_router.cpp Lines 1917 to 1921 in e538aad |
Beta Was this translation helpful? Give feedback.
-
I understood the Router Detach occurred when a router didn't receive sequence number updates from the Leader. If right, would you let me know why a router didn't receive sequence number updates? [Q.5] Additionally would you let me know where I can find the relative information/detailed description for the role change like as below?
|
Beta Was this translation helpful? Give feedback.
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:
openthread/src/core/thread/mle_router.cpp
Lines 1917 to 1921 in e538aad