Diff between c3b30229bf656afbc63a37bafaa01d9fa072bf3a and 5f77a85d552339dfa3216138cf8a20fbedc43944

Changed Files

File Additions Deletions Status
android/hal-ipc-api.txt +5 -0 modified
android/hal-msg.h +7 -0 modified

Full Patch

diff --git a/android/hal-ipc-api.txt b/android/hal-ipc-api.txt
index 1a19c80..58c05a9 100644
--- a/android/hal-ipc-api.txt
+++ b/android/hal-ipc-api.txt
@@ -1797,6 +1797,11 @@ Android HAL name: "gatt" (BT_PROFILE_GATT_ID)
 		In case of an error, the error response will be returned.
 
 	Opcode 0x81 - Register Client notification
+
+		Notification parameters: Status (4 octets)
+		                         Client Interface (4 octets)
+		                         UUID (16 octets)
+
 	Opcode 0x82 - Scan Result notification
 	Opcode 0x83 - Connect Device notification
 	Opcode 0x84 - Disconnect Device notification
diff --git a/android/hal-msg.h b/android/hal-msg.h
index 1e12868..0b58658 100644
--- a/android/hal-msg.h
+++ b/android/hal-msg.h
@@ -1224,3 +1224,10 @@ struct hal_ev_avrcp_passthrough_cmd {
 	uint8_t id;
 	uint8_t state;
 } __attribute__((packed));
+
+#define HAL_EV_GATT_CLIENT_REGISTER_CLIENT	0x81
+struct hal_ev_gatt_client_register_client {
+	int32_t status;
+	int32_t client_if;
+	uint8_t app_uuid[16];
+} __attribute__((packed));