Periodic Advertising Connection Procedure (Responder)

Browse source code on GitHub

Overview

A simple application demonstrating the responder side of the Bluetooth LE Periodic Advertising Connection Procedure.

This sample will send its address in response to the advertiser when receiving subevent data. Once the connection is established, it will disconnect and wait for a new connection to be established.

Requirements

  • A board with Bluetooth LE support

  • A controller that supports the Periodic Advertising with Responses (PAwR) - Scanner feature

Building and Running

Build and flash the sample as follows, replacing <board> with your target board:

west build -b <board> samples/bluetooth/periodic_sync_conn
west flash

After flashing, the device will scan for a PAwR advertiser, synchronize to it, and respond with its own address. Once the initiator connects, this device will disconnect and wait for a new connection.

Use the Periodic Advertising Connection Procedure (Initiator) sample on a second board to start PAwR advertising and connect to this device once synced.

See also

Generic Access Profile (GAP)
Bluetooth APIs