zephyr/samples/bluetooth/central_hr
Peter A. Bigot 42d335982f Bluetooth: central_hr: use new API to get value handle
The assumption that the value handle is one past the attribute handle
works for Zephyr servers but may not be true for others.  Avoid the
hard-coded system-specific assumption.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
2019-06-25 18:24:32 +02:00
..
src Bluetooth: central_hr: use new API to get value handle 2019-06-25 18:24:32 +02:00
CMakeLists.txt license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
prj.conf Bluetooth: Kconfig: Rename CONFIG_BLUETOOTH_* to CONFIG_BT_* 2017-08-09 11:14:19 +03:00
README.rst doc: Bluetooth: Documentation overhaul 2019-03-13 10:40:05 +01:00
sample.yaml samples: add test identifier 2019-03-29 17:44:11 -04:00

.. _bluetooth_central_hr:

Bluetooth: Central / Heart-rate Monitor
#######################################

Overview
********

Similar to the :ref:`Central <bluetooth_central>` sample, except that this
application specifically looks for heart-rate monitors and reports the
heart-rate readings once connected.

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/central_hr` in the
Zephyr tree.

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