zephyrproject-rtos / zephyr

Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
https://docs.zephyrproject.org
Apache License 2.0
10.59k stars 6.48k forks source link

samples: Bluetooth: central_iso: Desynchronized submission of data #72452

Open fgrandel opened 4 months ago

fgrandel commented 4 months ago

Describe the bug

In addition to #70794 (BLE TX buffers should provide for ISO header), there are more bugs in the ISO central sample:

This is relevant to all nRF platforms that use a 32k sleep clock.

To Reproduce Steps to reproduce the behavior:

Expected behavior With proper synchronization the sample should be able to run for hours without skipping payload numbers even if CONFIG_BT_CTLR_ISOAL_PSN_IGNORE=n.

Impact The sample does not provide a proper template for perfectly synchronized transmission.

Logs and console output see #70794

Environment (please complete the following information): nRF platforms with 32k sleep clock

Additional context I have a fixed sample that I can provide as a PR. Just need some time to make it upstream-ready.

github-actions[bot] commented 2 months ago

This issue has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this issue will automatically be closed in 14 days. Note, that you can always re-open a closed issue at any time.

github-actions[bot] commented 1 week ago

This issue has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this issue will automatically be closed in 14 days. Note, that you can always re-open a closed issue at any time.