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

menuconfig AWS_FOTA
	bool "AWS Jobs FOTA library"
	select AWS_JOBS
	depends on FOTA_DOWNLOAD
	depends on CJSON_LIB

if AWS_FOTA

config AWS_FOTA_UPDATE_TIMEOUT
	int "Max amount of time in seconds to wait for a document update response"
	default 60

config AWS_FOTA_PAYLOAD_SIZE
	int "MQTT payload reception buffer size for AWS IoT Jobs messages"
	default 1350

config AWS_FOTA_HOSTNAME_MAX_LEN
	int "Hostname buffer size"
	default 255

config AWS_FOTA_FILE_PATH_MAX_LEN
	int "File path buffer size"
	default 255

config AWS_FOTA_DOWNLOAD_SECURITY_TAG
	int "Security tag to be used for downloads"
	default -1


module=AWS_FOTA
module-dep=LOG
module-str=Log level for AWS Jobs FOTA
module-help=Enables AWS Jobs FOTA log messages.
source "${ZEPHYR_BASE}/subsys/logging/Kconfig.template.log_config"

endif # AWS_FOTA
