Return-Path: Subject: Re: bluetooth-sendto dbus-timeout From: Bastien Nocera To: Ed Tsang Cc: Bluettooth Linux In-Reply-To: <91473.91180.qm@web52605.mail.re2.yahoo.com> References: <91473.91180.qm@web52605.mail.re2.yahoo.com> Content-Type: text/plain; charset="ISO-8859-1" Date: Fri, 08 Jan 2010 16:59:55 +0000 Message-ID: <1262969995.2233.5.camel@localhost.localdomain> Mime-Version: 1.0 Sender: linux-bluetooth-owner@vger.kernel.org List-ID: On Fri, 2010-01-08 at 08:51 -0800, Ed Tsang wrote: > Hi, > Hope one of you expert could help me on this. > I am trying to use bluetooth-sendto (bluz-gnome) to push files to > remote and record detail of the result (e.g. cannot connect to SDP, > cannot locate the opp .....). I was able to go into the obex-client to > get more detail when the transfer fail. But when the remote (user) do > not response to the connection request, I got a > DBUS_GERROR_REMOTE_EXCEPTION (Did not receive a reply...). > I am guessing the method timeout, but it was too fast (prefer to > give the remote device user more time). > Is there a way to increase the timeout value to a much much larger > number? > Is there a time out on the obexd side on the SDP connect and rfcomm > connect in case the user do not response to the connection request. bluez-gnome is old, and its bluetooth-sendto has a number of known bugs. Try with the latest version of gnome-bluetooth instead. Cheers