Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1232171ybl; Thu, 12 Dec 2019 11:43:05 -0800 (PST) X-Google-Smtp-Source: APXvYqxDJ29sukau89li/TdMsyRQWZk9QuRKbB+FC8hwzLvbgUFAHkYahe7AW1brQlYf/C+tqtSk X-Received: by 2002:aca:534f:: with SMTP id h76mr6238950oib.23.1576179785025; Thu, 12 Dec 2019 11:43:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576179785; cv=none; d=google.com; s=arc-20160816; b=SX7cNmZ3TY95NfBPa8yOQiYGC0j93I4jqM3Dx8+m3y8Fh5mwymxI2hJ0mjRBExfN2b a3iqBtG1L6iq9IMou0m5rxQgRR36oErdvT1kH4bpP1xhBXwbDS5XpwDxo2BklbfjCQ3I hWbZ8sz4UDG6NRho6wJqAucZZJqAmVSA++rt8QzPlM8lQRAapjqGFa8ymQAWkAAZuyQ5 uS08SSLbcHhHhI6bdxVY1wOg1pCJg8njZgazvLte2BnOKM1Cbps3zoQVnqoAq7+dLcGA KlbPt2PamK8W+dvllm9yI4eRHUA+IfXljTTWoJ2LzHawKV8YsUkVgImVnIqH726as868 1Gsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=ERSMqcibMxptl0RXbVKHjBBSQv4a0uL2b7vbDi1G/KE=; b=N/KaU/yoHVHHaVmNUlcUUTx0GEmZsiUMnmARu5R2br7YR0+yBIwrMVcZkQnfQc4YwX HlLMqmJlxgYZ1CIdNb2h+KGlg5JEYbxfMFpvAKcfdjSqtQ/VnuKRjjTmAXBsyVkctjLb feCIzVvsmyeHN6AV44eXbLs7Pk7CBDoUxhhwx64+0jE1y3Tu/nnP42v5iIWfURzRLy3s awy18b1Ssz6X1+16hDF6knvlhC1MijFzcifQfEHubohmSg4RbN01ZhnokibtoorUOdMS GMNjGbtoVux5036OL/43eLp/U9MlBh1aoiaiRhcslL1/95p08LeQG9vvTjCcoJd8LVc/ bGFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ICcoXaDH; 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 k67si3786197oib.61.2019.12.12.11.42.41; Thu, 12 Dec 2019 11:43:05 -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=ICcoXaDH; 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 S1730550AbfLLTmk (ORCPT + 99 others); Thu, 12 Dec 2019 14:42:40 -0500 Received: from mail-oi1-f181.google.com ([209.85.167.181]:38279 "EHLO mail-oi1-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730512AbfLLTmk (ORCPT ); Thu, 12 Dec 2019 14:42:40 -0500 Received: by mail-oi1-f181.google.com with SMTP id b8so48275oiy.5 for ; Thu, 12 Dec 2019 11:42:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=ERSMqcibMxptl0RXbVKHjBBSQv4a0uL2b7vbDi1G/KE=; b=ICcoXaDH5xdecSRGNBqQ/rFMgzlp5dV64XMNUOVR6gidUIKxm4POrUqYWblMZn9nhJ uIT6AiF973xegdajU0yA7q+TGFhxjLH5hEsRREUxO2XfQT00rHLQ0fcrFEGcE1gDkyyW kOY78OFG1IVXawTYAdruJNNssK0QLpiRQJbHUgaaFtMtPfAQU52IghIfbLjRhW4h6JfB +2+OE49NrHiH2m5dO5lt8yKZDhDZrnQPYHSGPfkqD2t6buaC0SBDyKqKXIjU3b2fXGdl nI/OChlOjWtUfWJx+T1uJ7vLlA2cQb/XHmi9V/Pp6G0DdEHYNwAGemjLYJaVUWzwZvNZ yc0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=ERSMqcibMxptl0RXbVKHjBBSQv4a0uL2b7vbDi1G/KE=; b=U9UIgWifIKOrMoxfv7lCH5KyEomFtC2dyCuRE/VErOJpvD+A/uZ0qz0bkCVx6DKhWC Rbb09peMyIoie0KOmtkxurapAkypgN1McZ8vcs4GHBEpoLuTlHVNdjugDLxx5ovvwl/Y syzWdQQNqxt3g8UfI6wouXj/v5vD5BOlZS7osjqk4EUeKWeuYteRCdmHBPi45GACAABJ 275UueTet1HrkwQ7vt/6BgES3Z4Qn4VYHz9Lz5E/P6EJ1uo43dt/qBh0c6ROM+GKfwUa hQ0CbnGZEVCAZIievdngLFxPNtiUql4e4GEVt4JM8MBF3OPlUW7LauOtqrC0rOqwmrtD GEPA== X-Gm-Message-State: APjAAAVTkgzCAW2QSRZ0gV/JggA8syJaLICCnuM0MbL0HlPJyVRWDNGH mNJt+ZbHiEAhyES6CBf+/xap8pS3LBPRRENSIgb2eqHo X-Received: by 2002:a54:4f8e:: with SMTP id g14mr5831567oiy.8.1576179759195; Thu, 12 Dec 2019 11:42:39 -0800 (PST) MIME-Version: 1.0 References: <20191212172944.hgt6se2qz2hpsbo2@pali> In-Reply-To: <20191212172944.hgt6se2qz2hpsbo2@pali> From: Luiz Augusto von Dentz Date: Thu, 12 Dec 2019 21:42:27 +0200 Message-ID: Subject: Re: bluez: Export SDP "Remote audio volume control" item for HSP profile To: =?UTF-8?Q?Pali_Roh=C3=A1r?= Cc: "linux-bluetooth@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Pali, On Thu, Dec 12, 2019 at 7:31 PM Pali Roh=C3=A1r wrot= e: > > 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. Do you have a use case in mind? --=20 Luiz Augusto von Dentz