zephyr/samples/bluetooth/peripheral_esp
Sebastian Bøe 8f3fea300a cmake: bluetooth: Don't #include gatt files from src files
Due to a bug in KBuild, bluetooth samples needed to #include the gatt
sources to re-use code between samples. This bug was not ported to
CMake so we can stop applying this workaround.

gatt source files are now directly added to the 'app' library instead
of having adapter source files in the app's src directory that
\#include's the gatt files.

Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>
2018-06-13 15:14:40 +02:00
..
src
CMakeLists.txt
prj.conf
README.rst
sample.yaml

.. _peripheral_esp:

Bluetooth: Peripheral ESP
#########################

Overview
********
Similar to the :ref:`Peripheral <ble_peripheral>` sample, except that this
application specifically exposes the ESP (Environmental Sensing Profile) GATT
Service.


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

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

Building and Running
********************

This sample can be found under :file:`samples/bluetooth/peripheral_esp` in the
Zephyr tree.

See :ref:`bluetooth setup section <bluetooth_setup>` for details.

References
**********

* :ref:`env_sensing_sample`