* [Bluez-devel] about connection timeout
@ 2005-03-07 3:10 mike
2005-03-09 17:55 ` Marcel Holtmann
0 siblings, 1 reply; 2+ messages in thread
From: mike @ 2005-03-07 3:10 UTC (permalink / raw)
To: bluez-devel
Hi all
How can i know there is connection error? And when i want to
reconnect the other side, do i need to reset the bluetooth stack ?
best regard
Mike,Lee
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
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] about connection timeout
2005-03-07 3:10 [Bluez-devel] about connection timeout mike
@ 2005-03-09 17:55 ` Marcel Holtmann
0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2005-03-09 17:55 UTC (permalink / raw)
To: bluez-devel
Hi,
> How can i know there is connection error?
you can look at the error code of the connect() call or check with
select() or poll() on that socket. Or you can open a HCI raw socket and
look for a HCI disconnect event.
> And when i want to
> reconnect the other side, do i need to reset the bluetooth stack ?
No.
Regards
Marcel
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
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:[~2005-03-09 17:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-07 3:10 [Bluez-devel] about connection timeout mike
2005-03-09 17:55 ` Marcel Holtmann
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.