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 / GATT Write

Overview

Similar to the Central sample, except that this application use GATT Write Without Response.

Requirements

  • A board with BLE support

  • Some BLE devices around acting as a peripheral

Building and Running

examples/bluetooth/central_gatt_write

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

Running result

I/bt_smp          [0.134] LE SC enabled
I/bt_hci_core     [0.262] No ID address. App must call settings_load()
I/bt_hci_core     [0.270] Identity: 28:6D:CE:01:02:03 (public)
I/bt_hci_core     [0.276] HCI: version 4.2 (0x08) revision 0x0709, manufacturer 0x070c
I/bt_hci_core     [0.284] LMP: version 4.2 (0x08) subver 0x0709
I/gatt_write      [0.290] Bluetooth initialized

D/gatt_write      [0.296] start_scan: Scanning successfully started