diff --git a/android/hal-handsfree-client.c b/android/hal-handsfree-client.c
index fbdc516..d5683d1 100644
--- a/android/hal-handsfree-client.c
+++ b/android/hal-handsfree-client.c
NULL, NULL, NULL);
}
+static bt_status_t retrieve_subsr_info(void)
+{
+ DBG("");
+
+ if (!interface_ready())
+ return BT_STATUS_NOT_READY;
+
+ return hal_ipc_cmd(HAL_SERVICE_ID_HANDSFREE_CLIENT,
+ HAL_OP_HF_CLIENT_RETRIEVE_SUBSCR_INFO, 0, NULL,
+ NULL, NULL, NULL);
+}
+
static void cleanup(void)
{
struct hal_cmd_unregister_module cmd;
.handle_call_action = call_action,
.query_current_calls = query_current_calls,
.query_current_operator_name = query_operator_name,
+ .retrieve_subscriber_info = retrieve_subsr_info,
.cleanup = cleanup
};
diff --git a/android/hal-msg.h b/android/hal-msg.h
index bedc598..300465d 100644
--- a/android/hal-msg.h
+++ b/android/hal-msg.h
#define HAL_OP_HF_CLIENT_QUERY_CURRENT_CALLS 0x0b
#define HAL_OP_HF_CLIENT_QUERY_OPERATOR_NAME 0x0c
+#define HAL_OP_HF_CLIENT_RETRIEVE_SUBSCR_INFO 0x0d
/* Notifications and confirmations */
diff --git a/android/handsfree-client.c b/android/handsfree-client.c
index 9bec019..8df93d9 100644
--- a/android/handsfree-client.c
+++ b/android/handsfree-client.c
HAL_STATUS_UNSUPPORTED);
}
+static void handle_retrieve_subscr_info(const void *buf, uint16_t len)
+{
+ DBG("Not Implemented");
+ ipc_send_rsp(hal_ipc, HAL_SERVICE_ID_HANDSFREE_CLIENT,
+ HAL_OP_HF_CLIENT_RETRIEVE_SUBSCR_INFO,
+ HAL_STATUS_UNSUPPORTED);
+}
+
static const struct ipc_handler cmd_handlers[] = {
/* HAL_OP_HF_CLIENT_CONNECT */
{ handle_connect, false,
{ handle_query_current_calls, false, 0 },
/* HAL_OP_HF_CLIENT_QUERY_OPERATOR_NAME */
{ handle_query_operator_name, false, 0 },
+ /* HAL_OP_HF_CLIENT_RETRIEVE_SUBSCR_INFO */
+ { handle_retrieve_subscr_info, false, 0 },
};
bool bt_hf_client_register(struct ipc *ipc, const bdaddr_t *addr)