Skip to contentSkip to conversation

bluez4: Increase Bluez 4 D-Bus timeouts to 60 seconds

PATCH In review Patrik Flykt 2 participants 2 messages Feb 26, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bluez4: Increase Bluez 4 D-Bus timeouts to 60 seconds

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(-)
plugins/bluez4.h +1 -1
index 4fc16ad..3b60cba 100644
@@ -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"
Signature · 1 line
1.7.10.4
#1 lore raw

Hi Patrik,

Quoted 7 lines · Patrik Flykt

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