1.. zephyr:code-sample:: bluetooth_observer
2   :name: Observer
3   :relevant-api: bt_gap bluetooth
4
5   Scan for Bluetooth devices nearby and print their information.
6
7Overview
8********
9
10A simple application demonstrating Bluetooth Low Energy Observer role
11functionality. The application will periodically scan for devices nearby.
12If any found, prints the address of the device, the RSSI value, the Advertising
13type, and the Advertising data length to the console.
14
15If the used Bluetooth Low Energy Controller supports Extended Scanning, you may
16enable :kconfig:option:`CONFIG_BT_EXT_ADV` in the project configuration file. Refer to the
17project configuration file for further details.
18
19Requirements
20************
21
22* A board with Bluetooth Low Energy support
23
24Building and Running
25********************
26
27This sample can be found under :zephyr_file:`samples/bluetooth/observer` in the
28Zephyr tree.
29
30See :zephyr:code-sample-category:`Bluetooth samples section <bluetooth>` for details.
31