Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp132384ybl; Thu, 12 Dec 2019 15:21:24 -0800 (PST) X-Google-Smtp-Source: APXvYqx4kFrynJlmqIo1SvP+/jRBb28ADWvbDK8HKIh684sljBro8Ij3w7q3cMu6pGPZHTrnUC8e X-Received: by 2002:aca:3012:: with SMTP id w18mr6840548oiw.33.1576192884473; Thu, 12 Dec 2019 15:21:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576192884; cv=none; d=google.com; s=arc-20160816; b=bngH1eQScf3YbK5mczzSl0Jq6UO3raPmkVdo2BLCDFe0m51gFqQhQwGPAzqJbL0GJ0 Mgy4eGCwpufcT56pTfyldfSD2WzpuVwQjIz43DEnYy1Jbd/EOL7X2k+2/17Nu+ufP8P6 OCfBSyGYpPaFKzZFNBsqWdwxuObTeUgUF6HbpmlsWjYHEAhrYHIN84S7i+SlQTRZYC3r o30cCeO3efPnp9IVKJEFMBHUdI8drufs2JJLGMBqJABca7l/6pyGdkK+x3Vfv+t1gsrB AM9PWtmHfxpQbbstP20xQI+Ei87lnqvtDjG9rA6JVK0uj0tN+7wK4sRdtzIe3/V2tj1G s4sQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=pKMYXHFDinWvkAw3+/awbV6kfj7pvPBocKfaMOS6Sj8=; b=AN7eEim0ActOE6j3mKmc6U9j1wF/IJlmhy72agqsbrwm8YbeeKguoEo6GCkOpzHoQS CcNRWqO0k8SV62Onc4YOmedmC7KbLCAleIdNx2DLLLwsk3a+ZJS/egMy2IO84RG3N217 jadNNXPK0Try/P+FhxODlDJGBClRPzn+ihtPCxUAL5qJ7K96WQLHY95/sz5flggwASzv hBqDAS12xWFgfgT1XvtlrE65x93RTXiwUR2HaBaMfqJ67Tbi91OPOre1A+VOWHBzoTZ2 TuEWHduLc7FeOvLBMkuUecqw61vHSuBAt5YkHp+mrU+jVvzZrCQliyJOymCuu5g4eggk lEqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Hp9x5MAW; 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 h6si4198080oie.215.2019.12.12.15.21.00; Thu, 12 Dec 2019 15:21:24 -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=Hp9x5MAW; 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 S1731318AbfLLXDS (ORCPT + 99 others); Thu, 12 Dec 2019 18:03:18 -0500 Received: from mail-wr1-f49.google.com ([209.85.221.49]:37934 "EHLO mail-wr1-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730847AbfLLXDS (ORCPT ); Thu, 12 Dec 2019 18:03:18 -0500 Received: by mail-wr1-f49.google.com with SMTP id y17so4567424wrh.5 for ; Thu, 12 Dec 2019 15:03:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=pKMYXHFDinWvkAw3+/awbV6kfj7pvPBocKfaMOS6Sj8=; b=Hp9x5MAWLFfY0XvdkkEHVqexzBbVmuYv7fd34rMXhfxVFcSZJtteDqutdtLFFPlRSL yAnB556jbyPn7d5ZZV6pUGpHko25Sx/OzqxOuY7uom2HyD+gVUKdqN/xH94OyT57c9Lv r2VJxPRI7EQvO6LiOxnzNC0LmOVdzcBsxcxVx89OU3T4DgmqO0Vt3uCr9Qr6NajK0EwH Znq4uuwKTlLtrSKhKBGPYtNmFBNQkQpl/iyRQp752QYJs77T0Jul6CZpxbNqrY5NN/VS 05AY4eRSL/9pWGZm8rBUJIMPx/qkR+tUmtIEZkTvpqpan2zoko2YKdXUtvawhVe19mIv A/4w== 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:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=pKMYXHFDinWvkAw3+/awbV6kfj7pvPBocKfaMOS6Sj8=; b=Lki9VktJNIcTZN6LAB72w50Gbopej5+AiK9RxtdbaywMxyn5Os3tT1mII4n8Qgpc12 yLSZtShlzYLNfDevD2Glo5a4vT8f7KGOXgQce8EXyBeekckzHficXALqfr4rqRPhStyr edOktqR9BzVW+IqtkToTF+ztsqZctUt5Htnick1BkNYJU6RIwkfZORu+v3OrZRiey9JS nmHsN2+9NSnxIh/oe6mNbOglOoAAWNATs6oYPcnkoLvHSk+2KuHj+uo5K/JfP693kXSC t4J8BvPP9unkZeRB095+Mu0YAbV+a2xNkW1vuBa+QRyo9PYACH8o+5NFUYxjU/lEM2O2 gz1A== X-Gm-Message-State: APjAAAV0eLzK9RMcEjIaNqRgkMIMWbrA7qAmP0Og3lz/KOV/HSjSJSVv SZQ3M57pXwXZ1uvz9dfHq0M= X-Received: by 2002:adf:f508:: with SMTP id q8mr9017901wro.334.1576191796044; Thu, 12 Dec 2019 15:03:16 -0800 (PST) Received: from pali ([2a02:2b88:2:1::5cc6:2f]) by smtp.gmail.com with ESMTPSA id c2sm7905354wrp.46.2019.12.12.15.03.14 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 12 Dec 2019 15:03:14 -0800 (PST) Date: Fri, 13 Dec 2019 00:03:14 +0100 From: Pali =?utf-8?B?Um9ow6Fy?= To: Luiz Augusto von Dentz Cc: "linux-bluetooth@vger.kernel.org" Subject: Re: bluez: Export SDP "Remote audio volume control" item for HSP profile Message-ID: <20191212230314.g5gt6rxkphzpwucd@pali> References: <20191212172944.hgt6se2qz2hpsbo2@pali> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="vj3av4dbfywmd6i3" Content-Disposition: inline In-Reply-To: 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 --vj3av4dbfywmd6i3 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thursday 12 December 2019 21:42:27 Luiz Augusto von Dentz wrote: > Hi Pali, >=20 > On Thu, Dec 12, 2019 at 7:31 PM Pali Roh=C3=A1r wr= ote: > > > > 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 > Do you have a use case in mind? Yes, checking in pulseaudio if remote side announce that supports remote volume control or not. And based on this switch to software volume level. --=20 Pali Roh=C3=A1r pali.rohar@gmail.com --vj3av4dbfywmd6i3 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQS4VrIQdKium2krgIWL8Mk9A+RDUgUCXfLHMAAKCRCL8Mk9A+RD UlKtAJ4wryPSDSLw6lEBAO9H+nQh4bZQzwCfTEqiaXLcALsKsdcplm7U0c2YQCM= =kmd+ -----END PGP SIGNATURE----- --vj3av4dbfywmd6i3--