Thread (3 messages) 3 messages, 2 authors, 2010-07-28

How to past connect complete event status (page timeout) to apps

From: Ed Tsang <hidden>
Date: 2010-07-23 17:48:31

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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help