This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

CONFIG_BT_DEVICE_NAME

Bluetooth device name

Type: string

Help

Bluetooth device name. Name can be up to 248 bytes long (excluding
NULL termination). Can be empty string.

Direct dependencies

BT_HCI_HOST && BT_HCI && BT

(Includes any dependencies from ifs and menus.)

Default

  • “Zephyr”

Kconfig definition

At subsys/bluetooth/host/Kconfig:524

Included via Kconfig:8Kconfig.zephyr:42subsys/Kconfig:9subsys/bluetooth/Kconfig:323

Menu path: (Top) → Sub Systems and OS Services → Bluetooth

config BT_DEVICE_NAME
    string "Bluetooth device name"
    default "Zephyr"
    depends on BT_HCI_HOST && BT_HCI && BT
    help
      Bluetooth device name. Name can be up to 248 bytes long (excluding
      NULL termination). Can be empty string.

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