zephyr/samples/bluetooth/peripheral
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 cmake: bluetooth: Don't #include gatt files from src files 2018-06-13 15:14:40 +02:00
CMakeLists.txt cmake: bluetooth: Don't #include gatt files from src files 2018-06-13 15:14:40 +02:00
README.rst
prj.conf Bluetooth: Introduce skeleton for settings-based storage 2018-05-04 17:26:05 -04:00
sample.yaml

README.rst

.. _ble_peripheral:

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

Overview
********

Application demonstrating the BLE Peripheral role. It has several well-known and
vendor-specific GATT services that it exposes.


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

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