Diff between 3237dd609ed48c98c99bfc31e511c4dd04277ded and 0c2f9d6bf898b1588efa624b047a63affd6212e0

Changed Files

File Additions Deletions Status
android/hal-ipc-api.txt +24 -14 modified

Full Patch

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)