Linux bluetooth development
 help / color / mirror / Atom feed
From: Ed Tsang <netdesign_98@yahoo.com>
To: Bluettooth Linux <linux-bluetooth@vger.kernel.org>
Subject: How to past connect complete event status (page timeout) to apps
Date: Fri, 23 Jul 2010 10:48:31 -0700 (PDT)	[thread overview]
Message-ID: <444018.59197.qm@web52606.mail.re2.yahoo.com> (raw)

Hi,  I tried to implement my apps to do different things depend on the failed 
connection attempt.
On Hci dump I could saw the connect complete status is different depend on the 
actual failure (e.g. 0x10 accept timeout, 0x06, PIN missing, 0x04 page 
timeout).  But the apps (base on obex-client) is not able to see those status 
code.
   The obex-client attempt a sdp_connect and then g_io_add_watch.  On the 
callback, we could see the G_IO_ERROR but I could not figure out a way to get 
more detail on the failed condition.  I tried look into the Bluez and could not 
figure what to change to pass those connect event status up..
    Anyone could offer some advise/hint...

Cheers,
Ed



             reply	other threads:[~2010-07-23 17:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-23 17:48 Ed Tsang [this message]
2010-07-23 20:15 ` How to past connect complete event status (page timeout) to apps Luiz Augusto von Dentz
2010-07-28 14:04   ` Ed Tsang

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=444018.59197.qm@web52606.mail.re2.yahoo.com \
    --to=netdesign_98@yahoo.com \
    --cc=linux-bluetooth@vger.kernel.org \
    /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