This is the documentation for the latest (main) development branch. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

Bluetooth: Peripheral HR

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

  • A board with BLE support

Building and Running

examples/bluetooth/peripheral_hr

compile, burn, and more, see get-started chapter 。

Running result

I/bt_smp          [0.048] LE SC enabled
I/bt_hci_core     [0.176] Identity: 28:6D:CE:01:02:03 (public)
I/bt_hci_core     [0.182] HCI: version 4.2 (0x08) revision 0x0709, manufacturer 0x070c
I/bt_hci_core     [0.190] LMP: version 4.2 (0x08) subver 0x0709
I/peripheral_hr   [0.196] Bluetooth initialized

I/peripheral_hr   [0.202] Advertising successfully started