Describe the samples using code-sample directive in preparation for upcoming changes to the Zephyr documentation that will be leveraging the provided description and metadata. Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
26 lines
678 B
ReStructuredText
26 lines
678 B
ReStructuredText
.. zephyr:code-sample:: ble_central_hr
|
|
:name: Heart-rate Monitor (Central)
|
|
:relevant-api: bluetooth
|
|
|
|
Connect to a BLE heart-rate monitor and read heart-rate measurements.
|
|
|
|
Overview
|
|
********
|
|
|
|
Similar to the :zephyr:code-sample:`ble_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.
|