2017-01-20 09:42:36 +08:00
|
|
|
.. _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
|
|
|
|
********************
|
|
|
|
|
2017-01-27 00:23:42 +08:00
|
|
|
This sample can be found under :file:`samples/bluetooth/peripheral_hr` in the
|
|
|
|
Zephyr tree.
|
|
|
|
|
2017-01-20 09:42:36 +08:00
|
|
|
See :ref:`bluetooth setup section <bluetooth_setup>` for details.
|