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 <Zephyr>/subsys/bluetooth/host/Kconfig:515

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:42<Zephyr>/subsys/Kconfig:9<Zephyr>/subsys/bluetooth/Kconfig:313

Menu path: (Top) → Sub Systems and OS Services → 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.)