Thanks for this information...

I also tried lots from our end but not successful....

On Wed, Sep 19, 2012 at 1:42 AM, SMSLib Discussion Group on behalf of
Thanasis <[email protected]> wrote:

> Hi,
>
> I assume that by saying "if i disconnect modem" you mean physically unplug
> the modem. right?
>
> Don't do this! The JavaComm library is not very good at handling these
> things - you may get stuck in an endless error dump, requiring smslib
> restart.
> SMSLib is not meant to handle these situations. It will try to handle
> modem errors (by restarting the respective gateway) but it will not handle
> the plug/unplug modem scenarios well.
>
> On 17 September 2012 10:22, SMSLib Discussion Group on behalf of AmitK <
> smslib+noreply-apn2wqf3e8_g49y0wjywn8zwzps3m7ls_bnrgq5wtjccnd...@googlegroups.com
> > wrote:
>
>> Hi,
>>
>> If device is connected and checking status then callback return current
>> status as "STARTED"? But if i disconnect modem at that time STATUS is
>> coming "RESTART" after 4-5min. And again, if i am connecting my device
>> status is not upto date?
>>
>> Is there any specific class / library / callbacks which can give device
>> status (Connected / not) immediately and it should be correct status? OR is
>> there any other way by which we can get gateway status as n when required?
>>
>> Thanks,
>> AmitK
>> --
>> You received this message because you are subscribed to the Google Groups
>> "SMSLib Discussion Group" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msg/smslib/-/qyKb6E1QhkoJ.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "SMSLib Discussion 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 https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"SMSLib Discussion 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 https://groups.google.com/groups/opt_out.


Reply via email to