#
# Copyright (c) 2020 Nordic Semiconductor
#
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
#

menuconfig ZIGBEE_APP_UTILS
	bool "Enable API for Zigbee application utilities"
	help
	  This allows Zigbee applications to call API:

	  - for parsing and converting Zigbee data types
	  - for handling common ZBOSS signals, with behavior depending on the device role
	  - for indicating the device status at the network using onboard LEDs

if ZIGBEE_APP_UTILS

# Configure ZIGBEE_APP_UTILS_LOG_LEVEL
module = ZIGBEE_APP_UTILS
module-str = Zigbee application utilities
source "${ZEPHYR_BASE}/subsys/logging/Kconfig.template.log_config"

config ZIGBEE_PANID_CONFLICT_RESOLUTION
	bool "Enable automatic PAN ID conflict resolution"
	default y

menuconfig ZIGBEE_FACTORY_RESET
	bool "Enable API for Zigbee factory reset"
	default y
	imply DK_LIBRARY

if ZIGBEE_FACTORY_RESET

config FACTORY_RESET_PRESS_TIME_SECONDS
	int "Minimal Factory Reset button press time"
	default 5
	help
	  How long a specified button has to be pressed to initiate Factory Reset procedure

endif # ZIGBEE_FACTORY_RESET

endif # ZIGBEE_APP_UTILS
