zephyr/samples/bluetooth/central_otc
Yong Cong Sin 52a202309b zephyr: bulk update to DT_NODE_HAS_STATUS_OKAY
Change instances of:

DT_NODE_HAS_STATUS(<node_id>, okay)

to

DT_NODE_HAS_STATUS_OKAY(<node_id>)

Signed-off-by: Yong Cong Sin <ycsin@meta.com>
Signed-off-by: Yong Cong Sin <yongcong.sin@gmail.com>
2024-10-03 17:06:52 +01:00
..
src zephyr: bulk update to DT_NODE_HAS_STATUS_OKAY 2024-10-03 17:06:52 +01:00
CMakeLists.txt
prj.conf Bluetooth: BT_OTS_OACP_CHECKSUM_SUPPORT implies CRC support 2023-08-18 08:52:16 +03:00
README.rst doc: samples: Adopt code-sample-category across tree 2024-09-23 12:00:00 +02:00
sample.yaml hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00

.. zephyr:code-sample:: ble_central_otc
   :name: Central OTC
   :relevant-api: bluetooth

   Connect to a Bluetooth LE peripheral that supports the Object Transfer Service (OTS)

Overview
********

Similar to the :zephyr:code-sample:`ble_central` sample, except that this
application specifically looks for the OTS (Object Transfer) GATT Service.
And this sample is to select object sequentially, to read metadata, to write data,
to read data, and to calculate checksum of selected objects.

Requirements
************

* A board with Bluetooth LE support and 4 buttons.

Building and Running
********************
This sample can be found under :zephyr_file:`samples/bluetooth/central_otc` in the
Zephyr tree.

See :zephyr:code-sample-category:`bluetooth` samples for details.