Diff between 8dfab692fe8e6c6c9d06026bca6757bb6cacde4e and 67584deb497fc67d9b3692adf747ff0b6ec9639f

Changed Files

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

Full Patch

diff --git a/android/hal-ipc-api.txt b/android/hal-ipc-api.txt
index bed8caf..70dfb90 100644
--- a/android/hal-ipc-api.txt
+++ b/android/hal-ipc-api.txt
@@ -1956,6 +1956,12 @@ Android HAL name: "gatt" (BT_PROFILE_GATT_ID)
 		                         UUID (16 octets)
 
 	Opcode 0x94 - Connection notification
+
+		Notification parameters: Connection ID (4 octets)
+		                         Server (4 octets)
+		                         Connected (4 octets)
+		                         Address (6 octets)
+
 	Opcode 0x95 - Service Added notification
 	Opcode 0x96 - Included Service Added notification
 	Opcode 0x97 - Characteristic Added notification
diff --git a/android/hal-msg.h b/android/hal-msg.h
index 5795951..68b7fa9 100644
--- a/android/hal-msg.h
+++ b/android/hal-msg.h
@@ -1393,3 +1393,11 @@ struct hal_ev_gatt_server_register {
 	int32_t server_if;
 	uint8_t uuid[16];
 } __attribute__((packed));
+
+#define HAL_EV_GATT_SERVER_CONNECTION		0x94
+struct hal_ev_gatt_server_connection {
+	int32_t conn_id;
+	int32_t server_if;
+	int32_t connected;
+	uint8_t bdaddr[6];
+} __attribute__((packed));