For HFP 1.6, the HF sends AT+BCC to inform the AG that a SCO connection needs to be established, and the AG initiates the connection. For this case, the "Connect" method reply needs to be sent when the link is established. --- src/handsfree-audio.c | 7 +++++++ 1 file changed, 7 insertions(+)
diff --git a/src/handsfree-audio.c b/src/handsfree-audio.c index cb97c57..3a7dcee 100644 --- a/src/handsfree-audio.c +++ b/src/handsfree-audio.c @@ -156,6 +156,13 @@ static gboolean sco_accept(GIOChannel *io, GIOCondition cond, return TRUE; } + if (card->msg) { + DBusMessage *reply = dbus_message_new_method_return(card->msg); + g_dbus_send_message(ofono_dbus_get_connection(), reply); + dbus_message_unref(card->msg); + card->msg = NULL; + } + send_new_connection(card->path, nsk); close(nsk); -- 1.7.11.7 _______________________________________________ ofono mailing list ofono@ofono.org http://lists.ofono.org/listinfo/ofono