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_BAS

Enable GATT Battery service

Type: bool

Direct dependencies

BT_CONN && BT_HCI && BT

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Symbols selected by this symbol

Kconfig definition

At subsys/bluetooth/services/Kconfig.bas:6

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

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

menuconfig BT_BAS
    bool "Enable GATT Battery service"
    select SENSOR
    depends on BT_CONN && BT_HCI && BT

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