zephyr/samples/bluetooth/peripheral_ots
Abe Kohandel d6314fa456 bluetooth: ots: Add object name write capability
Add the ability to perform a write on the object name GATT
Characteristic with a notification callback to the application
that the name has been written.

In order for this operation to work the memory backing the
object name must be modifiable. To prevent forcing the user
to always allocate 120 bytes for the name, the maximum name
length is changed from a define to a configuration parameter.

Signed-off-by: Abe Kohandel <abe.kohandel@gmail.com>
2021-07-02 22:22:24 -04:00
..
src bluetooth: ots: Add object name write capability 2021-07-02 22:22:24 -04:00
CMakeLists.txt
prj.conf bluetooth: ots: Add object name write capability 2021-07-02 22:22:24 -04:00
README.rst
sample.yaml

.. _peripheral_ots:

Bluetooth: Peripheral OTS
#########################

Overview
********

Similar to the :ref:`Peripheral <ble_peripheral>` sample, except that this
application specifically exposes the OTS (Object Transfer) GATT Service.


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

* BlueZ running on the host, or
* A board with BLE support

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

See :ref:`bluetooth samples section <bluetooth-samples>` for details.