-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pw_bluetooth_sapphire: Queue ISO frames in stream as needed
Establish a robust path for sending frames from an IsoStream to its client. The IsoStream will buffer frames and provide them upon request (calls to ReadNextQueuedIncomingPacket()). If at any time a call is made and no frames are available, nullptr is returned and a notification will be sent to the client (via the IncomingDataHandler) when the next frame is received. This interface maps easily to a 'hanging get' pattern where an unsatisfiable read will be followed by a notification when data is ready. Bug: http://b/issues/311639690 Test: pw presubmit --step gn_chre_googletest_nanopb_sapphire_build Change-Id: Iad999735cf15f70cf3b6fa079745c2d25784dddb Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/251332 Lint: Lint 🤖 <[email protected]> Presubmit-Verified: CQ Bot Account <[email protected]> Commit-Queue: Josh Conner <[email protected]> Docs-Not-Needed: Josh Conner <[email protected]> Reviewed-by: Jason Graffius <[email protected]>
- Loading branch information
1 parent
683ebcf
commit e431fab
Showing
5 changed files
with
165 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters