zephyr/samples/bluetooth/eddystone
Keith Packard d61d941ec8 samples/bluetooth: Fix mis-use of bt_data 'data' field
The data field is a *pointer* to the buffer, not the actual buffer itself.
Instead of smashing past the end of the struct, write through that pointer.

Signed-off-by: Keith Packard <keithp@keithp.com>
2022-10-29 11:32:06 +03:00
..
boards
src samples/bluetooth: Fix mis-use of bt_data 'data' field 2022-10-29 11:32:06 +03:00
CMakeLists.txt
prj.conf
README.rst
sample.yaml

.. _bluetooth-eddystone-sample:

Bluetooth: Eddystone
####################

Overview
********
Application demonstrating `Eddystone Configuration Service`_

The Eddystone Configuration Service runs as a GATT service on the beacon while
it is connectable and allows configuration of the advertised data, the
broadcast power levels, and the advertising intervals. It also forms part of
the definition of how Eddystone-EID beacons are configured and registered with
a trusted resolver.


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/eddystone` in the
Zephyr tree.

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

.. _Eddystone Configuration Service: https://github.com/google/eddystone/tree/master/configuration-service