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

menu "Advertising"

config BLE_ACL_PER_ADV_INT_MIN
	hex "Minimum periodic advertising interval"
	range 0x0018 0x03C0
	default 0x0078
	help
	  Minimum hexadecimal value for the interval of periodic advertisements.
	  For ms, multiply the provided value by 1.25.

config BLE_ACL_PER_ADV_INT_MAX
	hex "Maximum periodic advertising interval"
	range 0x0018 0x03C0
	default 0x00A0
	help
	  Maximum hexadecimal value for the interval of periodic advertisements.
	  For ms, multiply the provided value by 1.25.

config BLE_ACL_EXT_ADV_INT_MIN
	hex "Minimum extended advertising interval"
	range 0x0030 0x0780
	default 0x30 if TRANSPORT_BIS
	default 0x00A0
	help
	  Minimum hexadecimal value for the interval of extended advertisements.
	  When the LE Audio Controller Subsystem for nRF53 is used, this interval
	  should be a multiple of the ISO interval and maximum 4x larger than the
	  lowest interval if using BIS.
	  For ms, multiply the provided value by 0.625.

config BLE_ACL_EXT_ADV_INT_MAX
	hex "Maximum extended advertising interval"
	range 0x0030 0x0780
	default 0x40 if TRANSPORT_BIS
	default 0x00F0
	help
	  Maximum hexadecimal value for the interval of extended advertisements.
	  When the LE Audio Controller Subsystem for nRF53 is used, this interval
	  should be a multiple of the ISO interval and maximum 4x larger than the
	  lowest interval if using BIS.
	  For ms, multiply the provided value by 0.625.

config EXT_ADV_BUF_MAX
	int "Maximum number of extended advertising data parameters"
	default 20

config EXT_ADV_UUID_BUF_MAX
	int "Maximum number of UUIDs to add to extended advertisements"
	default 40

config BT_DEVICE_MANUFACTURER_ID
	hex "Manufacturer ID"
	default 0xFE58
	help
	  Bluetooth manufacturer ID. For the list of possible values please
	  consult the following link:
	  https://www.bluetooth.com/specifications/assigned-numbers

config BLE_ACL_ADV_SID
	hex "Advertising set ID"
	range 0x00 0x0F
	default 0x00

#----------------------------------------------------------------------------#
menu "Log level"

module = BT_MGMT_ADV
module-str = bt-mgmt-adv
source "subsys/logging/Kconfig.template.log_config"

endmenu # Log level
endmenu # Advertising
