Diff between f977eb5c9807f3234392e27ee3e10c0fcb101450 and 8dfab692fe8e6c6c9d06026bca6757bb6cacde4e

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 04c0b7c..bed8caf 100644
--- a/android/hal-ipc-api.txt
+++ b/android/hal-ipc-api.txt
@@ -1950,6 +1950,11 @@ Android HAL name: "gatt" (BT_PROFILE_GATT_ID)
 		                         Server Interface (4 octets)
 
 	Opcode 0x93 - Register Server notification
+
+		Notification parameters: Status (4 octets)
+		                         Server (4 octets)
+		                         UUID (16 octets)
+
 	Opcode 0x94 - Connection notification
 	Opcode 0x95 - Service Added notification
 	Opcode 0x96 - Included Service Added notification
diff --git a/android/hal-msg.h b/android/hal-msg.h
index e8f26dd..5795951 100644
--- a/android/hal-msg.h
+++ b/android/hal-msg.h
@@ -1386,3 +1386,10 @@ struct hal_ev_gatt_client_listen {
 	int32_t status;
 	int32_t server_if;
 } __attribute__((packed));
+
+#define HAL_EV_GATT_SERVER_REGISTER		0x93
+struct hal_ev_gatt_server_register {
+	int32_t status;
+	int32_t server_if;
+	uint8_t uuid[16];
+} __attribute__((packed));