Diff between e72eb6f8e47d3a8b9743ec1f1ec6389ab73e54a5 and ec71b193cb5b63058c74fea015b89c7f271bbe41

Changed Files

File Additions Deletions Status
android/hal-ipc-api.txt +8 -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 a1ad71e..ba1b40a 100644
--- a/android/hal-ipc-api.txt
+++ b/android/hal-ipc-api.txt
@@ -1711,6 +1711,14 @@ Android HAL name: "gatt" (BT_PROFILE_GATT_ID)
 		In case of an error, the error response will be returned.
 
 	Opcode 0x1c - Add Included Service command/response
+
+		Command parameters: Server (4 octets)
+		                    Service handle (4 octets)
+		                    Included handle (4 octets)
+		Response parameters: <none>
+
+		In case of an error, the error response will be returned.
+
 	Opcode 0x1d - Add Characteristic command/response
 	Opcode 0x1e - Add Descriptor command/response
 	Opcode 0x1f - Start Service command/response
diff --git a/android/hal-msg.h b/android/hal-msg.h
index aacd392..565976d 100644
--- a/android/hal-msg.h
+++ b/android/hal-msg.h
@@ -733,6 +733,13 @@ struct hal_cmd_gatt_server_add_service {
 	int32_t num_handles;
 } __attribute__((packed));
 
+#define HAL_OP_GATT_SERVER_ADD_INC_SERVICE	0x1c
+struct hal_cmd_gatt_server_add_inc_service {
+	int32_t server_if;
+	int32_t service_handle;
+	int32_t included_handle;
+} __attribute__((packed));
+
 /* Notifications and confirmations */
 
 #define HAL_POWER_OFF			0x00