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 ifs and menus.)

Default

  • 28

Kconfig definition

At subsys/bluetooth/host/Kconfig:487

Included via Kconfig:8Kconfig.zephyr:44subsys/Kconfig:6subsys/bluetooth/Kconfig:160

Menu path: (Top) → Bluetooth → Allow to set Bluetooth device name on runtime

config BT_DEVICE_NAME_MAX
    int "Maximum size in bytes for device name"
    range 2 248
    default 28
    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).

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)