diff --git a/android/hal-ipc-api.txt b/android/hal-ipc-api.txt
index 96b537f..1a19c80 100644
--- a/android/hal-ipc-api.txt
+++ b/android/hal-ipc-api.txt
Opcode 0x23 - Send Response command/response
+ Command parameters: Connection ID (4 octets)
+ Transaction ID (4 octets)
+ Status (4 octets)
+ GATT Response (4 octets)
+
+ Valid GATT Response: GATT Value (607 octets)
+ Handle (2 octets)
+
+ Valid GATT Value: Value (600 octets)
+ Handle (2 octets)
+ Offset (2 octets)
+ Length (2 octets)
+ Authentication Request (1 octet)
+ Response parameters: <none>
+
+ In case of an error, the error response will be returned.
+
Opcode 0x81 - Register Client notification
Opcode 0x82 - Scan Result notification
Opcode 0x83 - Connect Device notification
diff --git a/android/hal-msg.h b/android/hal-msg.h
index 160bc08..bde9717 100644
--- a/android/hal-msg.h
+++ b/android/hal-msg.h
uint8_t value[0];
} __attribute__((packed));
+#define HAL_OP_GATT_SERVER_SEND_RESPONSE 0x23
+struct hal_cmd_gatt_server_send_response {
+ int32_t conn_id;
+ int32_t trans_id;
+ int32_t status;
+ uint8_t len;
+ uint8_t data[0];
+} __attribute__((packed));
+
/* Notifications and confirmations */
#define HAL_POWER_OFF 0x00