zephyr/samples/bluetooth/peripheral_hids
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 Bluetooth: Kconfig: Rename CONFIG_BLUETOOTH_* to CONFIG_BT_* 2017-08-09 11:14:19 +03:00
sample.yaml samples: bluetooth and net samples need test setup 2017-12-28 20:24:29 -05:00

README.rst

.. _peripheral_hids:

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

Overview
********

Similar to the :ref:`Peripheral <ble_peripheral>` sample, except that this
application specifically exposes the HID GATT Service. The report map used is
for a generic mouse.


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

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