We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3f2c235 commit 1228063Copy full SHA for 1228063
examples/platform/silabs/efr32/project_include/OpenThreadConfig.h
@@ -39,7 +39,10 @@
39
#if CHIP_DEVICE_CONFIG_ENABLE_SED
40
#define OPENTHREAD_CONFIG_PARENT_SEARCH_ENABLE 0
41
// In seconds
42
-#define OPENTHREAD_CONFIG_MLE_CHILD_TIMEOUT_DEFAULT (SL_SLEEP_TIME_MS / 1000)
+#define SL_MLE_TIMEOUT_seconds (SL_SLEEP_TIME_MS / 1000)
43
+
44
+// Timeout after 2 missed checkin or 4 mins if sleep interval is too short.
45
+#define OPENTHREAD_CONFIG_MLE_CHILD_TIMEOUT_DEFAULT ((SL_MLE_TIMEOUT_seconds < 120) ? 240 : ((SL_MLE_TIMEOUT_seconds * 2) + 1))
46
#endif
47
48
/****Uncomment below section for OpenThread Debug logs*/
0 commit comments