zephyr/samples/bluetooth/peripheral
Luiz Augusto von Dentz 330cbfa074 Bluetooth: peripheral: Fix check of BT_GATT_WRITE_FLAG_CMD
Check should be done with & instead of | otherwise it will always be
evaluated as 1/true regardless of the flags.

Fixes #12308

Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
2019-01-04 21:13:06 +01:00
..
src Bluetooth: peripheral: Fix check of BT_GATT_WRITE_FLAG_CMD 2019-01-04 21:13:06 +01:00
CMakeLists.txt
prj.conf
README.rst
sample.yaml

.. _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.