zephyr/samples/bluetooth/peripheral_hr
Johan Hedberg 7d4682e302 Bluetooth: samples: Fix timeout passed to k_sleep()
Use the appropriate K_SECONDS() macro to pass a timeout to k_sleep().

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2020-04-01 20:03:15 +03:00
..
boards
src
CMakeLists.txt
prj.conf
README.rst
sample.yaml

.. _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 :zephyr_file:`samples/bluetooth/peripheral_hr` in the
Zephyr tree.

See :ref:`bluetooth samples section <bluetooth-samples>` for details.