CONFIG_OS_MGMT_TASKSTAT_THREAD_NAME_LEN
Length of thread name to return in response
Type: int
Help
The length, including terminating 0, of the string that is sent in response
to taskstat command, as a thread name.
When THREAD_NAME is enabled then this defaults to THREAD_MAX_NAME_LEN.
When THREAD_NAME is disabled the name is generated from thread priority,
signed integer, and this number regulates how many digits will be used;
in such case this value should also take into account possible '-'
sign.
Direct dependencies
OS_MGMT_TASKSTAT
&& MCUMGR_CMD_OS_MGMT
&& MCUMGR
(Includes any dependencies from ifs and menus.)
Defaults
5 if !
THREAD_NAME
Kconfig definition
At <Subsystem>/mgmt/mcumgr/Kconfig:274
Included via Kconfig:8
→ Kconfig.zephyr:44
→ <Subsystem>/Kconfig:35
→ <Subsystem>/mgmt/Kconfig:9
Menu path: (Top) → Sub Systems and OS Services → Device Management → mcumgr Support → Command Handlers → Enable mcumgr handlers for OS management → Support for taskstat command
config OS_MGMT_TASKSTAT_THREAD_NAME_LEN
int "Length of thread name to return in response"
range 3 THREAD_MAX_NAME_LEN if THREAD_NAME
range 3 6 if !THREAD_NAME
default THREAD_MAX_NAME_LEN if THREAD_NAME
default 5 if !THREAD_NAME
depends on OS_MGMT_TASKSTAT && MCUMGR_CMD_OS_MGMT && MCUMGR
help
The length, including terminating 0, of the string that is sent in response
to taskstat command, as a thread name.
When THREAD_NAME is enabled then this defaults to THREAD_MAX_NAME_LEN.
When THREAD_NAME is disabled the name is generated from thread priority,
signed integer, and this number regulates how many digits will be used;
in such case this value should also take into account possible '-'
sign.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)