linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bluez-PATCH] Add mgmt interface for Erroneous Data Reporting
@ 2020-02-24 15:19 Alain Michaud
  2020-02-26 20:39 ` Alain Michaud
  0 siblings, 1 reply; 2+ messages in thread
From: Alain Michaud @ 2020-02-24 15:19 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Alain Michaud

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.

---

 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:	<controller id>
+	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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Bluez-PATCH] Add mgmt interface for Erroneous Data Reporting
  2020-02-24 15:19 [Bluez-PATCH] Add mgmt interface for Erroneous Data Reporting Alain Michaud
@ 2020-02-26 20:39 ` Alain Michaud
  0 siblings, 0 replies; 2+ messages in thread
From: Alain Michaud @ 2020-02-26 20:39 UTC (permalink / raw)
  To: Alain Michaud; +Cc: BlueZ

On Mon, Feb 24, 2020 at 10:19 AM Alain Michaud <alainm@chromium.org> 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:       <controller id>
> +       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
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-02-26 20:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-24 15:19 [Bluez-PATCH] Add mgmt interface for Erroneous Data Reporting Alain Michaud
2020-02-26 20:39 ` Alain Michaud

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).