Diff between ab688aa2ed0ca833307f82a1fd40fa9b41e4f81b and 016a5ddd4b315f95ab2991bb6d37fa4482d1c8f0

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 8bf8af6..116dfba 100644
--- a/android/hal-ipc-api.txt
+++ b/android/hal-ipc-api.txt
@@ -2005,6 +2005,11 @@ Android HAL name: "gatt" (BT_PROFILE_GATT_ID)
 		                         Service Handle (4 octets)
 
 	Opcode 0x9a - Service Stopped notification
+
+		Notification parameters: Status (4 octets)
+		                         Server (4 octets)
+		                         Service Handle (4 octets)
+
 	Opcode 0x9b - Service Deleted notification
 	Opcode 0x9c - Request Read notification
 	Opcode 0x9d - Request Write notification
diff --git a/android/hal-msg.h b/android/hal-msg.h
index 9978343..30dbe72 100644
--- a/android/hal-msg.h
+++ b/android/hal-msg.h
@@ -1442,3 +1442,10 @@ struct hal_ev_gatt_server_service_started {
 	int32_t server_if;
 	int32_t srvc_handle;
 } __attribute__((packed));
+
+#define HAL_EV_GATT_SERVER_SERVICE_STOPPED	0x9a
+struct hal_ev_gatt_server_service_stopped {
+	int32_t status;
+	int32_t server_if;
+	int32_t srvc_handle;
+} __attribute__((packed));