Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions modules/openthread/Kconfig.thread
Original file line number Diff line number Diff line change
Expand Up @@ -210,3 +210,24 @@ config OPENTHREAD_STORE_FRAME_COUNTER_AHEAD
default 100000
help
Openthread value ahead of the current frame counter for persistent storage.

config OPENTHREAD_CHILD_SUPERVISION_CHECK_TIMEOUT
int "Openthread child supervision check timeout in seconds"
default 190
help
The supervision check timeout interval in seconds used by a device in child state.
Set to zero to disable the supervision check process on the child.

config OPENTHREAD_CHILD_SUPERVISION_INTERVAL
int "Openthread child supervision interval in seconds"
default 129
help
The supervision interval used by a parent device to send a supervision message
to the child, if there is no transmission to the child within this interval.
Set to zero to disable the supervision check process on the child.

config OPENTHREAD_MLE_CHILD_TIMEOUT
int "Openthread MLE child timeout in seconds"
default 240
help
The value of MLE child timeout in seconds.
31 changes: 31 additions & 0 deletions modules/openthread/platform/openthread-core-zephyr-config.h
Original file line number Diff line number Diff line change
Expand Up @@ -468,4 +468,35 @@
#define OPENTHREAD_CONFIG_STORE_FRAME_COUNTER_AHEAD CONFIG_OPENTHREAD_STORE_FRAME_COUNTER_AHEAD
#endif

/**
* @def OPENTHREAD_CONFIG_CHILD_SUPERVISION_CHECK_TIMEOUT
*
* The value of the child supervision check timeout in seconds.
*
*/
#ifdef CONFIG_OPENTHREAD_CHILD_SUPERVISION_CHECK_TIMEOUT
#define OPENTHREAD_CONFIG_CHILD_SUPERVISION_CHECK_TIMEOUT \
CONFIG_OPENTHREAD_CHILD_SUPERVISION_CHECK_TIMEOUT
#endif

/**
* @def OPENTHREAD_CONFIG_CHILD_SUPERVISION_INTERVAL
*
* The value of the child supervision interval in seconds.
*
*/
#ifdef CONFIG_OPENTHREAD_CHILD_SUPERVISION_INTERVAL
#define OPENTHREAD_CONFIG_CHILD_SUPERVISION_INTERVAL CONFIG_OPENTHREAD_CHILD_SUPERVISION_INTERVAL
#endif

/**
* @def OPENTHREAD_CONFIG_MLE_CHILD_TIMEOUT_DEFAULT
*
* The value of the MLE child timeout in seconds.
*
*/
#ifdef CONFIG_OPENTHREAD_MLE_CHILD_TIMEOUT
#define OPENTHREAD_CONFIG_MLE_CHILD_TIMEOUT_DEFAULT CONFIG_OPENTHREAD_MLE_CHILD_TIMEOUT
#endif

#endif /* OPENTHREAD_CORE_ZEPHYR_CONFIG_H_ */