Linux bluetooth development
 help / color / mirror / Atom feed
* How to past connect complete event status (page timeout) to apps
@ 2010-07-23 17:48 Ed Tsang
  2010-07-23 20:15 ` Luiz Augusto von Dentz
  0 siblings, 1 reply; 3+ messages in thread
From: Ed Tsang @ 2010-07-23 17:48 UTC (permalink / raw)
  To: Bluettooth Linux

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



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

end of thread, other threads:[~2010-07-28 14:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-23 17:48 How to past connect complete event status (page timeout) to apps Ed Tsang
2010-07-23 20:15 ` Luiz Augusto von Dentz
2010-07-28 14:04   ` Ed Tsang

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