From patchwork Tue Apr 14 20:46:02 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Pali_Roh=C3=A1r?= X-Patchwork-Id: 11489219 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7B888186E for ; Tue, 14 Apr 2020 20:46:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 620942064A for ; Tue, 14 Apr 2020 20:46:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1586897191; bh=a+xZOQRukeq33gh1DtCHXa4pGrhdEzvufrkWxoH6f30=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=FX/R08iWzNdo4HN52xesFQDbWmSSREyfU4aG4mMf582UVskiSDc6BqhRgpySbQpfu 0lmp8mxkphvBhIkJVdGDxo/4q89Ku8n6a5coos6q0C0i93DJe1zOexoQlGAclqB/DA 7wfcvt2nZa8OpthVoCQhDThM8QXICZadDB9L/hrM= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2633359AbgDNUqV (ORCPT ); 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_Roh=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 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: