2020-02-24 15:20:16

by Alain Michaud

[permalink] [raw]
Subject: [Bluez-PATCH] Add mgmt interface for Erroneous Data Reporting

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


2020-02-26 20:42:04

by Alain Michaud

[permalink] [raw]
Subject: Re: [Bluez-PATCH] Add mgmt interface for Erroneous Data Reporting

On Mon, Feb 24, 2020 at 10:19 AM Alain Michaud <[email protected]> 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
>