8f3fea300a
Due to a bug in KBuild, bluetooth samples needed to #include the gatt sources to re-use code between samples. This bug was not ported to CMake so we can stop applying this workaround. gatt source files are now directly added to the 'app' library instead of having adapter source files in the app's src directory that \#include's the gatt files. Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no> |
||
---|---|---|
.. | ||
src | ||
CMakeLists.txt | ||
README.rst | ||
prj.conf | ||
sample.yaml |
README.rst
.. _peripheral_hr: Bluetooth: Peripheral HR ######################## Overview ******** Similar to the :ref:`Peripheral <ble_peripheral>` sample, except that this application specifically exposes the HR (Heart Rate) GATT Service. Once a device connects it will generate dummy heart-rate values. Requirements ************ * BlueZ running on the host, or * A board with BLE support Building and Running ******************** This sample can be found under :file:`samples/bluetooth/peripheral_hr` in the Zephyr tree. See :ref:`bluetooth setup section <bluetooth_setup>` for details.