zephyr/samples/bluetooth/scan_adv
Vinayak Kariappa Chettimada 6cc00f0ee3 Bluetooth: samples: scan_adv: Select BROADCASTER and OBSERVER
Explicitly select CONFIG_BLUETOOTH_BROADCASTER and
CONFIG_BLUETOOTH_OBSERVER in the scan_adv sample.

If the Controller is included without connections support
then only broadcaster support is compiled in by default,
hence add broadcaster and observer role support explicitly
in the prj.conf file.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2017-06-30 13:42:33 +03:00
..
src samples: convert to using newly introduced integer sized types 2017-04-21 09:53:53 -05:00
Makefile Bluetooth: samples: Add combined observer & broadcaster app 2017-03-07 12:21:29 +01:00
README.rst doc: add labels to bluetooth sample docs 2017-04-04 19:51:27 +00:00
prj.conf Bluetooth: samples: scan_adv: Select BROADCASTER and OBSERVER 2017-06-30 13:42:33 +03:00
sample.yaml tests: samples: convert testcase files to yaml 2017-06-21 20:56:53 -04:00

README.rst

.. _bluetooth-scan-adv-sample:

Bluetooth: Scan & Advertise
###########################

Overview
********

A simple application demonstrating combined BLE Broadcaster & Observer
role functionality. The application will periodically send out
advertising packets with a manufacturer data element. The content of the
data is a single byte indicating how many advertising packets the device
has received (the number will roll back to 0 after 255).

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

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

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

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

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