diff --git a/android/hal-ipc-api.txt b/android/hal-ipc-api.txt
index 72c2a7a..085e789 100644
--- a/android/hal-ipc-api.txt
+++ b/android/hal-ipc-api.txt
In case of an error, the error response will be returned.
Opcode 0x15 - Set Advertising data command/response
+
+ Command parameters: Server Interface (4 octets)
+ Set Scan Resp. (1 octet)
+ Include Name (1 octet)
+ Include TX Power (1 octet)
+ Min. Interval (4 octets)
+ Max. Interval (4 octets)
+ Appearance (4 octets)
+ Manufacturer Len. (2 octets)
+ Manufacturer Data (variable)
+ Response parameters: <none>
+
+ In case of an error, the error response will be returned.
+
Opcode 0x16 - Test Command command/response
Opcode 0x17 - Register Server command/response
diff --git a/android/hal-msg.h b/android/hal-msg.h
index 91f1c95..937aa20 100644
--- a/android/hal-msg.h
+++ b/android/hal-msg.h
uint8_t bdaddr[6];
} __attribute__((packed));
+#define HAL_OP_GATT_CLIENT_SET_ADV_DATA 0x015
+struct hal_cmd_gatt_client_set_adv_data {
+ int32_t server_if;
+ uint8_t set_scan_rsp;
+ uint8_t include_name;
+ uint8_t include_txpower;
+ int32_t min_interval;
+ int32_t max_interval;
+ int32_t appearance;
+ uint16_t manufacturer_len;
+ uint8_t manufacturer_data[0];
+} __attribute__((packed));
+
/* Notifications and confirmations */
#define HAL_POWER_OFF 0x00