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

Overview

Application demonstrating the BLE Peripheral role. It has several well-known and vendor-specific GATT services that it exposes.

Requirements

  • A board with Bluetooth Low Energy support

Building and Running

examples/bluetooth/peripheral

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

Running result

I/bt_smp          [0.078] LE SC enabled
I/bt_hci_core     [0.212] No ID address. App must call settings_load()
I/peripheral      [0.218] Bluetooth initialized

I/bt_hci_core     [0.284] Identity: 28:6D:CE:01:02:03 (public)
I/bt_hci_core     [0.290] HCI: version 4.2 (0x08) revision 0x0709, manufacturer 0x070c
I/bt_hci_core     [0.298] LMP: version 4.2 (0x08) subver 0x0709
I/peripheral      [0.538] Advertising successfully started

I/peripheral      [0.544] Indicate VND attr 080470E0 (UUID 12345678-1234-5678-1234-56789abcdef1)