Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp265184ybf; Wed, 26 Feb 2020 12:42:04 -0800 (PST) X-Google-Smtp-Source: APXvYqwuzDZY8z2iwkcAjJc6WYx3xI6AxYUrO4OpPyen1f4wyGy5E6sZ9IF8tSC84x+z0WpEQ0ke X-Received: by 2002:a9d:798e:: with SMTP id h14mr465605otm.257.1582749724705; Wed, 26 Feb 2020 12:42:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582749724; cv=none; d=google.com; s=arc-20160816; b=Hp93zA4TiC3ILgcjHK3P2SLaZWdhHiJvQUfCbRSzXiANNncGJFe3sthFuEsxUc0U5h YluVZY0MbwqnVU9xO12G6zid3Dc9z7ANNg5P4Qw+z4RJ9BRLylhNaTB0/lyDTr2pDOm8 VyUhRC4EE6I7itj9nqo5EaT3Rq0IodQWtHegduuurPFWOf9dkFtiDbn1WTpwesN0LjOX BzBKhwBRqQQqv7tsYLaXXy5+bSS3TpNhHx4V9qlULd2ixPaOHPexYFEOqXuBWwUUplzT D/e6YGqvKPOdtT8BAcX0uVEJVC7/RjSEb7HYcK5Dk/4CRrw3BvSv26KTSaNZamqAcEky dKGw== 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=RgFkbxcVJcwLzLpd7KnVVQMOrDO22hFhKkLIs9IHl7w=; b=f5hq49RvA9yDBJWm03CvRk+xs6S7qoWVj1CBmWV8Ao/wXreObf65Ed+VqtoSVQY+Rq ZFLklvBMuQRKKDzLcxrzXetmMpoDj6DrFvYqTAnv7kRNMDOAMH+meO+gAc6ZayFrND9y 2JB/mgdHHg6nC2MGVwyVijQ11w4l7VwNnwt/f9GzLgGpkFVOuj2PrlR0cC/+NbhPHC+9 icJm/Frsznadkc0Cj/qGr1A8vIt8myBXFBBia62nrDEVI7VMY1XNjYHNpT3nk8z7m6aE pJGi03rDXj2OPmEaFUugvCx27K5PJBAlr9RmWE+umcdN517oEqGbqJoBxamlVMxwRCk4 XKVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=jqP9VdmE; 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 i15si329405otk.120.2020.02.26.12.41.36; Wed, 26 Feb 2020 12:42:04 -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=jqP9VdmE; 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 S1727379AbgBZUkJ (ORCPT + 99 others); Wed, 26 Feb 2020 15:40:09 -0500 Received: from mail-lf1-f65.google.com ([209.85.167.65]:40929 "EHLO mail-lf1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727338AbgBZUkI (ORCPT ); Wed, 26 Feb 2020 15:40:08 -0500 Received: by mail-lf1-f65.google.com with SMTP id c23so333360lfi.7 for ; Wed, 26 Feb 2020 12:40:07 -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=RgFkbxcVJcwLzLpd7KnVVQMOrDO22hFhKkLIs9IHl7w=; b=jqP9VdmEf/4C2G0sEQEyyV1OClgM8gGgBYsNAzVsYKt+DRlRu2vPUqu2CjJtBm4x5N h9QJszQH9TqzCMcyxaZF/OzK9XF5xX8h+SAM1VunvyssfZPyHuDeWyi8GmiE0zlDOiVu aARHkAkvrGk2ytVche43e7a6ITr/Kb+tc3FV5/HkADTHjZdcr/V5HpP2hJB+2MtoQIHW z31ZzMvT5EPUc3eynd2+UgLwDjl38x+gpBkXA1e14sJF0S5ozTq5G1A4TNOVOcwoYMQ4 cxN5hiaUiCZJ2YpEZXOJ0mNGmoCVCTOM35lKdrCj/FI5vKH7wuVAa++SHmVWmUMnBj2X 4V6A== 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=RgFkbxcVJcwLzLpd7KnVVQMOrDO22hFhKkLIs9IHl7w=; b=UCORMN9P1m9JrAeAvWFvtV6jPg7y9kfW12zuXXADNyS9YrN15UlzPNyzSMYsBecyDx PxLHNMkC5vC3+Qz9hdCRy/4ST+6+w7qNe7xw2wR33MUgPhXX8N9syxhyJQXtW7q5bCkj kD+7erQZPm9Ul4kvj59FrzoaRXjJag8N4TpPrryitSAsA/gp6m6eiGBQY5I+qOpyUHWk BqZhG9jPL7EfCSzUyoW/C3N0wYJIjLfu1r5+uO7c0i0icpBMOEgxBXGqeE31NhzkiGKj VhyFpKYFdg/YSoxLDhb3gZs1u4NHJ40vSpBwNp5k62ZBJ58OqT1TmQnVY2g/aVRBcA/u QyTw== X-Gm-Message-State: ANhLgQ3soQ7xl26eGopXC6t2YKgYoa3GVwsFwV3cJYb/bAdpBAA9TUhX fNglTGrRTqYNDHUV2n4IwrXtM7nujJ9MN6J2WZfBEg== X-Received: by 2002:a19:5e5b:: with SMTP id z27mr219630lfi.129.1582749606309; Wed, 26 Feb 2020 12:40:06 -0800 (PST) MIME-Version: 1.0 References: <20200224151935.169330-1-alainm@chromium.org> In-Reply-To: <20200224151935.169330-1-alainm@chromium.org> From: Alain Michaud Date: Wed, 26 Feb 2020 15:39:54 -0500 Message-ID: Subject: Re: [Bluez-PATCH] Add mgmt interface for Erroneous Data Reporting To: Alain Michaud Cc: 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 On Mon, Feb 24, 2020 at 10:19 AM Alain Michaud wrote: > > This change adds the MGMT definition to support Errorneout Data > Reporting. This allows higher level application to query and set the > Erroneous data reporting feature of the controller. In particular, this > can be used by an audio subsystem to support wideband speech. > After further consideration, it is believed that this MGMT may not be necessary and instead rely on the driver's indication of Wideband speech capability to unconditionally enable erroneous data reporting. This patch can be abandoned. > --- > > doc/mgmt-api.txt | 21 +++++++++++++++++++++ > 1 file changed, 21 insertions(+) > > diff --git a/doc/mgmt-api.txt b/doc/mgmt-api.txt > index 1e59acc54..953c2793d 100644 > --- a/doc/mgmt-api.txt > +++ b/doc/mgmt-api.txt > @@ -307,6 +307,7 @@ Read Controller Information Command > 13 Privacy > 14 Controller Configuration > 15 Static Address > + 16 Erroneous Data Reporting > > This command generates a Command Complete event on success or > a Command Status event on failure. > @@ -3048,6 +3049,26 @@ Load Blocked Keys Command > Invalid Index > > > +Set Erroneous Data Reporting Command > +======================= > + > + Command Code: 0x0047 > + Controller Index: > + Command Parameters: ErroneousDataReporting (1 Octet) > + Return Parameters: > + > + This command is used to set the Erroneous Data Reporting property of > + a controller. The allowed Connectable command parameter values are > + 0x00 and 0x01. All other values will return Invalid Parameters. > + > + 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 > + > Command Complete Event > ====================== > > -- > 2.25.0.265.gbab2e86ba0-goog >