Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp158397ybz; Wed, 15 Apr 2020 06:24:20 -0700 (PDT) X-Google-Smtp-Source: APiQypL+KP8HuCq2R7vwcd2jJiKbByzJuqxzYbgOPsHu5JMekGvrqv0WVAurj26byVGIZ1VXZ9Vv X-Received: by 2002:a17:906:5958:: with SMTP id g24mr5194952ejr.58.1586957060663; Wed, 15 Apr 2020 06:24:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586957060; cv=none; d=google.com; s=arc-20160816; b=VSO6tj568WDairYJDrlVklzqgJG5h64Tz5vxOFYRZXRaKqrtQWitSB7l9yHuqSp//5 UCEzEOQ70QvE9urZ2x/nF28vChpRjNA9vnwmTGynJ7HF620VxGf0H3BTBdvZIopfTM3T SwWTGec6Ck2sS8SQmVgmISq7IpEYPqGJOv5fJpEHQ0bxxVP7d4iWij5dDF/Av6+WqMNZ 0JPWhBBwCShMLoiORcxda22FYYeWPCwFfiEC29EYR4DKjkkh8mZOgk6M9HsWG6wEBkXT 72Bwx/QrnNcrZxDoBfElkLxPsqROdYoaB2CltRbsWKyr2J39G5YoMZktwcc8InI4UP21 MJ2g== 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=oHLK6jbVxYzy/ZM8Uos9+t0W+iDGilP/t5XQ+FmCEoE=; b=M/9sgvXNHUOq75YTZKZHv36FkyPXg513MBiKUFz67bn3L1RXQveF4MP+4eG9m55QLj dM43DgXoRrA8pnxAtHvtEh5XZOltlrfF0cQeFGXBXae0HY4YCbTf/MAvQpbNKoEGZY9g IwdAoIzhgHplTQsP/mo/8mwNr2jh0hzwGGQqxlIjFNZW7ecTUCUjtwwj824c61026hoP nBxi336rrHBjyUyfeqBUnACkIKgGmsc4uz413Szv3BixPX6iQUeAdH27HEAIQOPRrZ+8 WW7PJiTzfyrfaMs+IB6mImznxFT0Jiofw2QK5buVWKuB6xvQXDDCeYkrBPKPJKiDz1tB Pt4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=aZcVo5Xp; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s15si10859819edi.410.2020.04.15.06.23.53; Wed, 15 Apr 2020 06:24:20 -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=@gmail.com header.s=20161025 header.b=aZcVo5Xp; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731099AbgDNU2p (ORCPT + 99 others); Tue, 14 Apr 2020 16:28:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38586 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S2633098AbgDNU2e (ORCPT ); Tue, 14 Apr 2020 16:28:34 -0400 Received: from mail-oi1-x242.google.com (mail-oi1-x242.google.com [IPv6:2607:f8b0:4864:20::242]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D3BA4C061A0C for ; Tue, 14 Apr 2020 13:28:33 -0700 (PDT) Received: by mail-oi1-x242.google.com with SMTP id d7so6573347oif.9 for ; Tue, 14 Apr 2020 13:28:33 -0700 (PDT) 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=oHLK6jbVxYzy/ZM8Uos9+t0W+iDGilP/t5XQ+FmCEoE=; b=aZcVo5XpjoYIgpepLN9t7xsYVXtNf+Y6vGt0efNUKWzACUT0mV2VcxpOLD9ja+5kB/ USYaBxHHhX6uG+n4YSbvbc9Bid848/zDQylyPjHMSIQy5TFiYBMjGf+jMbCnTF5m23bF E00yMlf6rNHNkzUUELw9/1dF7WpR1JKv0q2aBKZyEwOYbaGI9JhF60t31ez5fn7A2UrD xv6uqeBx5nD23h1BeeK7EBAK5Ir/2+5SI1kI+X2+tYwL1ub2Bv27OY5Y73UEGaWBc3JV S2QDfbn98yAmZ7lVPEB+ImR/nXYAUAs4QMnhrtwxpaZSDSXEIf+wgvGeFzOsI6qzMSv5 5Suw== 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=oHLK6jbVxYzy/ZM8Uos9+t0W+iDGilP/t5XQ+FmCEoE=; b=lrwf9f+PTUYAvi0y9o4tPt7uG12CymTFsPXCVf//RycJrbtxHx1qIRv1peUZSdfkey EX62BaKe2vVY9CvUJ1jR7ztDZZiKiSPe4bmrqSwjcwKtkqoip3rVNZY2MeUzWZMbRb2b Rv5R5C7VltScpM+2GQw98HbSO0z/49RbBmfJQz+744MLlOB2ebd4kwy9aUcKwHEKIXMN DP735oOFaGOqsTQEB/lbTxMEbWQUCqnKTLnPRgCRJPC91z190Za3k66oSt/vzPYigg6R dH0J5yEJZFMvh8zSNP4bjzrcsksqr/jFEhsWmOZDhPkkohMF51SgdwEfyA+vRMNQDdBr kXVg== X-Gm-Message-State: AGi0PuYepglK1cKqYyXKqU/GqpH9eimwIDATc1XjtO6uzahZdK+cH7Sv ifJTwQVJ9d7UsGe7JzaFloOR1BxMsoZONT7hDWA= X-Received: by 2002:aca:db8a:: with SMTP id s132mr6953867oig.110.1586896113014; Tue, 14 Apr 2020 13:28:33 -0700 (PDT) MIME-Version: 1.0 References: <20200321195404.fvyku5hmcuqxt7sg@pali> <20200413162513.2221-1-pali@kernel.org> <20200414195334.cucssmdt3xj7lf2y@pali> In-Reply-To: <20200414195334.cucssmdt3xj7lf2y@pali> From: Luiz Augusto von Dentz Date: Tue, 14 Apr 2020 13:28:19 -0700 Message-ID: Subject: Re: [PATCH 0/3] 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" , David Heidelberg 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, Can you send a proper patch adding these, have you changed the code already to use channel 7? On Tue, Apr 14, 2020 at 12:53 PM Pali Roh=C3=A1r wrote: > > 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 F= eatures > + 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 req= uires > - authentication. > + Default profile Version is 1.7, profile F= eatures > + 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 ch= annel > + is 12 and Authentication is required. Doe= s not > + support any Features, option is ignored. > + > + HSP HS UUID: 00001108-0000-1000-8000-00805f9b34fb > + > + Default profile Version is 1.2, profile F= eatures > + is 0b0 and RFCOMM channel is 6. Authentic= ation > + is required. Features is one bit value, s= pecify > + 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. --=20 Luiz Augusto von Dentz