Bluetooth: Scan & Advertise

Overview

This application demonstrates combined Bluetooth LE scanning and advertising. It scans for nearby devices while periodically advertising manufacturer data.

For more details, refer to zephyr/samples/bluetooth/scan_adv/README.rst.

Requirements

Atmosic EVK <board | serial>

Building and Running

This sample is built from openair/samples/bluetooth/scan_adv. The source code can be found under zephyr/samples/bluetooth/scan_adv.

Build command:

west build -p always -b <BOARD> openair/samples/bluetooth/scan_adv --sysbuild -T samples.bluetooth.scan_adv.atm

Flash command:

west flash --no-rebuild --device <DEVICE_ID> --jlink --fast_load [--erase_flash]

Optional variant

To build the HCI dump variant used by automated testing, use:

west build -p always -b <BOARD> openair/samples/bluetooth/scan_adv --sysbuild -T samples.bluetooth.scan_adv.atm.dump_hci