zephyr/modules/openthread/Kconfig.thread

170 lines
4.6 KiB
Plaintext

# Thread network configuration options
# Copyright (c) 2020 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
config OPENTHREAD_PANID
int "Default PAN ID"
default 43981
config OPENTHREAD_CHANNEL
int "Default Channel"
default 11
config OPENTHREAD_NETWORK_NAME
string "Default network name"
default "ot_zephyr"
help
Network name for OpenThread
config OPENTHREAD_XPANID
string "Default Extended PAN ID"
default "de:ad:00:be:ef:00:ca:fe"
help
Extended PAN ID for OpenThread with
format "de:ad:00:be:ef:00:ca:fe"
config OPENTHREAD_NETWORKKEY
string "Default Thread Network Key"
help
Network Key for OpenThread with format
"00:11:22:33:44:55:66:77:88:99:aa:bb:cc:dd:ee:ff"
config OPENTHREAD_JOINER_AUTOSTART
bool "Automatic joiner start"
depends on OPENTHREAD_JOINER
config OPENTHREAD_JOINER_PSKD
string "Default pre shared key for the Joiner"
depends on OPENTHREAD_JOINER_AUTOSTART
default "J01NME"
choice OPENTHREAD_DEVICE_TYPE
prompt "OpenThread device type"
help
This option selects Thread network device type
config OPENTHREAD_FTD
bool "FTD - Full Thread Device"
config OPENTHREAD_MTD
bool "MTD - Minimal Thread Device"
endchoice
config OPENTHREAD_MTD_SED
bool "SED - Sleepy End Device"
depends on OPENTHREAD_MTD
config OPENTHREAD_POLL_PERIOD
int "Poll period for sleepy end devices [ms]"
default 236000
depends on OPENTHREAD_MTD_SED
config OPENTHREAD_MAX_CHILDREN
int "The maximum number of children"
range 1 511
default 1 if OPENTHREAD_MTD
default 32
config OPENTHREAD_MAX_IP_ADDR_PER_CHILD
int "The maximum number of IPv6 address registrations per child"
range 4 255
default 6
depends on OPENTHREAD_FTD
config OPENTHREAD_CONFIG_PLATFORM_INFO
string "The platform-specific string to insert into the OpenThread version string"
default "Zephyr"
config OPENTHREAD_RADIO_LINK_IEEE_802_15_4_ENABLE
bool "Support for IEEE802.15.4 radio link"
default y
config OPENTHREAD_RADIO_LINK_TREL_ENABLE
bool "Thread Radio Encapsulation Link (TREL)"
config OPENTHREAD_CSL_AUTO_SYNC
bool "CSL autosync"
default y if OPENTHREAD_CSL_RECEIVER
config OPENTHREAD_CSL_RECEIVE_TIME_AHEAD
int "CSL receiver wake up margin in units of 10 symbols"
default 480
config OPENTHREAD_CSL_MIN_RECEIVE_ON
int "Minimum CSL receive window"
default 5696
help
The minimum CSL receive window (in microseconds) required to receive a full IEEE 802.15.4 frame
config OPENTHREAD_PLATFORM_CSL_UNCERT
int "CSL uncertainty"
default 255
range 0 255
help
The fixed uncertainty of the Device for scheduling CSL Transmissions in units of 10 microseconds.
config OPENTHREAD_MAC_SOFTWARE_TX_SECURITY_ENABLE
bool "Software transmission security logic"
default y if !OPENTHREAD_THREAD_VERSION_1_1
config OPENTHREAD_MLE_INFORM_PREVIOUS_PARENT_ON_REATTACH
bool "Inform previous parent on reattach"
default y if OPENTHREAD_PARENT_SEARCH
help
To allow end devices (EDs) in a Thread network to inform their
previous parent router that they have attached to a new parent
router, enable the Inform Previous Parent on Reattach feature.
config OPENTHREAD_PARENT_SEARCH
bool "Periodic parent search support"
help
To allow end devices (EDs) in a Thread network to switch to a
better parent router than their current one—while still attached
to the network—enable the Periodic Parent Search feature.
config OPENTHREAD_PARENT_SEARCH_CHECK_INTERVAL
int "Interval to trigger parent search in seconds"
default 540
depends on OPENTHREAD_PARENT_SEARCH
config OPENTHREAD_PARENT_SEARCH_BACKOFF_INTERVAL
int "Backoff interval to prevent parent search retry in seconds"
default 36000
depends on OPENTHREAD_PARENT_SEARCH
config OPENTHREAD_PARENT_SEARCH_RSS_THRESHOLD
int "RSSI threshold to trigger parent search"
default -65
depends on OPENTHREAD_PARENT_SEARCH
config OPENTHREAD_CLI_MAX_LINE_LENGTH
int "The maximum size of the CLI line in bytes"
range 16 1024
default 384
config OPENTHREAD_IP6_MAX_EXT_UCAST_ADDRS
int "The maximum number of supported IPv6 addresses allows to be externally added"
range 0 32
default 4
config OPENTHREAD_IP6_MAX_EXT_MCAST_ADDRS
int "The maximum number of supported IPv6 multicast addresses allows to be externally added"
range 0 32
default 2
config OPENTHREAD_TCP_ENABLE
bool "TCP"
config OPENTHREAD_CLI_TCP_ENABLE
bool "TCP in the CLI tool"
default y if SHELL
depends on OPENTHREAD_TCP_ENABLE
config OPENTHREAD_HISTORY_TRACKER
bool "History tracker support"
config OPENTHREAD_MAC_STAY_AWAKE_BETWEEN_FRAGMENTS
bool "Stay awake between packet fragments"
help
This optimization is done at the expense of power consumption on SED/SSED devices.