Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
samples: bluetooth: central_iso: remove latency
Zephyr's OSS bluetooth controller implementation has distinct timing approaches for SDUs that are scheduled from within the controller stack (with well-known phase information) and SDUs scheduled via HCI (with unknown phase information). The former will be scheduled for the next ISO event, the latter one ISO interval in the future, to avoid race conditions. The change caters for this detail by incrementing the sequence number once after the first SDU has been sent out to avoid unnecessary latency in subsequent package scheduling. This should not lead to a race condition as we start our timer from the connection callback which provides a sufficiently repeatable anchor point for timing. Signed-off-by: Florian Grandel <[email protected]>
- Loading branch information