zephyr/samples/bluetooth/peripheral_dis/prj.conf
Joakim Andersson 1e80efaa1b Bluetooth: samples: peripheral_dis: Sample requires BT_SETTINGS
The DIS service requires BT_SETTINGS otherwise it will not have a
settings handler. Instead DIS will only use Kconfig to set it's
values.

Fixes: #22478

Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
2020-02-05 20:11:03 +02:00

27 lines
724 B
Plaintext

CONFIG_BT=y
CONFIG_BT_PERIPHERAL=y
CONFIG_BT_GATT_DIS=y
CONFIG_BT_GATT_DIS_PNP=n
CONFIG_BT_GATT_DIS_MODEL="Zephyr Model"
CONFIG_BT_GATT_DIS_MANUF="Zephyr"
CONFIG_BT_GATT_DIS_SERIAL_NUMBER=y
CONFIG_BT_GATT_DIS_FW_REV=y
CONFIG_BT_GATT_DIS_HW_REV=y
CONFIG_BT_GATT_DIS_SW_REV=y
CONFIG_BT_GATT_DIS_SERIAL_NUMBER_STR="Zephyr Serial"
CONFIG_BT_GATT_DIS_FW_REV_STR="Zephyr Firmware"
CONFIG_BT_GATT_DIS_HW_REV_STR="Zephyr Hardware"
CONFIG_BT_GATT_DIS_SW_REV_STR="Zephyr Software"
CONFIG_BT_DEVICE_NAME="DIS peripheral"
# Below is setup to let DIS information be read from settings
CONFIG_BT_SETTINGS=y
CONFIG_SETTINGS_RUNTIME=y
CONFIG_SETTINGS=y
CONFIG_SETTINGS_NONE=y
CONFIG_BT_GATT_DIS_SETTINGS=y
CONFIG_BT_GATT_DIS_STR_MAX=21