mbox series

[BlueZ,v2,0/1] shared/asha: Add support for other side update

Message ID 20250204064103.672327-1-sanchayan@asymptotic.io (mailing list archive)
Headers show
Series shared/asha: Add support for other side update | expand

Message

Sanchayan Maity Feb. 4, 2025, 6:40 a.m. UTC
ASHA specification requires that the status of the other side be
communicated with the start command. The status is also updated
if one of the device in the pair is connected/disconnected after
the other.

https://source.android.com/docs/core/connect/bluetooth/asha#audiocontrolpoint

Changes since v1:
- Fixes the below build failure.

In file included from ./profiles/audio/asha.h:16,
                 from profiles/audio/asha.c:43:
./src/shared/asha.h:56:22: error: ‘asha_devices’ defined but not used [-Werror=unused-variable]
   56 | static struct queue *asha_devices;
      |                      ^~~~~~~~~~~~
cc1: all warnings being treated as errors
make[1]: *** [Makefile:10783: profiles/audio/bluetoothd-asha.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:4693: all] Error 2

- Link to v1: https://lore.kernel.org/linux-bluetooth/20250130090158.266044-1-sanchayan@asymptotic.io/T/#u

Sanchayan Maity (1):
  shared/asha: Add support for other side update

 src/shared/asha.c | 165 +++++++++++++++++++++++++++++++++++++++++++++-
 src/shared/asha.h |   6 ++
 2 files changed, 168 insertions(+), 3 deletions(-)