All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] bluez4: Increase Bluez 4 D-Bus timeouts to 60 seconds
@ 2013-02-26 11:15 Patrik Flykt
  2013-02-26 20:16 ` Denis Kenzior
  0 siblings, 1 reply; 2+ messages in thread
From: Patrik Flykt @ 2013-02-26 11:15 UTC (permalink / raw)
  To: ofono

[-- 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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] bluez4: Increase Bluez 4 D-Bus timeouts to 60 seconds
  2013-02-26 11:15 [PATCH] bluez4: Increase Bluez 4 D-Bus timeouts to 60 seconds Patrik Flykt
@ 2013-02-26 20:16 ` Denis Kenzior
  0 siblings, 0 replies; 2+ messages in thread
From: Denis Kenzior @ 2013-02-26 20:16 UTC (permalink / raw)
  To: ofono

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

Hi Patrik,

On 02/26/2013 05:15 AM, Patrik Flykt wrote:
> 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(-)
>

Patch has been applied, thanks.

Regards,
-Denis


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-02-26 20:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-26 11:15 [PATCH] bluez4: Increase Bluez 4 D-Bus timeouts to 60 seconds Patrik Flykt
2013-02-26 20:16 ` Denis Kenzior

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.