zephyr/samples/bluetooth/peripheral_dis
Joakim Andersson 15f755a910 Bluetooth: samples: peripheral_dis: Failed to save with custom settings
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>
2019-10-16 16:39:47 +03:00
..
src Bluetooth: samples: peripheral_dis: Failed to save with custom settings 2019-10-16 16:39:47 +03:00
CMakeLists.txt
prj.conf Bluetooth: samples: peripheral_dis: Failed to save with custom settings 2019-10-16 16:39:47 +03:00
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.