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_DEVICE_NAME_GATT_WRITABLE_ENCRYPT

Encryption required to write name by remote GATT clients

Type: bool

Help

Enabling this option requires the connection to be encrypted to write
to the device name GAP characteristic.

Direct dependencies

BT_DEVICE_NAME_GATT_WRITABLE && BT_CONN && BT_HCI_HOST && BT_HCI && BT

(Includes any dependencies from ifs and menus.)

Default

  • y

Kconfig definition

At subsys/bluetooth/host/Kconfig.gatt:202

Included via Kconfig:8Kconfig.zephyr:42subsys/Kconfig:9subsys/bluetooth/Kconfig:313subsys/bluetooth/host/Kconfig:450

Menu path: (Top) → Sub Systems and OS Services → Bluetooth → ATT and GATT Options → Allow to write name by remote GATT clients

config DEVICE_NAME_GATT_WRITABLE_ENCRYPT
    bool "Encryption required to write name by remote GATT clients"
    default y
    depends on BT_DEVICE_NAME_GATT_WRITABLE && BT_CONN && BT_HCI_HOST && BT_HCI && BT
    help
      Enabling this option requires the connection to be encrypted to write
      to the device name GAP characteristic.

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