Open Source Telephony
 help / color / mirror / Atom feed
From: Patrik Flykt <patrik.flykt@linux.intel.com>
To: ofono@ofono.org
Subject: [PATCH] bluez4: Increase Bluez 4 D-Bus timeouts to 60 seconds
Date: Tue, 26 Feb 2013 13:15:52 +0200	[thread overview]
Message-ID: <1361877352-2728-1-git-send-email-patrik.flykt@linux.intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 748 bytes --]

RequestAuthorization method call may trigger pairing and/or pop up a
dialog in the remote device to which the user needs to react. Thus
increase D-Bus timeouts to 60 seconds for the Bluez 4 plugin.
---
 plugins/bluez4.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/bluez4.h b/plugins/bluez4.h
index 4fc16ad..3b60cba 100644
--- a/plugins/bluez4.h
+++ b/plugins/bluez4.h
@@ -29,7 +29,7 @@
 #define	BLUEZ_SERVICE_INTERFACE		BLUEZ_SERVICE ".Service"
 #define BLUEZ_SERIAL_INTERFACE		BLUEZ_SERVICE ".Serial"
 
-#define DBUS_TIMEOUT 15
+#define DBUS_TIMEOUT 60
 
 #define DUN_GW_UUID	"00001103-0000-1000-8000-00805f9b34fb"
 #define HFP_AG_UUID	"0000111f-0000-1000-8000-00805f9b34fb"
-- 
1.7.10.4


             reply	other threads:[~2013-02-26 11:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-26 11:15 Patrik Flykt [this message]
2013-02-26 20:16 ` [PATCH] bluez4: Increase Bluez 4 D-Bus timeouts to 60 seconds Denis Kenzior

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1361877352-2728-1-git-send-email-patrik.flykt@linux.intel.com \
    --to=patrik.flykt@linux.intel.com \
    --cc=ofono@ofono.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox