public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-devel] Error.InProgress forever after DBus timeout on GetRemoteServiceHandles
@ 2007-05-15 15:05 Pierre-Yves Paulus
  2007-05-15 15:33 ` Marcel Holtmann
  0 siblings, 1 reply; 2+ messages in thread
From: Pierre-Yves Paulus @ 2007-05-15 15:05 UTC (permalink / raw)
  To: BlueZ development

Hello,

I perform a call on GetRemoteServiceHandles. For some reason it fails 
with a DBus timeout. After it has happened, each subsequent call to 
GetRemoteServiceHandles about this device result in a Error.InProgress.

More precisely, my code tried it 36 times over about 7 minutes, and it 
failed that way each time.

What should I do in such a case? It should somehow effectively timeout, 
or there should be a way to cancel it. I didn't find any in the 
dbus-api.txt file.

Thanks in advance,
Best Regards


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

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

* Re: [Bluez-devel] Error.InProgress forever after DBus timeout on GetRemoteServiceHandles
  2007-05-15 15:05 [Bluez-devel] Error.InProgress forever after DBus timeout on GetRemoteServiceHandles Pierre-Yves Paulus
@ 2007-05-15 15:33 ` Marcel Holtmann
  0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2007-05-15 15:33 UTC (permalink / raw)
  To: BlueZ development

Hi Pierre-Yves,

> I perform a call on GetRemoteServiceHandles. For some reason it fails 
> with a DBus timeout. After it has happened, each subsequent call to 
> GetRemoteServiceHandles about this device result in a Error.InProgress.
> 
> More precisely, my code tried it 36 times over about 7 minutes, and it 
> failed that way each time.
> 
> What should I do in such a case? It should somehow effectively timeout, 
> or there should be a way to cancel it. I didn't find any in the 
> dbus-api.txt file.

from the hcid side it is impossible to know when the request fails due
to a timeout. However calling the FinishRemoteServiceTransaction method
should cleanup the state and make it usable again. If not, then that is
a bug.

Regards

Marcel



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

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

end of thread, other threads:[~2007-05-15 15:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-15 15:05 [Bluez-devel] Error.InProgress forever after DBus timeout on GetRemoteServiceHandles Pierre-Yves Paulus
2007-05-15 15:33 ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox