Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix MLE Timeout (#23829)
Browse files Browse the repository at this point in the history
jepenven-silabs authored and pull[bot] committed Aug 4, 2023
1 parent 3f2c235 commit 1228063
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -39,7 +39,10 @@
#if CHIP_DEVICE_CONFIG_ENABLE_SED
#define OPENTHREAD_CONFIG_PARENT_SEARCH_ENABLE 0
// In seconds
#define OPENTHREAD_CONFIG_MLE_CHILD_TIMEOUT_DEFAULT (SL_SLEEP_TIME_MS / 1000)
#define SL_MLE_TIMEOUT_seconds (SL_SLEEP_TIME_MS / 1000)

// Timeout after 2 missed checkin or 4 mins if sleep interval is too short.
#define OPENTHREAD_CONFIG_MLE_CHILD_TIMEOUT_DEFAULT ((SL_MLE_TIMEOUT_seconds < 120) ? 240 : ((SL_MLE_TIMEOUT_seconds * 2) + 1))
#endif

/****Uncomment below section for OpenThread Debug logs*/

0 comments on commit 1228063

Please sign in to comment.