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

..--

boards/04-Jan-2025-2318

src/04-Jan-2025-7652

CMakeLists.txtD04-Jan-2025295 117

README.rstD04-Jan-2025869 2920

prj.confD04-Jan-202570 54

sample.yamlD04-Jan-2025315 1312

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
25This sample can be found under :zephyr_file:`samples/bluetooth/scan_adv` in the
26Zephyr tree.
27
28See :zephyr:code-sample-category:`bluetooth` samples for details.
29