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_GATT_CACHING

GATT Caching support

Type: bool

Help

This option enables support for GATT Caching. When enabled the stack
will register Client Supported Features and Database Hash
characteristics which can be used by clients to detect if anything has
changed on the GATT database.

Direct dependencies

BT_GATT_SERVICE_CHANGED && BT_CONN && BT_HCI_HOST && BT_HCI && BT

(Includes any dependencies from ifs and menus.)

Default

  • y

Symbols selected by this symbol

Symbols that select this symbol

Kconfig definition

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

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

Menu path: (Top) → Sub Systems and OS Services → Bluetooth → ATT and GATT Options → GATT Service Changed support

config BT_GATT_CACHING
    bool "GATT Caching support"
    default y
    select TINYCRYPT
    select TINYCRYPT_AES
    select TINYCRYPT_AES_CMAC
    depends on BT_GATT_SERVICE_CHANGED && BT_CONN && BT_HCI_HOST && BT_HCI && BT
    help
      This option enables support for GATT Caching. When enabled the stack
      will register Client Supported Features and Database Hash
      characteristics which can be used by clients to detect if anything has
      changed on the GATT database.

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