2024-08-29 17:32:37 +02:00
|
|
|
.. zephyr:code-sample:: ble_central_gatt_write
|
|
|
|
:name: Central / GATT Write
|
|
|
|
:relevant-api: bluetooth
|
2022-05-29 07:33:27 +05:30
|
|
|
|
2024-09-02 09:25:43 +02:00
|
|
|
Scan for a Bluetooth LE device, connect to it and write a value to a characteristic.
|
2022-05-29 07:33:27 +05:30
|
|
|
|
|
|
|
Overview
|
|
|
|
********
|
|
|
|
|
2024-08-29 17:32:37 +02:00
|
|
|
Similar to the :zephyr:code-sample:`ble_central` sample, except that this
|
2022-05-29 07:33:27 +05:30
|
|
|
application use GATT Write Without Response.
|
|
|
|
|
|
|
|
Requirements
|
|
|
|
************
|
|
|
|
|
|
|
|
* BlueZ running on the host, or
|
2024-09-02 09:25:43 +02:00
|
|
|
* A board with Bluetooth LE support
|
2022-05-29 07:33:27 +05:30
|
|
|
|
|
|
|
Building and Running
|
|
|
|
********************
|
|
|
|
|
|
|
|
This sample can be found under :zephyr_file:`samples/bluetooth/central_gatt_write`
|
|
|
|
in the Zephyr tree.
|
|
|
|
|
|
|
|
See :ref:`bluetooth samples section <bluetooth-samples>` for details.
|