The latest development version of this page may be more current than this released 4.0.0 version.

Heart-rate Monitor (Peripheral)

Browse source code on GitHub

Overview

Similar to the 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 samples/bluetooth/peripheral_hr in the Zephyr tree.

See Bluetooth samples for details.

See also

Heart Rate Service (HRS)
Battery Service (BAS)
Bluetooth APIs