Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp4868656ybf; Wed, 4 Mar 2020 12:18:52 -0800 (PST) X-Google-Smtp-Source: ADFU+vvmsmqqD5g5qlCHxaRzFf3hvtOVJxAHBcqHBwEc3pVE4ax45AQlAS8Q5zQO7F5Z1xHnJzmT X-Received: by 2002:aca:5447:: with SMTP id i68mr2944220oib.31.1583353132298; Wed, 04 Mar 2020 12:18:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583353132; cv=none; d=google.com; s=arc-20160816; b=Lq49znY3ZFu5HPh9ezpHeo2sB5iTIw+FtmNJEHGWdNw90VFsaWtLTob3xFmkqubnYm ZFGep7eyrdhpgPuIInU8M3ItNRIOrvdL02/9p/jG3jGVerSISu00kvldKpDt6Pu6eW2t j2HiX/VrmcQ6y35KD+JjDnBvipKNSUq3js5KS6+EOT96JmU7dd6p2a8mJvaP0uX4hloz Z6HARTC6rW9iBWAKuVTnx7x2hwwiLGqFsozGhsw/Aoz2LzVcKofOpC/2mZMvyj8ATOow 37ESsS0QceVg3YyoZSzDrci4TG2ElwSlpOBj6jORrvSz4P1yMThh3OF8skpLhub885Wb DpUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=AJXrs3w8JO8ditzAAzBc2CkmebwXQhk9UOKlej90UCY=; b=idcOY+Gn/ioHH6mekrd7wNgFhKcefU+Rjt27mudvgj7hLBynMVpiFX6oim5jLyQx8f mfZoGs2nFRaufFDHlWwZNOzmMNGb7kfceHuccEYQvUrnIftw5eJ+uwxITY6ysOF4JTZw nAFlhKf8Hb6yOpRiJlp6DiLI18yr2srpPJo7uWfW6Pimw/to712IAknWfJFXsWivdd5Z J/uZHAjO/UzFSaWKS3kglHvEZ0tuuLzWDnc1n6fS4M8xMGSPFbBDyMvDgrULsCqrhFeQ qSSZIF1OYiCMCDeGpEdrFCZrWnfERoQZya2nm9cCChBOYqPfkb0sFZrQLz0QNLLVl8c7 KKXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=HgXJ2QsJ; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l23si2105470otj.144.2020.03.04.12.18.25; Wed, 04 Mar 2020 12:18:52 -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=@google.com header.s=20161025 header.b=HgXJ2QsJ; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727137AbgCDUSZ (ORCPT + 99 others); Wed, 4 Mar 2020 15:18:25 -0500 Received: from mail-lj1-f195.google.com ([209.85.208.195]:44168 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726440AbgCDUSZ (ORCPT ); Wed, 4 Mar 2020 15:18:25 -0500 Received: by mail-lj1-f195.google.com with SMTP id a10so3468139ljp.11 for ; Wed, 04 Mar 2020 12:18:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=AJXrs3w8JO8ditzAAzBc2CkmebwXQhk9UOKlej90UCY=; b=HgXJ2QsJICJ8V48CQN7yNfOoZxC6/9HLEQfNen+KwUV1tcrVzO5vCTJlo1B20kxUeE sR5CIKiTULV3k7VWyR9SqrPcAComKFx3/+i0WAR2F6BrHXSn04a9QevI3JS1H6seaAJd XdWPMp3h6lEXM4ah5j8hqULqsNeSXYtoiEd2v7vh/cGWVzOj/NjmytSdhIwtTWKxPhbl nXCop3gaGRDV0G+lY4PpUJKST4EQN0RlKd++GiSgLbY75UNhwB4H311anROsz2mUDhSX 73pgeWUEo8yoF4aReyYw7Eujd4OxsK4Ynq6D7Fw1nQLS5bPsgxDUxwcvDlbAmF7rnJ3X GT9w== 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; bh=AJXrs3w8JO8ditzAAzBc2CkmebwXQhk9UOKlej90UCY=; b=UqWCr7G+A0tlbjsWGlzmyHJLbN18BeDQZF0wcJJb3GJEuKebiC91ghFHaZJKOfNZY6 tYsMjN4Z7wBPZukYcmzcSFDFJkCjE9X2rjjJE1R4XzkVJu80HOjGzxrdL32gdncOsnpV vFBFuT0dPRmrHXltc3QmCnoeqPVrJixBqiipiNsNLoHnH757zau5JOmxKnmHf4jSg3gz 7gJzNIQ1yhdS8YLfsalFiepxGIWlcpgjAaJZ5z6r/wCGX384dAvY4F2E7lxFvDd52N6H ETnJb8N3VRcLYvqELGYkAPqJ9MZyC8yIGsaPgnRSkjc6QFz78pK2aiyZPDkbKt73pVBh KDww== X-Gm-Message-State: ANhLgQ15oFvZT8/aDJufNp2yfNhGaD1vR3fbYfYzBoP3Htri9QhoIZkA HOBiTfFeQSh7t0tFD5zfhyMc51ATaPmcqfKb9dFFFJyw X-Received: by 2002:a2e:890b:: with SMTP id d11mr3151304lji.79.1583353102578; Wed, 04 Mar 2020 12:18:22 -0800 (PST) MIME-Version: 1.0 References: <20200304173249.66324-1-alainm@chromium.org> <1990C7E4-CB11-48A5-B07D-A06A94FB73EC@holtmann.org> In-Reply-To: <1990C7E4-CB11-48A5-B07D-A06A94FB73EC@holtmann.org> From: Alain Michaud Date: Wed, 4 Mar 2020 15:18:11 -0500 Message-ID: Subject: Re: [BlueZ PATCH v1] Adding definitions for Wide Band Speech configuration To: Marcel Holtmann Cc: Alain Michaud , BlueZ Content-Type: text/plain; charset="UTF-8" Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Marcel Thanks, I will rebase and send a v2 with just the header changes. Thanks, Alain On Wed, Mar 4, 2020 at 1:37 PM Marcel Holtmann wrote: > > Hi Alain, > > > This change adds the corresponding user space definition for wide band > > speech. > > > > --- > > > > doc/mgmt-api.txt | 30 ++++++++++++++++++++++++++++++ > > lib/mgmt.h | 5 ++++- > > 2 files changed, 34 insertions(+), 1 deletion(-) > > > > diff --git a/doc/mgmt-api.txt b/doc/mgmt-api.txt > > index 5c23268a1..ecdfd9b95 100644 > > --- a/doc/mgmt-api.txt > > +++ b/doc/mgmt-api.txt > > @@ -3052,6 +3052,36 @@ Load Blocked Keys Command > > Possible errors: Invalid Parameters > > Invalid Index > > > > +Set Wide Band Speech Command > > +====================== > > + > > + Command Code: 0x0047 > > + Controller Index: > > + Command Parameters: wide_band_speech_enabled (1 Octet) > > + Return Parameters: Current_Settings (4 Octets) > > + > > + This command is used to enable/disable Wide Band Speech support for a > > + controller. The allowed values of the wide_band_speech_enabled command > > + parameter are 0x00 and 0x01. All other values will return > > + Invalid Parameters. > > + > > + This command is only available for Wide Band Speech capable controllers and > > + will yield in a Not Supported error otherwise. > > + > > + This command can be used when the controller is not powered and > > + all settings will be programmed once powered. > > + > > + In case the kernel subsystem does not support Wide Band Speech or the > > + controller does not either, the command will fail regardless. > > + > > + This command generates a Command Complete event on success or > > + a Command Status event on failure. > > + > > + Possible errors: Busy > > + Not Supported > > + Invalid Parameters > > + Invalid Index > > + > > I already committed the mgmt-api.txt change since I was fixing a few things in the document. > > Regards > > Marcel >