Hello
I am using a CR1000x datalogger, on first installation the logger tramitted data to loggernet for a few hours and stopped.
Upon my visit to the station I noted there was good GPRS connectivity and my sim card was working well. I manually reset the datalogger and GPRS modem at around 10am, there was data transmittion but the station stopped transmitting at exactly 12 midnight same day and never transimmitted again. I have two stations behaving the same way. I am suspecting the modem power cycle.
Please check for me if the following code does the midnight reset correctly
'-Slow sequence2: Modem Power Cycle,low charge battery saver----------------------------
SlowSequence
Scan (60,Sec,0,0)
'Power cycle modem just before midnight(ignore during low power state)
'check for nework connection
IsNetwork = PPPOpen
If IsNetwork = "0.0.0.0" Then
If LowPower = false Then 'if power is low then ignore
SetNetwork =1
EndIf
EndIf
'Power cycle modem just before midnight(ignore during low power state)
If LowPower = false Then
If IfTime(1438,1440,min) Then
ModemReset= true
SW12(SW12_1,0)
EndIf
If IfTime(1439,1440,min) Then
ModemReset = false
SetNetwork =1
SW12(SW12_1,1)
EndIf
EndIf
'Power modem based on state of charge(ignore during power cycle)
If ModemReset = false Then
If LoggerBatt < 12 Then
LowPower = true
SW12(SW12_1,0)
EndIf
If LoggerBatt >= 12.2 Then
LowPower = false
SW12(SW12_1,1)
EndIf
EndIf
If SetNetwork =1 Then
Call InitialModem
Delay (0,5,Sec)
EndIf
NextScan
EndSequence
Thank you for your help
If you do not have OS 1.02, I suggest updating the OS. There was a fix for PPPOpen. A flag that tells the datalogger that the network is online was not being reset correctly, resulting in an unresponsive PPP network interface.
Thank you Terri,
I will try that update and let you know if it solved my problem.
This solution solve the same problem of communication for me, many thanks !
You're welcome. I'm glad it's working.