zephyr/samples/bluetooth/peripheral_dis/prj.conf
Peter Herager 95e1eb960b Bluetooth: Add additional attributes to DIS
Add SW, HW, FW & serial attributes to DIS
Add support for reading attributes from settings during boot

Signed-off-by: Peter Herager <pehe@oticon.com>
2019-05-08 20:17:07 +03:00

26 lines
726 B
Text

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_SETTINGS_RUNTIME=y
CONFIG_SETTINGS_CUSTOM=y
CONFIG_SETTINGS=y
CONFIG_BT_SETTINGS=y
CONFIG_BT_GATT_DIS_SETTINGS=y
CONFIG_BT_GATT_DIS_STR_MAX=21