Thanks for your response.  

Even better, getATHandler().getNetworkRegistration() shows me the current 
network status.

Thanks for the point in the right direction.

Cheers.


On Friday, 22 June 2012 07:58:10 UTC+12, T.Delenikas wrote:
>
> I don't know if it would cover your case, but try to use the 
> "getSignalLevel()" 
> from the at handler you are using. Something like
>
> getGateway().getATHandler().getSignalLevel()
>
> You might manage to base your watchdog on values returned from this.
>
> On Tuesday, June 19, 2012 11:59:13 PM UTC+3, Siclone wrote:
>>
>> Yes, the signal strength seems to fluctuate wildly (which is also seen in 
>> general mobile phone use).  Every now and then the modem will disconnect 
>> from the network (as reported by the status light on the modem) and doesn't 
>> reconnect.  If I cycle the power on the modem if reconnects ok.  The fact 
>> that the modem doesn't automatically reconnect to the network could be an 
>> issue with the modem (Wavecom), I'm not sure.
>>
>> I wanted to build a watchdog into my application that checks the network 
>> connection status.  I was hoping that SMSLib might have a public method 
>> somewhere that would report the current network status.  
>>
>>
>> On Tuesday, 19 June 2012 04:25:53 UTC+12, T.Delenikas wrote:
>>>
>>> The +CREG is supposed to report the network availability.
>>> Are you working in a place with low signal?
>>>
>>> On Friday, June 15, 2012 11:47:53 PM UTC+3, Siclone wrote:
>>>>
>>>> Hello,
>>>>
>>>> I'm currently experiencing an issue with my modem where it 
>>>> intermittently loses network connectivity.  Is there a method call I can 
>>>> make that will identify whether the modems is registered on the network or 
>>>> not?
>>>>
>>>> Many thanks.
>>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"SMSLib Discussion Group" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/smslib/-/hsxdeAEHTLgJ.
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.

Reply via email to