-
Notifications
You must be signed in to change notification settings - Fork 6.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: Bluetooth: Tester: Refactor audio TX
Instead of relying on the bap_send_cmd and a ring buffer, the tester will now automatically start transmitting on streams can that transmit once they enter the streaming state, and stop again once once they leave the streaming state. This ensures that we are always sending, which help pass the PTS tests that require us to send, without having the autopts client constant telling the tester to send. This also ensures that we actually send SDUs of the right size by not relying on a ring buffer, but using a separate thread that sends data from a predefined array of ISO mock data. This is easily expandable to multiple streams (including a mix of unicast and broadcast) using different SDU sizes and easy to expand to also use one or more software codecs. The design is based on the TX thread for the BAP Unicast Client sample and the audio babblesim tests. Signed-off-by: Emil Gydesen <[email protected]>
- Loading branch information
Showing
5 changed files
with
290 additions
and
166 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
Oops, something went wrong.