summaryrefslogtreecommitdiff
path: root/android/hal-ipc-api.txt
diff options
context:
space:
mode:
authorJakub Tyszkowski <jakub.tyszkowski@tieto.com>2014-11-20 12:18:48 +0100
committerSzymon Janc <szymon.janc@tieto.com>2014-11-20 16:09:56 +0100
commit0c2f9d6bf898b1588efa624b047a63affd6212e0 (patch)
treec0a68eeed5623d5e8043d55fabeb3e9b3feb0d81 /android/hal-ipc-api.txt
parent3237dd609ed48c98c99bfc31e511c4dd04277ded (diff)
downloadbluez-0c2f9d6bf898b1588efa624b047a63affd6212e0.tar.gz
android/hal-ipc-api: Update HidHost with Android 5 API
Diffstat (limited to 'android/hal-ipc-api.txt')
-rw-r--r--android/hal-ipc-api.txt38
1 files changed, 24 insertions, 14 deletions
diff --git a/android/hal-ipc-api.txt b/android/hal-ipc-api.txt
index 67a620558..efcd3cf7e 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)