Re: [PATCHv2 1/4] android/hal-ipc-api: Update HidHost with Android 5 API

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

 



Hi Jakub,

On Thursday 20 of November 2014 12:18:48 Jakub Tyszkowski wrote:
> ---
>  android/hal-ipc-api.txt | 38 ++++++++++++++++++++++++--------------
>  1 file changed, 24 insertions(+), 14 deletions(-)
> 
> diff --git a/android/hal-ipc-api.txt b/android/hal-ipc-api.txt
> index 67a6205..efcd3cf 100644
> --- a/android/hal-ipc-api.txt
> +++ b/android/hal-ipc-api.txt
> @@ -599,6 +599,23 @@ Commands and responses:
>  
>  Notifications:
>  
> +	Status is common for many notifications and has fixed value range:
> +
> +		Status values: 0x00 = Ok
> +		               0x01 = Handshake - Device not ready
> +		               0x02 = Handshake - Invalid report ID
> +		               0x03 = Handshake - Transaction not SPT
> +		               0x04 = Handshake - Invalid parameter
> +		               0x05 = Handshake - Generic error
> +		               0x06 = General error
> +		               0x07 = SDP error
> +		               0x08 = Set protocol error
> +		               0x09 = Device database full
> +		               0x0a = Device type not supported
> +		               0x0b = No resources
> +		               0x0c = Authentication failed
> +		               0x0d = HDL
> +
>  	Opcode 0x81 - Connection State notification
>  
>  		Notification parameters: Remote address (6 octets)
> @@ -656,20 +673,13 @@ Notifications:
>  		Notification parameters: Remote address (6 octets)
>  		                         Status (1 octet)
>  
> -		Valid status values: 0x00 = Ok
> -		                     0x01 = Handshake - Device not ready
> -		                     0x02 = Handshake - Invalid report ID
> -		                     0x03 = Handshake - Transaction not SPT
> -		                     0x04 = Handshake - Invalid parameter
> -		                     0x05 = Handshake - Generic error
> -		                     0x06 = General error
> -		                     0x07 = SDP error
> -		                     0x08 = Set protocol error
> -		                     0x09 = Device database full
> -		                     0x0a = Device type not supported
> -		                     0x0b = No resources
> -		                     0x0c = Authentication failed
> -		                     0x0d = HDL
> +	Opcode 0x87 - Handshake notification
> +
> +		Notification parameters: Remote address (6 octets)
> +		                         Status (1 octet)
> +
> +		Only status values from 0x00 to 0x05 are valid as handshake
> +		status.
>  
>  
>  Bluetooth PAN HAL (ID 4)

All patches applied, thanks. 

-- 
Best regards, 
Szymon Janc
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[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