2020-08-18 13:50:18 +02:00
|
|
|
# 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"
|
|
|
|
|
2021-07-05 17:38:39 +02:00
|
|
|
config OPENTHREAD_NETWORKKEY
|
|
|
|
string "Default Thread Network Key"
|
2021-01-26 10:51:14 +01:00
|
|
|
help
|
2021-07-05 17:38:39 +02:00
|
|
|
Network Key for OpenThread with format
|
2021-01-26 10:51:14 +01:00
|
|
|
"00:11:22:33:44:55:66:77:88:99:aa:bb:cc:dd:ee:ff"
|
|
|
|
|
2020-08-18 13:50:18 +02:00
|
|
|
config OPENTHREAD_JOINER_AUTOSTART
|
2022-03-09 12:05:12 +01:00
|
|
|
bool "Automatic joiner start"
|
2020-08-18 13:50:18 +02:00
|
|
|
depends on OPENTHREAD_JOINER
|
|
|
|
|
|
|
|
config OPENTHREAD_JOINER_PSKD
|
|
|
|
string "Default pre shared key for the Joiner"
|
|
|
|
depends on OPENTHREAD_JOINER_AUTOSTART
|
|
|
|
default "J01NME"
|
|
|
|
|
2022-07-07 14:41:09 +02:00
|
|
|
choice OPENTHREAD_DEVICE_TYPE
|
2020-08-18 13:50:18 +02:00
|
|
|
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
|
2020-10-15 14:45:49 +02:00
|
|
|
|
|
|
|
config OPENTHREAD_MAX_CHILDREN
|
|
|
|
int "The maximum number of children"
|
2022-08-09 09:40:57 +02:00
|
|
|
range 1 511
|
2020-10-15 14:45:49 +02:00
|
|
|
default 32
|
|
|
|
|
|
|
|
config OPENTHREAD_MAX_IP_ADDR_PER_CHILD
|
2020-11-03 18:44:54 +01:00
|
|
|
int "The maximum number of IPv6 address registrations per child"
|
2020-10-15 14:45:49 +02:00
|
|
|
range 4 255
|
|
|
|
default 6
|
2020-11-03 18:44:54 +01:00
|
|
|
|
|
|
|
config OPENTHREAD_CONFIG_PLATFORM_INFO
|
|
|
|
string "The platform-specific string to insert into the OpenThread version string"
|
|
|
|
default "Zephyr"
|
2020-12-16 15:32:20 +01:00
|
|
|
|
|
|
|
config OPENTHREAD_RADIO_LINK_IEEE_802_15_4_ENABLE
|
2022-03-09 12:05:12 +01:00
|
|
|
bool "Support for IEEE802.15.4 radio link"
|
2020-12-16 15:32:20 +01:00
|
|
|
default y
|
|
|
|
|
2021-08-26 09:34:28 +02:00
|
|
|
config OPENTHREAD_CSL_AUTO_SYNC
|
2022-03-09 12:05:12 +01:00
|
|
|
bool "CSL autosync"
|
2021-08-26 09:34:28 +02:00
|
|
|
default y if OPENTHREAD_CSL_RECEIVER
|
|
|
|
|
2020-12-16 15:32:20 +01:00
|
|
|
config OPENTHREAD_CSL_RECEIVE_TIME_AHEAD
|
2023-03-31 11:05:02 +02:00
|
|
|
int "CSL receiver wake up margin in microseconds"
|
|
|
|
default 5000
|
2021-06-23 16:52:35 +02:00
|
|
|
|
2023-05-18 12:59:53 +02:00
|
|
|
config OPENTHREAD_MIN_RECEIVE_ON_AHEAD
|
|
|
|
int "Minimum receiving time before start of MHR"
|
|
|
|
default 192
|
2021-06-23 16:52:35 +02:00
|
|
|
help
|
2023-05-18 12:59:53 +02:00
|
|
|
The minimum time (microseconds) that radio has to be in receive mode before the start of the MHR.
|
|
|
|
|
|
|
|
config OPENTHREAD_MIN_RECEIVE_ON_AFTER
|
|
|
|
int "Minimum receiving time after start of MHR"
|
|
|
|
default 5504
|
|
|
|
help
|
|
|
|
The minimum time (microseconds) that radio should be in receive mode after the start of the MHR.
|
2021-05-28 09:14:23 +02:00
|
|
|
|
2022-01-17 10:51:35 +01:00
|
|
|
config OPENTHREAD_PLATFORM_CSL_UNCERT
|
2022-05-13 12:19:24 +02:00
|
|
|
int "CSL uncertainty"
|
2022-01-17 10:51:35 +01:00
|
|
|
default 255
|
2022-05-13 12:19:24 +02:00
|
|
|
range 0 255
|
2022-01-17 10:51:35 +01:00
|
|
|
help
|
2022-05-13 12:19:24 +02:00
|
|
|
The fixed uncertainty of the Device for scheduling CSL Transmissions in units of 10 microseconds.
|
2022-01-17 10:51:35 +01:00
|
|
|
|
2023-05-09 22:36:56 +02:00
|
|
|
config OPENTHREAD_CSL_TIMEOUT
|
|
|
|
int "CSL timeout in seconds"
|
|
|
|
default 100
|
|
|
|
help
|
|
|
|
The default CSL timeout in seconds.
|
|
|
|
|
2021-05-28 09:14:23 +02:00
|
|
|
config OPENTHREAD_MAC_SOFTWARE_TX_SECURITY_ENABLE
|
2022-03-09 12:05:12 +01:00
|
|
|
bool "Software transmission security logic"
|
2022-07-04 12:53:10 +02:00
|
|
|
default y if !OPENTHREAD_THREAD_VERSION_1_1
|
2021-07-14 17:16:23 +02:00
|
|
|
|
|
|
|
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
|
2022-03-09 12:05:12 +01:00
|
|
|
bool "Periodic parent search support"
|
2021-07-14 17:16:23 +02:00
|
|
|
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
|
2021-07-29 11:08:42 +02:00
|
|
|
|
|
|
|
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
|
2021-08-26 09:34:28 +02:00
|
|
|
|
2021-08-25 09:36:46 +02:00
|
|
|
config OPENTHREAD_TCP_ENABLE
|
2023-03-08 09:04:15 +01:00
|
|
|
bool "TCP support"
|
2021-08-25 09:36:46 +02:00
|
|
|
|
|
|
|
config OPENTHREAD_CLI_TCP_ENABLE
|
2022-03-09 12:05:12 +01:00
|
|
|
bool "TCP in the CLI tool"
|
2021-08-25 09:36:46 +02:00
|
|
|
default y if SHELL
|
|
|
|
depends on OPENTHREAD_TCP_ENABLE
|
|
|
|
|
2021-08-26 09:34:28 +02:00
|
|
|
config OPENTHREAD_HISTORY_TRACKER
|
2022-03-09 12:05:12 +01:00
|
|
|
bool "History tracker support"
|
2022-08-25 12:26:12 +02:00
|
|
|
|
|
|
|
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.
|
2022-12-15 15:51:41 +01:00
|
|
|
|
|
|
|
config OPENTHREAD_DEFAULT_TX_POWER
|
|
|
|
int "OpenThread default tx power in dBm"
|
|
|
|
range -40 20 if NRF_802154_RADIO_DRIVER
|
|
|
|
default 0
|
|
|
|
help
|
|
|
|
Set the default TX output power [dBm] in radio driver for OpenThread purpose.
|
2023-12-05 16:13:06 +01:00
|
|
|
|
|
|
|
config OPENTHREAD_BLE_TCAT_THREAD_STACK_SIZE
|
|
|
|
int "Openthread default TCAT stack size"
|
2024-01-03 11:24:45 +01:00
|
|
|
default 5120 if OPENTHREAD_CRYPTO_PSA
|
2023-12-05 16:13:06 +01:00
|
|
|
default 4200
|
|
|
|
help
|
|
|
|
Openthread default TCAT stack size.
|
|
|
|
|
|
|
|
config OPENTHREAD_BLE_TCAT_RING_BUF_SIZE
|
|
|
|
int "Openthread BLE ringbuffer size"
|
|
|
|
default 512
|
|
|
|
help
|
|
|
|
Openthread BLE TCAT ringbuffer size.
|