Hi, You could probably call the isAlive() method yourself. Alternatlively, you could setup a callback for the gateway status (see http://code.google.com/p/smslib/wiki/SMSLib_Callbacks) and get informed about possible disconnections.
On Jun 29, 8:18 am, Jeno <[email protected]> wrote: > Hi, > > How to check whether a gateway is connected or not connected? > > I developed a desktop application using SMSLib. > In my software, connection with the device will be made and service > will be started once the software started. Message can be send after > that. Sometimes, the IR / bluetooth virtual serial port are > disconnected without any intimation. So, before sending a message, i > like to confirm whether the device is connected or not? How can i do > it? > > Thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SMSLib User Group" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/SMSLib?hl=en -~----------~----~----~----~------~----~------~--~---
