* bluetooth-sendto dbus-timeout
@ 2010-01-08 16:51 Ed Tsang
2010-01-08 16:59 ` Bastien Nocera
0 siblings, 1 reply; 5+ messages in thread
From: Ed Tsang @ 2010-01-08 16:51 UTC (permalink / raw)
To: Bluettooth Linux
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.
Ed
__________________________________________________________________
Looking for the perfect gift? Give the gift of Flickr!
http://www.flickr.com/gift/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: bluetooth-sendto dbus-timeout
2010-01-08 16:51 bluetooth-sendto dbus-timeout Ed Tsang
@ 2010-01-08 16:59 ` Bastien Nocera
2010-01-08 19:05 ` Ed Tsang
0 siblings, 1 reply; 5+ messages in thread
From: Bastien Nocera @ 2010-01-08 16:59 UTC (permalink / raw)
To: Ed Tsang; +Cc: Bluettooth Linux
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: bluetooth-sendto dbus-timeout
2010-01-08 16:59 ` Bastien Nocera
@ 2010-01-08 19:05 ` Ed Tsang
2010-01-08 19:10 ` Bastien Nocera
0 siblings, 1 reply; 5+ messages in thread
From: Ed Tsang @ 2010-01-08 19:05 UTC (permalink / raw)
To: Bastien Nocera; +Cc: Bluettooth Linux
Hi Bastien,
I tried gnome-bluetooth 2.28.1, similar situation, when remote Nokia phone user don't response, got "Did not receive ..."
Cheers.
Ed
----- Original Message ----
From: Bastien Nocera <hadess@hadess.net>
To: Ed Tsang <netdesign_98@yahoo.com>
Cc: Bluettooth Linux <linux-bluetooth@vger.kernel.org>
Sent: Fri, January 8, 2010 11:59:55 AM
Subject: Re: bluetooth-sendto dbus-timeout
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
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
__________________________________________________________________
Get the name you've always wanted @ymail.com or @rocketmail.com! Go to http://ca.promos.yahoo.com/jacko/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: bluetooth-sendto dbus-timeout
2010-01-08 19:05 ` Ed Tsang
@ 2010-01-08 19:10 ` Bastien Nocera
2010-01-08 20:17 ` Ed Tsang
0 siblings, 1 reply; 5+ messages in thread
From: Bastien Nocera @ 2010-01-08 19:10 UTC (permalink / raw)
To: Ed Tsang; +Cc: Bluettooth Linux
On Fri, 2010-01-08 at 11:05 -0800, Ed Tsang wrote:
> Hi Bastien,
> I tried gnome-bluetooth 2.28.1, similar situation, when remote
> Nokia phone user don't response, got "Did not receive ..."
Don't top-post, and try gnome-bluetooth 2.28.6 (the latest stable
release, which contains bluetooth-sendto bug fixes).
Cheers
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: bluetooth-sendto dbus-timeout
2010-01-08 19:10 ` Bastien Nocera
@ 2010-01-08 20:17 ` Ed Tsang
0 siblings, 0 replies; 5+ messages in thread
From: Ed Tsang @ 2010-01-08 20:17 UTC (permalink / raw)
To: Bastien Nocera; +Cc: Bluettooth Linux
Hi Bastien,
>Don't top-post, and try gnome-bluetooth 2.28.6 (the latest stable
>release, which contains bluetooth-sendto bug fixes).
Tired gnome-blueooth 2.28.6 - similar result "Did not receive a reply..."
>From hcidump I could see a few seconds later (~7s) there is a
< ACL ... RFCOMM.. DISC
So I will guess there is another timeout trigger the DISC sending out.
Is there a way to make the d-bus method time out much longer. I tried to search the dbus tutorial and only find out that we need to handle the "DBUS_GERROR_REMOTE_EXCEPTION".
Regards,
Ed
__________________________________________________________________
Ask a question on any topic and get answers from real people. Go to Yahoo! Answers and share what you know at http://ca.answers.yahoo.com
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-01-08 20:17 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-08 16:51 bluetooth-sendto dbus-timeout Ed Tsang
2010-01-08 16:59 ` Bastien Nocera
2010-01-08 19:05 ` Ed Tsang
2010-01-08 19:10 ` Bastien Nocera
2010-01-08 20:17 ` Ed Tsang
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.