zephyr/samples/bluetooth/peripheral_csc
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 doc: update bluetooth samples with pointers 2017-01-26 20:02:35 +00:00
prj.conf drivers: Rename `random` to `entropy` 2017-11-01 08:26:29 -04:00
sample.yaml samples: bluetooth and net samples need test setup 2017-12-28 20:24:29 -05:00

README.rst

.. _peripheral_csc:

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

Overview
********

Similar to the :ref:`Peripheral <ble_peripheral>` sample, except that this
application specifically exposes the CSC (Cycling Speed and Cadence) 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_csc` in the
Zephyr tree.

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