public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Pierre-Yves Paulus <py@idlum.be>
To: BlueZ development <bluez-devel@lists.sourceforge.net>
Subject: [Bluez-devel] Unexpected error / chronology trying to extract sdp handles
Date: Tue, 22 Jul 2008 13:13:13 +0200	[thread overview]
Message-ID: <4885C0C9.7000308@idlum.be> (raw)

Hello,

I'm running v3.34. I know it's not the latest. But I've observed what I 
describe below on virtually any previous 3.x version.

Somewhere in my code, I perform a call to 
Adapter.GetRemoteServiceHandles(btAddress, match). This call blocks as 
expected. A few seconds later, I get a RemoteDeviceConnected signal. 
Great, looking good. But about 30s after the first call, 
GetRemoteServiceHandles finally returns, by throwing a 
ConnectionAttemptFailed. The RemoteDeviceDisconnected event arrives at 
the same time than the expection.

How can I get I get a ConnectionAttempFailed while I have received a 
"Connected" signal previously? Is it to be expected? How should such 
apparent non-sense be dealt with? Or perhaps I'm mislead by the 
(apparently obvious) "ConnectionAttemptFailed" name?

Thanks in advance,
Best Regards.
Pierre-Yves

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

             reply	other threads:[~2008-07-22 11:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-22 11:13 Pierre-Yves Paulus [this message]
2008-07-22 13:20 ` [Bluez-devel] Unexpected error / chronology trying to extract sdp handles Marcel Holtmann
2008-07-22 15:55   ` Pierre-Yves Paulus
2008-07-24 14:18     ` Marcel Holtmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4885C0C9.7000308@idlum.be \
    --to=py@idlum.be \
    --cc=bluez-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox