OSDN Git Service

android: Define class of device as four bytes in IPC doc
authorSzymon Janc <szymon.janc@tieto.com>
Tue, 29 Oct 2013 11:52:38 +0000 (12:52 +0100)
committerJohan Hedberg <johan.hedberg@intel.com>
Tue, 29 Oct 2013 12:11:27 +0000 (14:11 +0200)
For PIN and SSP requests callback define CoD as 4 bytes. This will
allow HAL library to pass CoD direclty to callback. Will also match
how CoD is passed as property.

android/hal-ipc-api.txt

index dc0d067..e7af8a3 100644 (file)
@@ -354,13 +354,13 @@ Notifications:
 
                Notification parameters: Remote address (6 octets)
                                         Remote name (249 octets)
-                                        Class of device (3 octets)
+                                        Class of device (4 octets)
 
        Opcode 0x87 - SSP Request notification
 
                Notification parameters: Remote address (6 octets)
                                         Remote name (249 octets)
-                                        Class of device (3 octets)
+                                        Class of device (4 octets)
                                         Pairing variant (1 octet)
                                         Passkey (4 octets)