profile: Export Remote Audio Volume Control SDP value
authorPali Rohár <pali@kernel.org>
Mon, 13 Apr 2020 16:25:12 +0000 (18:25 +0200)
committerAyush Garg <ayush.garg@samsung.com>
Mon, 12 Apr 2021 09:00:48 +0000 (14:30 +0530)
commit27f5acc892aa25386fe11945e31b24f81a0443c7
treef5cd5e4b8d4a07a16325b1cd23b7897883f5d464
parentbaeb7ec5dbfe3a77976dcfde0ae06c775b81be36
profile: Export Remote Audio Volume Control SDP value

Remote Audio Volume Control property in SDP record for HSP HS role
indicates if device supports volume control.

It is required for D-Bus agents which implements audio part of HSP
profile to know if remote device supports volume control or not.

With this change bluez exports status of this SDP property via firt bit
in Features entry in NewConnection() DBus callback method, like for HFP
profile.

Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
src/profile.c