From 8e6ebab83bce8b79f4e4c579b5c5278458576df3 Mon Sep 17 00:00:00 2001 From: Kuba Pawlak Date: Tue, 24 Mar 2015 15:20:40 +0100 Subject: hfp_ag_bluez5: use none prefix for AT+BCC. iPhone 5s with iOS8.2 sometimes failes to acknowledge AT+BCC with OK. This means +CIEV events get consumed by this command and call ended notification is not parsed. Nov 30 00:00:19 ofonod[938]: > AT+BCC\r Nov 30 00:00:28 ofonod[938]: < \r\n+CIEV: 2,0\r\n --- plugins/hfp_hf_bluez5.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/hfp_hf_bluez5.c b/plugins/hfp_hf_bluez5.c index f5c572d2..2bed2a12 100644 --- a/plugins/hfp_hf_bluez5.c +++ b/plugins/hfp_hf_bluez5.c @@ -390,7 +390,8 @@ static void hfp16_card_connect(struct ofono_handsfree_card *card, info->ag_features & HFP_AG_FEATURE_CODEC_NEGOTIATION) { struct cb_data *cbd = cb_data_new(cb, data); - g_at_chat_send(info->chat, "AT+BCC", NULL, bcc_cb, cbd, g_free); + g_at_chat_send(info->chat, "AT+BCC", none_prefix, bcc_cb, + cbd, g_free); return; } -- cgit v1.2.3