1# Copyright Nordic Semiconductor ASA 2023. All rights reserved. 2# SPDX-License-Identifier: Apache-2.0 3 4# The Kconfig file is dedicated to smp_client subdirectory of MCUmgr 5# subsystem and provides Kconfig options to control aspects of 6# Simple Management Protocol Client (SMP) processing source code provided 7# under the subdirectory. 8 9config SMP_CLIENT 10 bool "SMP Client support" 11 help 12 This will enable SMP Request generation and response handling. 13 14if SMP_CLIENT || ZTEST 15 16config SMP_CMD_DEFAULT_LIFE_TIME 17 int "SMP command lifetime in seconds" 18 range 2 30 19 default 5 20 help 21 This define lifetime for SMP client send request. This configure is used if a request 22 with a timeout of 0 is used. 23 24config SMP_CMD_RETRY_TIME 25 int "SMP command re-send period in ms" 26 range 100 1000 27 default 500 28 help 29 The time (in ms) which the SMP client will wait for a response before re-sending 30 a command. 31 32config SMP_CLIENT_CMD_MAX 33 int "SMP client max buffer count" 34 default 4 35 help 36 Define how many active requests that the client can handle 37 38module = MCUMGR_SMP_CLIENT 39module-str = mcumgr_smp_client 40source "subsys/logging/Kconfig.template.log_config" 41 42endif # SMP_CLIENT 43