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: Central / Heart-rate Monitor

Overview

Similar to the Central sample, except that this application specifically looks for heart-rate monitors and reports the heart-rate readings once connected.

Requirements

  • A board with BLE support

  • A BLE devices around acting as a Heart-rate Peripheral

Building and Running

examples/bluetooth/central_hr

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

Running result

I/bt_smp          [0.190] LE SC enabled
I/bt_hci_core     [0.322] Identity: 28:6D:CE:01:02:03 (public)
I/bt_hci_core     [0.326] HCI: version 4.2 (0x08) revision 0x0709, manufacturer 0x070c
I/bt_hci_core     [0.334] LMP: version 4.2 (0x08) subver 0x0709
I/central_hr      [0.340] Bluetooth initialized

I/central_hr      [0.346] Scanning successfully started