zephyr/samples/bluetooth/central
Joakim Andersson f2d7b77e96 Bluetooth: host: Deprecate BT_LE_ADV defines in hci.h in favour of gap.h
Deprecate BT_LE_ADV defines in hci.h that are expected to be used by the
application in the scan received callback to identify the advertising
PDU type. These defines are mixing HCI input parameters and advertising
PDU types. Internally it is acceptable to mix these, but at the API we
should to mix in them.

Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
2020-03-30 00:38:23 +03:00
..
src Bluetooth: host: Deprecate BT_LE_ADV defines in hci.h in favour of gap.h 2020-03-30 00:38:23 +03:00
CMakeLists.txt cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
prj.conf
README.rst
rv32m1_vega_ri5cy.overlay samples: bluetooth: add overlays for RV32M1 SoC for BLW SW LL 2019-11-08 15:38:57 +01:00
sample.yaml

.. _bluetooth_central:

Bluetooth: Central
##################

Overview
********

Application demonstrating very basic BLE Central role functionality by scanning
for other BLE devices and establishing a connection to the first one with a
strong enough signal.



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

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

Building and Running
********************
This sample can be found under :zephyr_file:`samples/bluetooth/central` in the
Zephyr tree.

See :ref:`bluetooth samples section <bluetooth-samples>` for details.