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_DIS_STR_MAX

Maximum size in bytes for DIS strings

Type: int

Help

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

Direct dependencies

BT_DIS_SETTINGS && BT_DIS && BT_CONN && BT_HCI && BT

(Includes any dependencies from ifs and menus.)

Default

  • 21

Kconfig definition

At subsys/bluetooth/services/Kconfig.dis:17

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

Menu path: (Top) → Sub Systems and OS Services → Bluetooth → GATT Services → Enable GATT Device Information service → Enable Settings usage in Device Information Service

config BT_DIS_STR_MAX
    int "Maximum size in bytes for DIS strings"
    range 2 248
    default 21
    depends on BT_DIS_SETTINGS && BT_DIS && BT_CONN && BT_HCI && BT
    help
      Bluetooth DIS string storage size. Storage can be up to 248 bytes
      long (excluding NULL termination).

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