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

Bluetooth: Central

Overview

Application demonstrating very basic BLE Central role functionality by scanning for other BLE devices and establishing a connection to the first one with a strong enough signal.

Requirements

  • A board with BLE support

  • Some BLE devices around acting as BLE Peripheral role

Building and Running

examples/bluetooth/central

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

Running result

I/bt_hci_core     [0.058] Identity: 28:6D:CE:01:02:03 (public)
I/bt_hci_core     [0.064] HCI: version 4.2 (0x08) revision 0x0709, manufacturer 0x070c
I/bt_hci_core     [0.072] LMP: version 4.2 (0x08) subver 0x0709
I/central         [0.078] Bluetooth initialized

D/central         [0.084] Scanning successfully started

I/central         [0.120] Device found: C1:23:24:06:04:91 (public) (RSSI -99)