Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp151136ybz; Wed, 15 Apr 2020 06:16:13 -0700 (PDT) X-Google-Smtp-Source: APiQypIOHl14Tn/N/Hfv5S8BBaqMpEYhxR+lT5tYjQShMQ6sUrYnMSMuKVatxm6uHvDVrBaH8MbQ X-Received: by 2002:a17:907:9c4:: with SMTP id bx4mr4773483ejc.199.1586956571575; Wed, 15 Apr 2020 06:16:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586956570; cv=none; d=google.com; s=arc-20160816; b=jebAiTIkJbwZYGsn2HSrIPOlggb3h6kUuSSU9Ym9RfNQUw6E9x4sjp90dAwv/zS+an pN4dDCjo12V/lSeVbEWG3tssfQROBHXVUS+9qH+v7g9ushblxE2sZxPm1JhdWRAuF4Is T5qS2akOBkQkXaGEB2FIlEu5R65c5wjuR/P6dj2SjTQAPeStXjgcIpVpLoswmMOb3pjf UhFlyOkBiuRHIcwJRaxqA9ZOb967LuqnxgzIkj3vVTgE9QoB+ubtzsS+VtfltdFfPPCU 4+5SDmlnX7sBjN36IJ3oY2oG0RVaIhLzJzP0aL63RtwGIq2GgOdWvEUIWSJgBNtMuT0b +OIQ== 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=qzxtF6AaFEvQz+/0V7cN4u/RpPKK/y7vEz4ynujo0/0=; b=b7bGjTbGdaTAuYtobwXcCdc1SO47M83VHG2oTMDtHbrGzRc6XHa9MCTcHV/QEjLbCI in7pKs40UxyBA3qPq5y2D+MwO6tIIpzI8ZD3GZ9v482otp+bYItALjzfSO1U+8nUEdL8 l1ivodgGzQRp4MANHpuHiKe/CsnMnXBIAN6HWJmwOwejo+f1hPEAa/XdXxq8O+6e+DH0 r6UAxJ7LdkoeEknxvayVtTeCGlkbtF0HoxTAnGDripGt6lgwVLHGu2wds1Ipa0Zf+qmB /0tV7KgwQKYSZ7UoUrwFguSTNIVngPxVFpydB4+fuyGVhJfMSUSNKMxn8tM5ckkzGUiZ uosw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=CzHa6E+E; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e9si4861644edy.460.2020.04.15.06.15.44; Wed, 15 Apr 2020 06:16:10 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=CzHa6E+E; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2505253AbgDNTxm (ORCPT + 99 others); Tue, 14 Apr 2020 15:53:42 -0400 Received: from mail.kernel.org ([198.145.29.99]:41340 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2505216AbgDNTxh (ORCPT ); Tue, 14 Apr 2020 15:53:37 -0400 Received: from pali.im (pali.im [31.31.79.79]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 43FE620767; Tue, 14 Apr 2020 19:53:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1586894017; bh=1Tfa7F6G/eHZuULvkVNU9okQUoW6vF7kPfZUtg/VEZc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=CzHa6E+EvWP+WxqXjhDcXL74Lo+64rWtuvB0IKavlw7DbBmFN8pqmS1sbnrW6kbWK QMM6m4g43bKN47R2sn01rl71ZZjb3xrddug7yxMplodLLlsbxcv5ELMnwlZN/H3HiO BB7CrvuNmbeGRtKg7jmp89iIQhvKZqMqB2F21zys= Received: by pali.im (Postfix) id 07CF1770; Tue, 14 Apr 2020 21:53:34 +0200 (CEST) Date: Tue, 14 Apr 2020 21:53:34 +0200 From: Pali =?utf-8?B?Um9ow6Fy?= To: Luiz Augusto von Dentz Cc: "linux-bluetooth@vger.kernel.org" , David Heidelberg Subject: Re: [PATCH 0/3] bluez: Export SDP "Remote audio volume control" item for HSP profile Message-ID: <20200414195334.cucssmdt3xj7lf2y@pali> References: <20200321195404.fvyku5hmcuqxt7sg@pali> <20200413162513.2221-1-pali@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716 Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hello Luiz! I have there another simple change for updating documentation: diff --git a/doc/profile-api.txt b/doc/profile-api.txt index ec18034a6..183c6c11a 100644 --- a/doc/profile-api.txt +++ b/doc/profile-api.txt @@ -16,10 +16,33 @@ Object path /org/bluez If an application disconnects from the bus all its registered profiles will be removed. + Some predefined services: + + HFP AG UUID: 0000111f-0000-1000-8000-00805f9b34fb + + Default profile Version is 1.7, profile Features + is 0b001001 and RFCOMM channel is 13. + Authentication is required. + HFP HS UUID: 0000111e-0000-1000-8000-00805f9b34fb - Default RFCOMM channel is 6. And this requires - authentication. + Default profile Version is 1.7, profile Features + is 0b000000 and RFCOMM channel is 7. + Authentication is required. + + HSP AG UUID: 00001112-0000-1000-8000-00805f9b34fb + + Default profile Version is 1.2, RFCOMM channel + is 12 and Authentication is required. Does not + support any Features, option is ignored. + + HSP HS UUID: 00001108-0000-1000-8000-00805f9b34fb + + Default profile Version is 1.2, profile Features + is 0b0 and RFCOMM channel is 6. Authentication + is required. Features is one bit value, specify + capability of Remote Audio Volume Control + (by default turned off). Available options: There is a mistake in documentation that default rfcomm channel for HFP HS profile is 6. But in reality default rfcomm channel for HFP is 7. Channel 6 is default for HSP HS profile as can be seen in src/profile.c.