zephyr/samples/bluetooth/peripheral_hr/README.rst

28 lines
739 B
ReStructuredText

.. zephyr:code-sample:: ble_peripheral_hr
:name: Heart-rate Monitor (Peripheral)
:relevant-api: bt_hrs bt_bas bluetooth
Expose a Heart Rate (HR) GATT Service generating dummy heart-rate values.
Overview
********
Similar to the :zephyr:code-sample:`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 Bluetooth LE support
Building and Running
********************
This sample can be found under :zephyr_file:`samples/bluetooth/peripheral_hr` in the
Zephyr tree.
See :zephyr:code-sample-category:`bluetooth` samples for details.