Diff between 66d20db49c41ecb5a8de6646e5f81ad71687ae07 and fe74ab7e60168c5f02411ed2ad1ea6c330809e93

Changed Files

File Additions Deletions Status
android/hal-msg.h +23 -0 modified

Full Patch

diff --git a/android/hal-msg.h b/android/hal-msg.h
index 71969b5..94f8e7c 100644
--- a/android/hal-msg.h
+++ b/android/hal-msg.h
@@ -1072,6 +1072,13 @@ struct hal_cmd_hf_client_send_dtmf {
 
 #define HAL_OP_HF_CLIENT_GET_LAST_VOICE_TAG_NUM	0x0f
 
+/* MAP CLIENT HAL API */
+
+#define HAL_OP_MAP_CLIENT_GET_INSTANCES	0x01
+struct hal_cmd_map_client_get_instances {
+	uint8_t bdaddr[6];
+} __attribute__((packed));
+
 /* Notifications and confirmations */
 
 #define HAL_POWER_OFF			0x00
@@ -1916,3 +1923,19 @@ struct hal_ev_hf_client_last_void_call_tag_num {
 } __attribute__((packed));
 
 #define HAL_EV_CLIENT_RING_INDICATION			0x95
+
+#define HAL_EV_MAP_CLIENT_REMOTE_MAS_INSTANCES	0x81
+struct hal_map_client_mas_instance {
+	int32_t id;
+	int32_t scn;
+	int32_t msg_types;
+	int32_t name_len;
+	uint8_t name[0];
+} __attribute__((packed));
+
+struct hal_ev_map_client_remote_mas_instances {
+	int8_t status;
+	uint8_t bdaddr[6];
+	int32_t num_instances;
+	struct hal_map_client_mas_instance instances[0];
+} __attribute__((packed));