Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Aleksander Wasaznik 8cfad44852 Bluetooth: Deprecate adv auto-resume 9 months ago
..
src Bluetooth: Deprecate adv auto-resume 9 months ago
CMakeLists.txt
README.rst doc: samples: Adopt code-sample-category across tree 10 months ago
prj.conf flash: Move dependency on FLASH_PAGE_LAYOUT where it belongs 1 year ago
sample.yaml samples/tests: bluetooth: Remove qemu_cortex_m3 2 years ago

README.rst

.. zephyr:code-sample:: ble_direct_adv
:name: Direct Advertising
:relevant-api: bluetooth

Advertise directly to a bonded central device.

Overview
********

Application demonstrating the Bluetooth LE Direct Advertising capability. If no device is bonded
to the peripheral, casual advertising will be performed. Once bonded, on every subsequent
boot direct advertising to the bonded central will be performed. Additionally this sample
provides two Bluetooth LE characteristics. To perform write, devices need to be bonded, while read
can be done just after connection (no bonding required).

Please note that direct advertising towards iOS based devices is not allowed.
For more information about designing Bluetooth LE devices for Apple products refer to
"Accessory Design Guidelines for Apple Devices".

Requirements
************

* A board with Bluetooth LE support
* Second Bluetooth LE device acting as a central with enabled privacy. For example another Zephyr board
or any modern smartphone

Building and Running
********************

This sample can be found under :zephyr_file:`samples/bluetooth/direct_adv` in the
Zephyr tree.

See :zephyr:code-sample-category:`bluetooth` samples for details.