Skip to content

Commit 0a7156f

Browse files
committed
subsys/mcumgr: add MCUMGR_GRP_OS_MCUMGR_PARAMS_ROLE configuration
Added relevant configuration (copy base on sdk-zephyr). MCUMGR_GRP_OS_MCUMGR_PARAMS_ROLE_VALUE default value stick to 80 in case of NCS-BM user-application. Signed-off-by: Andrzej Puzdrowski <[email protected]>
1 parent 9b611b5 commit 0a7156f

File tree

1 file changed

+13
-0
lines changed
  • subsys/mgmt/mcumgr/grp/os_mgmt

1 file changed

+13
-0
lines changed

subsys/mgmt/mcumgr/grp/os_mgmt/Kconfig

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,19 @@ config MCUMGR_GRP_OS_INFO
5959
Can be used similarly to the unix/linux uname command for retrieving system information
6060
including kernel version, processor architecture and board name.
6161

62+
config MCUMGR_GRP_OS_MCUMGR_PARAMS_ROLE
63+
bool "MCUMGR Parameter Role in response"
64+
depends on MCUMGR_GRP_OS_MCUMGR_PARAMS
65+
default y
66+
67+
config MCUMGR_GRP_OS_MCUMGR_PARAMS_ROLE_VALUE
68+
int "MCUMGR Parameter Role value"
69+
default 80 if !MCUMGR_GPR_IMG
70+
default 0
71+
depends on MCUMGR_GRP_OS_MCUMGR_PARAMS_ROLE
72+
help
73+
Value for `inst_role` field in response to MCUmgr Parameters request.
74+
6275
if MCUMGR_GRP_OS_INFO
6376

6477
config MCUMGR_GRP_OS_INFO_MAX_RESPONSE_SIZE

0 commit comments

Comments
 (0)