The latest development version of this page may be more current than this released 2.7.5 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:44subsys/Kconfig:9subsys/bluetooth/Kconfig:122subsys/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.)