Groups > Palm OS > Bluetooth Forum > Re: Disconnect notification in serial link over Bluetoth




Disconnect notification in serial link over Bluetoth

Disconnect notification in serial link over Bluetoth
Wed, 06 Sep 2006 23:00:43 -040
I connect to a remote Bluetooth device in serial mode with SrmExtOpen. 
When the remote device is turned off, the link is obviously dropped, but 
how can I be notified?


-- 
Luc Le Blanc
Post Reply
Re: Disconnect notification in serial link over Bluetoth
Tue, 12 Sep 2006 12:34:32 -070
Hi,

Teach a man how to fish ...

You can search the forum for answers:
http://news.palmos.com/read/search/?forum=bluetooth-forum

Looking at the results, you'll probably come across this result:
http://news.palmos.com/read/messages?id=196838#196838

Which will eventually lead to this snippet:
" ... it is possible to check for the disconnection using SrmSendWait,
which 
returns serErrLineErr if the connection has been dropped."

Regards,

Peter


Post Reply
about | contact