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




Re: Disconnect notification in serial link over Bluetoth

Re: Disconnect notification in serial link over Bluetoth
Tue, 19 Sep 2006 12:52:41 -000
Peter Easton wrote:

> 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."

Can I leave the Bluetooth library open in order to register for
management notification events even if I use the virtual serial
driver? I recall reading somewhere the Bluetooth library had to
be closed before calling Srm* APIs, but if that's true, It's a pain to keep
trying a send just to detect a connection drop.


Luc Le Blanc

Post Reply
Re: Disconnect notification in serial link over Bluetoth
Wed, 20 Sep 2006 10:11:25 -070
Hi,

I'm confused!  Which are you using, the Srm... calls or the Bluetooth 
library directly?  Your first post said that you were using the Srm... 
calls, which is what I answered.

Regards,

Peter


Post Reply
about | contact