zephyr/subsys/bluetooth/services/bas/Kconfig.bas
Nithin Ramesh Myliattil b717488be2 bluetooth: BAS: add battery critical status char to bas service
Added the battery critical status char to bas service
as per bas_1.1 spec. Updated BSIM test for BAS service
to test the INDs of BAS critical characteristic.

Signed-off-by: Nithin Ramesh Myliattil <niym@demant.com>
2024-10-22 14:06:35 +02:00

36 lines
888 B
QBasic

# Bluetooth GATT Battery service
# Copyright (c) 2018 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
config BT_BAS
bool "GATT Battery service"
config BT_BAS_BLS
bool "Battery Level Status"
help
Enable this option to include Battery Level Status Characteristic.
if BT_BAS_BLS
config BT_BAS_BLS_IDENTIFIER_PRESENT
bool "Battery Level Identifier Present"
help
Enable this option if the Battery Level Identifier is present.
config BT_BAS_BLS_BATTERY_LEVEL_PRESENT
bool "Battery Level Present"
help
Enable this option if the Battery Level is present.
config BT_BAS_BLS_ADDITIONAL_STATUS_PRESENT
bool "Additional Battery Status Present"
help
Enable this option if Additional Battery Status information is present.
config BT_BAS_BCS
bool "Battery Critical Status"
help
Enable this option to include Battery Critical Status Characteristic.
endif