Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp170862ybz; Wed, 15 Apr 2020 06:37:36 -0700 (PDT) X-Google-Smtp-Source: APiQypKXELxhYh29ERkDrIwusyNZgWusnfV4rTWcKla8j/+bPBguwH0kwdktwLip7QDySwU1IFkG X-Received: by 2002:a17:906:ad9a:: with SMTP id la26mr5043856ejb.128.1586957856567; Wed, 15 Apr 2020 06:37:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586957856; cv=none; d=google.com; s=arc-20160816; b=OZ+2avgfl89Ps26H2cKAUiF+p/VvewRss76yB9e60KOE/tyE+Sf0JLXEWZ3YnzUxAu F9i3OQeLDKDitg0DIUNZNWPw3dwJoXDtqHr680OLkvP5ARRSGA8YTK+abPSJ4fxEUAdQ EGv/rjKHYLWXQuktMQ7gnj8j5Dwh/UUMZLyaT8PRns151jOgM2gvF64QZYOzR6PRBnEv IQ7NX4iE1zlFtWnCyViYehr+ZPUNpglIfnVnkH2OCJzOGMlI5hhGQbiE1vTeZ3q3HGOE TG92ELxVO4+A302TNytxQ/e4BRQTCXYrXjVcTLv36U0uPvfT0xBwASsSa45IeDcPQQfi VMRQ== 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:mime-version :references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=UbwbXMb9+s1SUuwEQuh8zSjA11wqCU+B4AgvBFK0zng=; b=G/QTR2nHA8M3Qap9kxf7kE4Hvp0EqvBGkUPA587oOR6prR2bqPRRPtjhpZ8uyif8ap f138k7cVQG0JPQFM9KURd2HClCnNKmHIqBCOIYId8jbw2BcIy6nnOS3/U/+Lo01JSru/ d3dtUDEGfnktQ2AaKdkaky5wyo559VuJKb4QcXwLatT4/6s28JM+NBiadFd42hO/rFf6 CN43EwOxDkoP09xjCodwYArnDFWzuSi+FNoyi3WqFJeatotas/fTdPC8nOAy1McnuGZO zSl6VWpuvKY2VJJiZzBbKQCqkyUZkfotJdGOiPXb8hY0ZO3SUk7CRczU59a4POjyUftN VPyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="h+/qRCj9"; 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 sa4si11094603ejb.69.2020.04.15.06.37.03; Wed, 15 Apr 2020 06:37:36 -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="h+/qRCj9"; 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 S2633343AbgDNUqV (ORCPT + 99 others); Tue, 14 Apr 2020 16:46:21 -0400 Received: from mail.kernel.org ([198.145.29.99]:56560 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729251AbgDNUqU (ORCPT ); Tue, 14 Apr 2020 16:46:20 -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 206622064A; Tue, 14 Apr 2020 20:46:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1586897180; bh=a+xZOQRukeq33gh1DtCHXa4pGrhdEzvufrkWxoH6f30=; h=From:To:Subject:Date:In-Reply-To:References:From; b=h+/qRCj9rJ9tcSbC31ZSPLuHINxO1xbpPRfHKsPacKlF8b15UTNuBYMYL2L7ds2Ja RpUT0HawaDjp5lUDa8lsNivrwmm2QBMJ41YuaYMmVu5zdjq3KAsGHnKrUrrxXemePM /qIe5lLzDUn+KzcFZToO7MFJr5ba964FsX5f1kZw= Received: by pali.im (Postfix) id 1B9F6770; Tue, 14 Apr 2020 22:46:18 +0200 (CEST) From: =?UTF-8?q?Pali=20Roh=C3=A1r?= To: Luiz Augusto von Dentz , linux-bluetooth@vger.kernel.org, David Heidelberg Subject: [PATCH] doc: Update documentation for HSP and HFP profiles Date: Tue, 14 Apr 2020 22:46:02 +0200 Message-Id: <20200414204602.29215-1-pali@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Fix information about default rfcomm channel number in HFP HS role (it is 7, not 6) and add documentation about default values. --- doc/profile-api.txt | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/doc/profile-api.txt b/doc/profile-api.txt index ec18034..183c6c1 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: -- 2.20.1