This commit moves the BLE GATT Battery service from /samples/bluetooth/gatt to /subsys/bluetooth/services and adds a Kconfig entry to enable and configure the service; when enabled, it will register itself automatically. Signed-off-by: Emanuele Di Santo <emdi@nordicsemi.no> Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
11 lines
251 B
Plaintext
11 lines
251 B
Plaintext
CONFIG_BT=y
|
|
CONFIG_BT_DEBUG_LOG=y
|
|
CONFIG_BT_SMP=y
|
|
CONFIG_BT_PERIPHERAL=y
|
|
CONFIG_BT_GATT_DIS=y
|
|
CONFIG_BT_GATT_DIS_PNP=n
|
|
CONFIG_BT_GATT_BAS=y
|
|
CONFIG_BT_DEVICE_NAME="Zephyr Health Thermometer"
|
|
CONFIG_BT_DEVICE_APPEARANCE=768
|
|
CONFIG_BT_ATT_ENFORCE_FLOW=n
|