zephyr/samples/bluetooth/scan_adv
Emil Gydesen 3b6a15a24d samples: Bluetooth: Rename BLE to Bluetooth (LE) where applicable
The BLE acronym is not an official description of Bluetooth
LE, and the Bluetooth SIG only ever refers to it as Bluetooth
Low Energy or Bluetooth LE, so Zephyr should as well.

This commit does not change any board or vendor specific
samples, and the term BLE may still be used in those.
It will be up to the vendors to update it if they want,
since many of them are using the term BLE in their
products.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2025-02-12 12:24:18 +01:00
..
boards
src
CMakeLists.txt
prj.conf
README.rst doc: samples: Adopt code-sample-category across tree 2024-09-23 12:00:00 +02:00
sample.yaml samples: Bluetooth: Rename BLE to Bluetooth (LE) where applicable 2025-02-12 12:24:18 +01:00

.. zephyr:code-sample:: ble_scan_adv
   :name: Scan & Advertise
   :relevant-api: bt_gap bluetooth

   Combine Bluetooth LE Broadcaster & Observer roles to advertise and scan for devices simultaneously.

Overview
********

A simple application demonstrating combined Bluetooth LE 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 Bluetooth LE support

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

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

See :zephyr:code-sample-category:`bluetooth` samples for details.