Skip to content

Commit

Permalink
Fix MLE Timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
jepenven-silabs committed Dec 6, 2022
1 parent b149561 commit c9d4f84
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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*/
Expand Down

0 comments on commit c9d4f84

Please sign in to comment.