2006-08-24 22:11:25

by deva seetharam

[permalink] [raw]
Subject: [Bluez-users] sensing client timeout/disconnect


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.


Attachments:
(No filename) (373.00 B)
(No filename) (164.00 B)
Download all attachments