Re: [BlueZ PATCH v3 5/9] doc: Introduce the Set Quality Report Command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Joseph,

> Add the Set Quality Report Command in doc/mgmt-api.txt.
> 
> Signed-off-by: Joseph Hwang <josephsih@xxxxxxxxxxxx>
> ---
> 
> Changes in v3:
> - This is a new patch that introduces the Set Quality Report
>  Command.
> 
> doc/mgmt-api.txt | 33 +++++++++++++++++++++++++++++++++
> 1 file changed, 33 insertions(+)
> 
> diff --git a/doc/mgmt-api.txt b/doc/mgmt-api.txt
> index 5a32091fa..4ac84d41b 100644
> --- a/doc/mgmt-api.txt
> +++ b/doc/mgmt-api.txt
> @@ -332,6 +332,7 @@ Read Controller Information Command
> 		15	Static Address
> 		16	PHY Configuration
> 		17	Wideband Speech
> +		18	Quality Report
> 
> 	This command generates a Command Complete event on success or
> 	a Command Status event on failure.
> @@ -2924,6 +2925,7 @@ Read Extended Controller Information Command
> 		15	Static Address
> 		16	PHY Configuration
> 		17	Wideband Speech
> +		18	Quality Report
> 
> 	The EIR_Data field contains information about class of device,
> 	local name and other values. Not all of them might be present. For
> @@ -3858,6 +3860,37 @@ Add Advertisement Patterns Monitor With RSSI Threshold Command
> 				Invalid Parameters
> 
> 
> +Set Quality Report Command
> +==========================
> +
> +	Command Code:           0x0057
> +	Controller Index:       <controller id>
> +	Command Parameters:     Action (1 Octet)

	Quality_Report (1 Octet)

> +	Return Parameters:

	Current_Settings (4 Octets)

> +
> +	This command is used to enable and disable the controller's quality
> +	report feature.
> +
> +	This command requires to use a valid controller index. Otherwise,
> +	an "invalid index" status will be returned.
> +
> +	The parameter "action" can be either 0 to disable the feature or
> +	1 to enable the feature. For any values other than 0 and 1, an
> +	"invalid parameters" status will be returned.
> +
> +	If the driver does not indicate that the controller supports the
> +	quality report feature, a "not supported" status will be returned.
> +
> +	The command is sent to the controller to enable/disable the quality
> +	report feature. If the controller failed to execute the action, a
> +	"failed" status will be returned.
> +
> +	Possible errors:	Failed
> +				Invalid Index
> +				Invalid Parameters
> +				Not Supported
> +
> +

You might want to have the description a bit more in line with the others like Set Wideband Speech etc.

Regards

Marcel




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux