Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1092044ybl; Thu, 12 Dec 2019 09:30:09 -0800 (PST) X-Google-Smtp-Source: APXvYqyosHUr4A9u5YkwOpYcc39o7RYAWqj9KK2oiRXoXoUUG8HMpoL7Vx77a6/T2JB544ZrtyTq X-Received: by 2002:a05:6830:1116:: with SMTP id w22mr9624022otq.216.1576171809739; Thu, 12 Dec 2019 09:30:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576171809; cv=none; d=google.com; s=arc-20160816; b=R2r7FGWl/zoxoLPs2aKgVE4Kzkz8Vrcu8MGkZ8/dPrpZ0IJf9FRB+Uq5Vr9x1rc9j0 uxv8ZSZGwXMopNq0tmg/xrNTh/35liBgFUA+aQgIEYwrUudlIyPyiWiozGsZ9q560qRk bbdshWOp3RVsmnISrk5fbUazSN9Z2aNFOpNF5vNBryV2qisOsdPeEZX0SPap/47Bnlu0 a/UjkuHVMZhzVt9J9pC+f3/GFvklMqR9NLSV3qNt63MwYd3jupy9zoLjuOQDpOCW+hGG dol+WaL2bNiuqDcuqQLPfuRX8TYTd5r8vPhV5OwqHO8jQJS7Ce2v/yNR9ZmOQn8BkESO Rtgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:to:from:date:dkim-signature; bh=pycLCjvMMBP695CK9VSeSbANIs2m5SIPyow5sT3t3/0=; b=oRlFYjn/STlnpEem3nmkA+ENWeDfYZSzNXpnAINLuB8QqmgsRRskh7fAUu3rUiWVba dklSiElfHFthPfR+2ZL+vrRKo0Mrk1FhF5Nhv3/st9hV+YJK6Pv4mQSKalr5ofYyLuoo aizksfPlpLtIzqDM9XK4h8Fjlyes9uxoSerMJ3KTbEc/TO/ZAF5cGAoRDKbaemRj0/wP jPXQYGeTA8n0t6eG9bWPpzTGfw7t3Yv84qi8QpIJ8pIFsYyavqqVwF4YG0U2CvGaIqy4 luNOKU18kAMsoMQR+Zwhwyv8FSswr/HiRAT6Hbxn6vGPw85YsBNmPnFANg0RomMhuK8E o1+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=H79a3F3x; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f53si3543666otf.235.2019.12.12.09.29.58; Thu, 12 Dec 2019 09:30:09 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=H79a3F3x; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730132AbfLLR3s (ORCPT + 99 others); Thu, 12 Dec 2019 12:29:48 -0500 Received: from mail-wm1-f66.google.com ([209.85.128.66]:39525 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730114AbfLLR3s (ORCPT ); Thu, 12 Dec 2019 12:29:48 -0500 Received: by mail-wm1-f66.google.com with SMTP id d5so3461399wmb.4 for ; Thu, 12 Dec 2019 09:29:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:mime-version:content-disposition :user-agent; bh=pycLCjvMMBP695CK9VSeSbANIs2m5SIPyow5sT3t3/0=; b=H79a3F3x8kwdyiD+VMdzp4s/E+V2jq4H8Cbua3dFR7wSiAcesUiOCh70shX9fmXQYs CY37NMuGnd3RICrBa2xSleqUiMu2ljbE174gwa3T6OGIUkiC3K5wVWQakS/E18K76/sQ WE0l9VcM2UA5UodE8ry/c/2fct6a7lL13oDja1Cvi5U2s4LGfWlRU7nnkn3poFJkGTuv qostKEr9cBsb7sIPB+K5BUmg+w4F7VVRKuzF56iPkD6lNFli7Qgw3xqcdKShY7wf5uz4 IhGITpZKdQ3Zy+lS8CSDLgwu+a1Z5bvG/8p0RmXBtLxTZifgjByw0478/aHY3aeB1Fl6 wAdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-disposition:user-agent; bh=pycLCjvMMBP695CK9VSeSbANIs2m5SIPyow5sT3t3/0=; b=Bjdcc9lq16riasv1Nat1iLge7lgmyDgRk0LOGrPc1r67KeE8b9a1lV32bEvH+wz6hw GuwgOyw7KEV0EtgpUWRF8XRWDsWXynzavH2bMbpkJqDVMTIVtmYkvvwcUduD7EwjhkRB ZYAbYhrBPxdiBQOoUUmUnhejR6788rXZ8dHryUGIeNtrq5itcVceh6sYYAm1Bpcgdr7J 9N9BlV7y1q3AexmmCXrnJBv8HzE+tVoDWS1fhacIe4ZupO8gIWVLqPNZAsWUhWKfkNDm 7NcOqGreP0qTrPs8W/3Llay0DwTM3D/TZydCzBYltZYJI4fzqvKMHRSu33vnQFqGLn29 iFBw== X-Gm-Message-State: APjAAAVc6HBXK1WwUYNMn+ka4+H98qcIIb42SoQK8hmYeajw0GJW2+cp cKQf96fJQpONzs1QTnSHUGAqoA7e X-Received: by 2002:a05:600c:22d1:: with SMTP id 17mr8263826wmg.23.1576171786024; Thu, 12 Dec 2019 09:29:46 -0800 (PST) Received: from pali ([2a02:2b88:2:1::5cc6:2f]) by smtp.gmail.com with ESMTPSA id x17sm6220038wrt.74.2019.12.12.09.29.44 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 12 Dec 2019 09:29:44 -0800 (PST) Date: Thu, 12 Dec 2019 18:29:44 +0100 From: Pali =?utf-8?B?Um9ow6Fy?= To: linux-bluetooth@vger.kernel.org Subject: bluez: Export SDP "Remote audio volume control" item for HSP profile Message-ID: <20191212172944.hgt6se2qz2hpsbo2@pali> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ys2u4j7ry3hhzv5x" Content-Disposition: inline User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org --ys2u4j7ry3hhzv5x Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello! According to HSP 1.2 specification, section 4.7 Remote Audio Volume Control, Support for remote audio volume control is optional, so an implementation may support none, either, or both of the controls for microphone volume and speaker volume. According to HSP 1.2 specification, section 5.3 SDP Interoperability Requirements, bluetooth device with HSP profile announce via SDP "Remote audio volume control" field information if device itself supports volume control. But currently I did not found any way how to access "Remote audio volume control" SDP field in (pulseaudio) application as bluez does not export it. Can you please export this field? E.g. for HFP profile all optional features from SDP are passed to NewConnection() DBus method via fd_properties dictionary under Features key. Could you export that "Remote audio volume control" bit for HSP profile in Features key? And in same way, this needs to be handled also in RegisterProfile() DBus method. --=20 Pali Roh=C3=A1r pali.rohar@gmail.com --ys2u4j7ry3hhzv5x Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQS4VrIQdKium2krgIWL8Mk9A+RDUgUCXfJ5BQAKCRCL8Mk9A+RD Uq+1AKC4wILZjNxuosRcTWDKRYFtxojp+QCfWlYCoz6FAZSrT/3N7idLP/oetl4= =TgGT -----END PGP SIGNATURE----- --ys2u4j7ry3hhzv5x--