Skip to contentSkip to conversation

about connection timeout

Bluez-devel mike 2 participants 2 messages Mar 7, 2005 – Mar 9, 2005 Bluetooth drivers

lore
Share & tools
lore

mike

author
#0 lore raw

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

maintainer
#1 lore raw

Hi,

Quoted 1 line

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.

Quoted 2 lines

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel