Skip to contentSkip to conversation

Add mgmt interface for Erroneous Data Reporting

Bluez-PATCH Alain Michaud 2 participants 2 messages Feb 24, 2020 – Feb 26, 2020 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

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(+)
doc/mgmt-api.txt +21 -0
index 1e59acc54..953c2793d 100644
@@ -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
 ======================
 
Signature · 1 line
2.25.0.265.gbab2e86ba0-goog
#1 lore raw
Quoted 6 lines · 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.

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.

Quoted 47 lines

---

 doc/mgmt-api.txt | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
doc/mgmt-api.txt +21 -1
index 1e59acc54..953c2793d 100644
@@ -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