Bluetooth: services: battery service enhancements

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>
This commit is contained in:
Emanuele Di Santo 2018-09-11 14:05:46 +02:00 committed by Johan Hedberg
commit 30d65809fc
29 changed files with 269 additions and 115 deletions

View file

@ -7,7 +7,6 @@ project(peripheral)
target_sources(app PRIVATE
src/main.c
../gatt/hrs.c
../gatt/bas.c
../gatt/cts.c
)