30d65809fc
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>
20 lines
406 B
Plaintext
20 lines
406 B
Plaintext
# Incresed stack due to settings API usage
|
|
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048
|
|
|
|
CONFIG_BT=y
|
|
CONFIG_BT_DEBUG_LOG=y
|
|
CONFIG_BT_SMP=y
|
|
CONFIG_BT_PERIPHERAL=y
|
|
CONFIG_BT_GATT_DIS=y
|
|
CONFIG_BT_GATT_BAS=y
|
|
CONFIG_BT_DEVICE_NAME="Test HoG mouse"
|
|
CONFIG_BT_DEVICE_APPEARANCE=962
|
|
|
|
CONFIG_BT_SETTINGS=y
|
|
CONFIG_FLASH=y
|
|
CONFIG_FLASH_PAGE_LAYOUT=y
|
|
CONFIG_FLASH_MAP=y
|
|
CONFIG_FCB=y
|
|
CONFIG_SETTINGS=y
|
|
CONFIG_SETTINGS_FCB=y
|