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