--- android/handsfree.c | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/android/handsfree.c b/android/handsfree.c index ad033be..16f079f 100644 --- a/android/handsfree.c +++ b/android/handsfree.c @@ -531,11 +531,26 @@ static void at_cmd_binp(struct hfp_gw_result *result, enum hfp_gw_cmd_type type, static void at_cmd_bldn(struct hfp_gw_result *result, enum hfp_gw_cmd_type type, void *user_data) { + struct hal_ev_handsfree_dial ev; + DBG(""); - /* TODO */ + switch (type) { + case HFP_GW_CMD_TYPE_COMMAND: + if (hfp_gw_result_has_next(result)) + break; - hfp_gw_send_result(device.gw, HFP_RESULT_ERROR); + ev.number_len = 0; + + ipc_send_notif(hal_ipc, HAL_SERVICE_ID_HANDSFREE, + HAL_EV_HANDSFREE_DIAL, sizeof(ev), &ev); + + return; + case HFP_GW_CMD_TYPE_READ: + case HFP_GW_CMD_TYPE_TEST: + case HFP_GW_CMD_TYPE_SET: + break; + } } static void at_cmd_bvra(struct hfp_gw_result *result, enum hfp_gw_cmd_type type, -- 1.8.5.3 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html