zephyr/samples/bluetooth
Nazar Palamar 120274b0b6 Bluetooth: Samples: periodical_adv_rps: Added sync wait delay
Problem:
on cyw208xx devices i see sometime `Timed out while synchronizing`
error in samples periodical_adv_rps/periodical_sync_rps.

log:
<err> bt_scan: Could not lookup connection handle from PAST
<err> bt_scan: Unknown handle 0x0000 for periodic advertising report
Timed out while synchronizing
...

After investigation i can confirm, the sync was created successful,
but in application (periodical_sync_rsp) terminated the sync when the
connection is not valid.

periodical_adv_rps doesn't have any mechanism to wait for sync and after
gatt write (subevent, response_slot information) it immediately
performs disconnection.

Solution:
Added sync wait delay before make disconnection, to ensure sync
is established before disconnection.

Signed-off-by: Nazar Palamar <nazar.palamar@infineon.com>
2024-09-02 11:58:18 +02:00
..
bap_broadcast_assistant Bluetooth: Samples: Use string printing functions for error codes 2024-07-31 12:56:11 +02:00
bap_broadcast_sink Bluetooth: Samples: Use string printing functions for error codes 2024-07-31 12:56:11 +02:00
bap_broadcast_source samples: Bluetooth: Audio: Change names to <profile>_<role> 2024-05-31 09:56:11 -05:00
bap_unicast_client Bluetooth: Samples: Use string printing functions for error codes 2024-07-31 12:56:11 +02:00
bap_unicast_server samples: Bluetooth: Add streaming callback for unicast server 2024-08-30 09:09:44 +02:00
beacon samples: bluetooth: exclude cyw920829m2evk_02 from build 2024-07-08 15:51:21 +02:00
broadcaster samples: bluetooth: exclude cyw920829m2evk_02 from build 2024-07-08 15:51:21 +02:00
broadcaster_multiple samples: Bluetooth: Fix incorrect comments about adv sets 2024-05-24 07:46:43 -04:00
bthome_sensor_template
cap_acceptor Bluetooth: Samples: Use string printing functions for error codes 2024-07-31 12:56:11 +02:00
cap_initiator Samples: Bluetooth: CAP Initiator broadcast support 2024-08-01 08:53:08 +01:00
central Bluetooth: Samples: Use string printing functions for error codes 2024-07-31 12:56:11 +02:00
central_gatt_write Bluetooth: Samples: Use string printing functions for error codes 2024-07-31 12:56:11 +02:00
central_hr Bluetooth: Samples: Use string printing functions for error codes 2024-07-31 12:56:11 +02:00
central_ht Bluetooth: Samples: Use string printing functions for error codes 2024-07-31 12:56:11 +02:00
central_multilink Bluetooth: Samples: Use string printing functions for error codes 2024-07-31 12:56:11 +02:00
central_otc Bluetooth: Samples: Use string printing functions for error codes 2024-07-31 12:56:11 +02:00
central_past Bluetooth: Samples: Use string printing functions for error codes 2024-07-31 12:56:11 +02:00
direct_adv Bluetooth: Samples: Use string printing functions for error codes 2024-07-31 12:56:11 +02:00
direction_finding_central Bluetooth: Samples: Use string printing functions for error codes 2024-07-31 12:56:11 +02:00
direction_finding_connectionless_rx samples: bluetooth: df: fix misleading comment in rx overlay 2024-05-24 08:05:19 -04:00
direction_finding_connectionless_tx samples: Bluetooth: use correct periodic advertising intervals 2024-06-07 16:45:44 +03:00
direction_finding_peripheral Bluetooth: Samples: Use string printing functions for error codes 2024-07-31 12:56:11 +02:00
eddystone Bluetooth: Samples: Use string printing functions for error codes 2024-07-31 12:56:11 +02:00
encrypted_advertising Bluetooth: Samples: Use string printing functions for error codes 2024-07-31 12:56:11 +02:00
extended_adv Bluetooth: Samples: Use string printing functions for error codes 2024-07-31 12:56:11 +02:00
handsfree Sample: bluetooth: add mimxrt1040_evk support 2024-06-24 12:44:49 -04:00
handsfree_ag Bluetooth: Samples: Use string printing functions for error codes 2024-07-31 12:56:11 +02:00
hap_ha bluetooth: BAS: add battery level status char to bas service 2024-08-20 18:59:14 -04:00
hci_ipc net: buf: remove use of special putter and getter functions 2024-08-16 09:55:11 +02:00
hci_pwr_ctrl Bluetooth: Samples: Use string printing functions for error codes 2024-07-31 12:56:11 +02:00
hci_spi net: buf: remove use of special putter and getter functions 2024-08-16 09:55:11 +02:00
hci_uart samples: Bluetooth: hci_uart: Add preliminary DF support for nrf54l15pdk 2024-08-30 11:47:15 -04:00
hci_uart_3wire net: buf: remove use of special putter and getter functions 2024-08-16 09:55:11 +02:00
hci_uart_async net: buf: remove use of special putter and getter functions 2024-08-16 09:55:11 +02:00
hci_usb usb: device_next: Rename usbd_contex to usbd_context 2024-06-03 06:43:20 -07:00
hci_usb_h4 hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
hci_vs_scan_req samples: Bluetooth: hci_vs_scan_req: Build for BT_LL_SW_SPLIT only 2024-05-25 11:26:26 +03:00
ibeacon boards: silabs: Consistently name dev kits 2024-06-12 12:52:28 -04:00
iso_broadcast samples: Bluetooth: Fix incorrect comments about adv sets 2024-05-24 07:46:43 -04:00
iso_broadcast_benchmark Bluetooth: ISO/BAP: Refactor BIS bitfield 2024-07-27 15:19:46 +03:00
iso_central samples: Bluetooth: ISO: Rename ISO central and peripheral 2024-09-02 09:06:18 +02:00
iso_connected_benchmark Bluetooth: Samples: Use string printing functions for error codes 2024-07-31 12:56:11 +02:00
iso_peripheral samples: Bluetooth: ISO: Rename ISO central and peripheral 2024-09-02 09:06:18 +02:00
iso_receive Bluetooth: ISO/BAP: Refactor BIS bitfield 2024-07-27 15:19:46 +03:00
mesh Bluetooth: Mesh: align mesh and host psa usage 2024-06-19 13:24:08 -04:00
mesh_demo Bluetooth: Mesh: align mesh and host psa usage 2024-06-19 13:24:08 -04:00
mesh_provisioner Bluetooth: Mesh: align mesh and host psa usage 2024-06-19 13:24:08 -04:00
mtu_update samples: bluetooth: mtu_update: Modified Sample to use UATT MTU 2024-08-15 10:17:13 +01:00
observer samples: bluetooth: exclude cyw920829m2evk_02 from build 2024-07-08 15:51:21 +02:00
pbp_public_broadcast_sink samples: Bluetooth: Audio: Change names to <profile>_<role> 2024-05-31 09:56:11 -05:00
pbp_public_broadcast_source samples: Bluetooth: Audio: Change names to <profile>_<role> 2024-05-31 09:56:11 -05:00
periodic_adv samples: bluetooth: exclude cyw920829m2evk_02 from build 2024-07-08 15:51:21 +02:00
periodic_adv_conn Bluetooth: Samples: Use string printing functions for error codes 2024-07-31 12:56:11 +02:00
periodic_adv_rsp Bluetooth: Samples: periodical_adv_rps: Added sync wait delay 2024-09-02 11:58:18 +02:00
periodic_sync samples: bluetooth: Increase sync timeout to allow packet loss 2024-04-17 14:34:23 +02:00
periodic_sync_conn Bluetooth: Samples: Use string printing functions for error codes 2024-07-31 12:56:11 +02:00
periodic_sync_rsp Bluetooth: Samples: Use string printing functions for error codes 2024-07-31 12:56:11 +02:00
peripheral samples: bluetooth: peripheral: added HRM control point support 2024-08-29 16:12:12 -04:00
peripheral_accept_list Bluetooth: Samples: Use string printing functions for error codes 2024-07-31 12:56:11 +02:00
peripheral_csc Bluetooth: Samples: Use string printing functions for error codes 2024-07-31 12:56:11 +02:00
peripheral_dis Bluetooth: Samples: Use string printing functions for error codes 2024-07-31 12:56:11 +02:00
peripheral_esp Bluetooth: Samples: Use string printing functions for error codes 2024-07-31 12:56:11 +02:00
peripheral_gatt_write Bluetooth: Samples: Use string printing functions for error codes 2024-07-31 12:56:11 +02:00
peripheral_hids Bluetooth: Samples: Use string printing functions for error codes 2024-07-31 12:56:11 +02:00
peripheral_hr Bluetooth: Samples: Use string printing functions for error codes 2024-07-31 12:56:11 +02:00
peripheral_ht Bluetooth: Samples: Use string printing functions for error codes 2024-07-31 12:56:11 +02:00
peripheral_identity Bluetooth: Samples: Use string printing functions for error codes 2024-07-31 12:56:11 +02:00
peripheral_nus Bluetooth: samples: Switch to one-time adv 2024-05-29 10:48:04 -07:00
peripheral_ots Bluetooth: Samples: Use string printing functions for error codes 2024-07-31 12:56:11 +02:00
peripheral_past Bluetooth: Samples: Use string printing functions for error codes 2024-07-31 12:56:11 +02:00
peripheral_sc_only Bluetooth: Samples: Use string printing functions for error codes 2024-07-31 12:56:11 +02:00
scan_adv samples: bluetooth: exclude cyw920829m2evk_02 from build 2024-07-08 15:51:21 +02:00
st_ble_sensor Bluetooth: Samples: Use string printing functions for error codes 2024-07-31 12:56:11 +02:00
tmap_bmr LE Audio: add conn parameter for bt_vcp_vol_rend_cb 2024-08-20 14:45:35 +02:00
tmap_bms samples: Bluetooth: Fix incorrect comments about adv sets 2024-05-24 07:46:43 -04:00
tmap_central Bluetooth: Samples: Use string printing functions for error codes 2024-07-31 12:56:11 +02:00
tmap_peripheral LE Audio: add conn parameter for bt_vcp_vol_rend_cb 2024-08-20 14:45:35 +02:00
bluetooth.rst hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00