Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp4787307ybf; Wed, 4 Mar 2020 10:38:36 -0800 (PST) X-Google-Smtp-Source: ADFU+vuHVcJnkmnsvvDxNVYscRvi+7PHtaA5TbIjvwBTDbzUHAE6PbSEqiOIL5OzeCnfavcVLhp8 X-Received: by 2002:aca:a98a:: with SMTP id s132mr2619158oie.141.1583347116526; Wed, 04 Mar 2020 10:38:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583347116; cv=none; d=google.com; s=arc-20160816; b=bx6YHuIB6UWaeuhdPWIIIz+z5GWLLui81Ap8ng8WWI5UoYfJuuUSQn/B3hhTwAKMbX angLM4HISU+2U0GAqocePOOYjQ6e9MtSh6bbjjFt6H/WXFeS6QqRsk/6YJJJ42e3s6GA rsW+fy6LuOttd/TR+0uCwBDNLFQ1ed+miOx8Gos44uUb4Nv4jCyU/mcLh2DkDOhcHkFU xnEvjPDUxwrWGbdpYWteZ+Sg1oP4MbvNdbo7SJZCg7jft5bY+TkGswEHF2g4SGf9QogX 9+lGUGZXd4fDy9ehZ4ZMiSusEoisfakCT/pv774/l2lRp2V6iHrPYm4M65Poppj6y+sy 4nJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version; bh=apjYV3BzLzYOlbG0ANMw6ZvPuKmaN3YhHo4vjk4a3Jg=; b=xyfNruTlEivFgqs6FmERm79AD3f54uLFpzks6MHy+THu/TkvDv/BCXHnMeBXoS56MZ FPngEve3M0T4xsqdUr6BP+jkc/QBOPLWbKLS+SZ2ffiB31G3dCC8SI7fePi9YGcIdIBH nUyDwAK1WFLlCnAse7mDWBzETK0+c8ymRNX9jkSoB5zD9FfilFxZo216tBsjc8liY4Rb Sp+MTN/1/L05VsHC+RFpFuwjQd1x1eUC3PYwsXhaUh4BD98G/PpJrIdra6wXP6QS2QZ4 g/B74VOUXBUDxxlQryVUadnfxb18/99qRKNNIlJSMGuXFH+PZiAXMdlhEL1wcSEcAU9/ gY1w== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t25si1710642otm.71.2020.03.04.10.38.23; Wed, 04 Mar 2020 10:38:36 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729675AbgCDSg7 convert rfc822-to-8bit (ORCPT + 99 others); Wed, 4 Mar 2020 13:36:59 -0500 Received: from coyote.holtmann.net ([212.227.132.17]:45966 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730167AbgCDSg7 (ORCPT ); Wed, 4 Mar 2020 13:36:59 -0500 Received: from marcel-macbook.fritz.box (p4FEFC5A7.dip0.t-ipconnect.de [79.239.197.167]) by mail.holtmann.org (Postfix) with ESMTPSA id 97063CECE1; Wed, 4 Mar 2020 19:46:25 +0100 (CET) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.60.0.2.5\)) Subject: Re: [BlueZ PATCH v1] Adding definitions for Wide Band Speech configuration From: Marcel Holtmann In-Reply-To: <20200304173249.66324-1-alainm@chromium.org> Date: Wed, 4 Mar 2020 19:36:57 +0100 Cc: linux-bluetooth@vger.kernel.org Content-Transfer-Encoding: 8BIT Message-Id: <1990C7E4-CB11-48A5-B07D-A06A94FB73EC@holtmann.org> References: <20200304173249.66324-1-alainm@chromium.org> To: Alain Michaud X-Mailer: Apple Mail (2.3608.60.0.2.5) Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org 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