• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

boards/29-Dec-2025-2318

src/29-Dec-2025-7652

CMakeLists.txtD29-Dec-2025295 117

README.rstD29-Dec-2025775 2618

prj.confD29-Dec-202570 54

sample.yamlD29-Dec-2025365 1413

README.rst

1.. zephyr:code-sample:: ble_scan_adv
2   :name: Scan & Advertise
3   :relevant-api: bt_gap bluetooth
4
5   Combine Bluetooth LE Broadcaster & Observer roles to advertise and scan for devices simultaneously.
6
7Overview
8********
9
10A simple application demonstrating combined Bluetooth LE Broadcaster & Observer
11role functionality. The application will periodically send out
12advertising packets with a manufacturer data element. The content of the
13data is a single byte indicating how many advertising packets the device
14has received (the number will roll back to 0 after 255).
15
16Requirements
17************
18
19* BlueZ running on the host, or
20* A board with Bluetooth LE support
21
22Building and Running
23********************
24
25See :zephyr:code-sample-category:`bluetooth` samples for details.
26