CONFIG_BT_DEVICE_NAME_MAX

Maximum size in bytes for device name

Type: int

Help

Bluetooth device name storage size. Storage can be up to 248 bytes long (excluding NULL termination).

Direct dependencies

BT_DEVICE_NAME_DYNAMIC && BT_HCI_HOST && BT_HCI && BT

(Includes any dependencies from if’s and menus.)

Defaults

Kconfig definition

At subsys/bluetooth/host/Kconfig:477

Included via Kconfig:10Kconfig.zephyr:39subsys/Kconfig:8subsys/bluetooth/Kconfig:144

Menu path: (top menu) → Bluetooth → Bluetooth support → Allow to set Bluetooth device name on runtime

config BT_DEVICE_NAME_MAX
    int
    prompt "Maximum size in bytes for device name" if BT_DEVICE_NAME_DYNAMIC && BT_HCI_HOST && BT_HCI && BT
    range 2 248 if BT_DEVICE_NAME_DYNAMIC && BT_HCI_HOST && BT_HCI && BT
    default 28 if BT_DEVICE_NAME_DYNAMIC && BT_HCI_HOST && BT_HCI && BT
    depends on BT_DEVICE_NAME_DYNAMIC && BT_HCI_HOST && BT_HCI && BT
    help
      Bluetooth device name storage size. Storage can be up to 248 bytes
      long (excluding NULL termination).

(Definitions include propagated dependencies, including from if’s and menus.)