Skip to contentSkip to conversation

sensing client timeout/disconnect

Bluez-users deva seetharam 1 participant 1 message Aug 24, 2006 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

greetings!
i have developed an application that opens an rfcomm socket and waits for messages from bluetooth remote control devices. the application needs to know when the client disconnects (for example, when the remote control is taken out of the range).

i see that hcidump prints a timeout message when the client is not heard for a while. i am wondering whether there is a signal/mechanism for the client app to know that the device has disconnected or timedout.

pls. let me know.

thanks in advance,
david

---------------------------------
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less.

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users