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>
10 lines
208 B
Plaintext
10 lines
208 B
Plaintext
CONFIG_BT=y
|
|
CONFIG_BT_PERIPHERAL=y
|
|
CONFIG_BT_SMP=y
|
|
CONFIG_TINYCRYPT=y
|
|
CONFIG_BT_DEVICE_NAME="ESP peripheral"
|
|
CONFIG_BT_GATT_DIS=y
|
|
CONFIG_BT_GATT_DIS_PNP=n
|
|
CONFIG_BT_GATT_BAS=y
|
|
CONFIG_BT_DEVICE_APPEARANCE=768
|