Hello,
We are using 2 nRF5340-based devices running:
samples/bluetooth/periodic_adv_rspsamples/bluetooth/periodic_sync_rsp
with the PAwR configuration (modified from the original samples):
NUM_RSP_SLOTS = 1NUM_SUBEVENTS = 1
Each device is running Zephyr 4.3.0, and SoftDevice Controller based on NCS 3.2.0, configured for Periodic Advertising and PAwR.
We modified periodic_adv_rsp main.c to:
- display
counterduringrequest_cb(prior to counter++ increment, which is displayed as 'Subevent data set xx') - display
counterfrom the buffer inresponse_cb(which is the same as in the displayed Advertising data)
Here is a snippet of the output from periodic_adv_rsp:
Start Periodic Advertising
Start Extended Advertising
Scanning successfully started
request: counter 0
Subevent data set 1
Connected (err 0x00)
PAST sent
Discovery started
request: counter 1
Subevent data set 2
request: counter 2
Subevent data set 3
Discovery: attr 0x20005cb4
UUID 12345678-1234-5678-1234-56789abcdef1
Characteristic handle: 18
Write started
PAwR config written to sync 0, disconnecting
request: counter 3
Subevent data set 4
request: counter 4
Subevent data set 5
Response: subevent 0, slot 0
response: counter 3
0xFF: 590003
Disconnected, reason 0x16
Maximum numnber of syncs onboarded
request: counter 5
Subevent data set 6
Response: subevent 0, slot 0
response: counter 4
0xFF: 590004
request: counter 6
Subevent data set 7
Response: subevent 0, slot 0
response: counter 5
0xFF: 590005
request: counter 7
Subevent data set 8
Response: subevent 0, slot 0
response: counter 6
0xFF: 590006
The response counter value lags the request counter value by one Periodic Advertising interval.
We tried modifying the PAwR parameters so as to increase slot_delay in an attempt to give the responder more time to generate a response. The results are the same.
This change also appeared to delay execution time of calls to bt_le_per_adv_set_subevent_data() and bt_le_per_adv_set_response_data() on each device.
Questions:
1. Is a delayed PAwR response of 1 Periodic Advertising interval expected?
2. If so, is there a way (e.g. by configuration or code changes) to avoid this?
Thank you.

