about connection timeout
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
Marcel Holtmann
maintainerHi,
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