mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-19 01:35:23 +00:00
The Peripheral Device Information Service (DIS) sample implements it's own custom settings backend in order to load runtime settings. This results in errors when the BT stack tries to save entries through the custom handler since no save handler exists. Error messages: - bt_settings: Failed to save ID (err -2) - bt_gatt: Failed to save Database Hash (err -2) Since this is not a sample of how to do custom settings backend it is best simply to remove using the custom backend, as it is not required in order to load runtime settings. Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no> |
||
---|---|---|
.. | ||
src | ||
CMakeLists.txt | ||
prj.conf | ||
README.rst | ||
sample.yaml |
.. _peripheral_dis: Bluetooth: Peripheral DIS ######################### Overview ******** Similar to the :ref:`Peripheral <ble_peripheral>` sample, except that this application specifically exposes the DIS (Device Information) GATT Service. Requirements ************ * BlueZ running on the host, or * A board with BLE support Building and Running ******************** This sample can be found under :zephyr_file:`samples/bluetooth/peripheral_dis` in the Zephyr tree. See :ref:`bluetooth samples section <bluetooth-samples>` for details.