Commit: 117b993f3d680385b2634608d41e8e466911f439
Parent: 15811387144ca2f8274932204a54ff2fc6e36cff
Author: Iulia Tanasescu <iulia.tanasescu@nxp.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2024-08-06 21:18:12
Tree: 678cc20eb1062f9ac5d1cbb83fe4a495cad05fe6

bass: Implement MediaAssistant Push method This implements the MediaAssistant "Push" method, which sends a GATT write command for the Broadcast Audio Scan Control Point characteristic with the "Add Source" opcode. This also registers a callback with shared/bass, to handle GATT notifications from the peer. A MediaAssistant object transitions to different states, depending on information received in the callback. The callback is also useful to check if the peer requires a Broadcast Code to decrypt the stream - in this case, the Assistant uses the "Set Broadcast_Code" operation to provide the code.

Diffstat

M profiles/audio/bass.c | 295 ++++++++++++++++++++++++++++++++++++++++

1 files changed, 295 insertions(+), 0 deletions(-)

View Full Diff | Patch