OpenThread Reconnection Max Count

96 views
Skip to first unread message

Nikhil Komalan

unread,
Jul 19, 2021, 4:33:11 AM7/19/21
to openthread-users
Hello,

I would like to know, when  a FTD device disconnects from a network how many times it will try to reconnect to a previous network it was connected to. 

And how i can increase the retry count for the same.   

Jonathan Hui

unread,
Jul 19, 2021, 6:22:43 PM7/19/21
to Nikhil Komalan, openthread-users
An OpenThread device is generally configured to attach to only a single network (i.e. it stores a single Operational Dataset). As a result, a Thread device will always attempt to attach to the same Thread network.

If by "network" you meant "partition", a router-capable device will attempt to attach to the same partition twice (by sending MLE Parent Request messages) before looking for any other partition - see src/core/thread/mle.cpp. This is currently defined by Thread specification, so no this is not currently configurable.

--
Jonathan Hui



--
You received this message because you are subscribed to the Google Groups "openthread-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openthread-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openthread-users/3fd01094-3294-4e7e-82b1-3a0e663f3201n%40googlegroups.com.

Nikhil Komalan

unread,
Jul 19, 2021, 9:35:56 PM7/19/21
to Jonathan Hui, openthread-users
Okay thanks for clarification.

Yeah I was talking about partition in above query. So what can I do on application level if my one FTD device isn't able to reconnect to a thread partition. 

If I turn my device into MTD and turn on the parent search feature (child supervision) where parent are periodically searched after some period of time. Will this be helpful. 

Jonathan Hui

unread,
Jul 20, 2021, 1:51:01 AM7/20/21
to Nikhil Komalan, openthread-users
Router-capable Thread devices continuously look for partitions to merge by sending MLE Advertisement messages. If two router-capable devices in different partitions are able to communicate with each other, they will eventually merge into a single partition.

--
Jonathan Hui


Nikhil Komalan

unread,
Jul 20, 2021, 5:48:48 AM7/20/21
to openthread-users
Have you came across any issue were FTD device isn't able to rejoin or just gets disconnected after few hours 17-18 hours of running. The issue I'm talking about doesn't happen all times but sometimes it does happen. 

I would like to know what can be the possible reason a device gets disconnected even if they aren't moved. Can it happen ?

I flashed 2ftds with same example, one was able to run till it's battery went off and another device just ran for 16-17 hours. Also the device which served it's battery period was far in distance compared to the device that went off.

Jonathan Hui

unread,
Jul 21, 2021, 12:06:15 AM7/21/21
to Nikhil Komalan, openthread-users
As I've previously mentioned, radio driver issues failing to send/receive messages is a likely cause.

--
Jonathan Hui



Nikhil Komalan

unread,
Jul 21, 2021, 2:28:33 AM7/21/21
to openthread-users
Okay thanks i have reported the issue again. Hopefully they will help.
Reply all
Reply to author
Forward
0 new messages