Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCHv2 1/4] android/hal-ipc-api: Update HidHost with Android 5 API
@ 2014-11-20 11:18 Jakub Tyszkowski
  2014-11-20 11:18 ` [PATCHv2 2/4] android/hal: Update HidHost HAL for Android 5 Jakub Tyszkowski
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Jakub Tyszkowski @ 2014-11-20 11:18 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Jakub Tyszkowski

---
 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)
-- 
1.9.1


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

end of thread, other threads:[~2014-11-20 15:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-20 11:18 [PATCHv2 1/4] android/hal-ipc-api: Update HidHost with Android 5 API Jakub Tyszkowski
2014-11-20 11:18 ` [PATCHv2 2/4] android/hal: Update HidHost HAL for Android 5 Jakub Tyszkowski
2014-11-20 11:18 ` [PATCHv2 3/4] android/hid: Support handshake message Jakub Tyszkowski
2014-11-20 11:18 ` [PATCHv2 4/4] android/client: Add handshake callback Jakub Tyszkowski
2014-11-20 15:23 ` [PATCHv2 1/4] android/hal-ipc-api: Update HidHost with Android 5 API Szymon Janc

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox