[Ovmsdev] Modem link-drop crash

Tom Parker tom at carrott.org
Wed Dec 27 02:04:26 HKT 2017


On 27/12/17 01:34, Mark Webb-Johnson wrote:

> Log doesn’t show much. Modem has a network connection to VodafoneNZ, 
> and signal strength seems ok.

There is nothing else in the log, I'm running with level debug and it's 
just that on repeat.

> The following output will help:
>
>     simcom status
>

OVMS > simcom status
SIMCOM
   Network Registration: Searching
   State: NetWait
   Ticker: 57960
   User Data: 0
   Mux Open Channels: 4
   PPP Not Connected
   PPP Last Error: User Interrupt
   GPS: disabled
   GPS time: disabled
   NMEA (GPS/GLONASS) Not Connected

>     simcom setstate NetLoss
>

OVMS > simcom setstate NetLoss
OVMS >
OVMS >
OVMS > I (58142726) simcom: State: Enter NetLoss state
D (58142726) SIMCOM tx: f9 0d ff 19 41 54 2b 43 47 41 54 54 3d 30 0d 0a 
....AT+CGATT=0..
D (58142726) SIMCOM tx: 14 f9                                           ..
I (58142726) gsm-ppp: Shutting down (hard)...
I (58142736) gsm-ppp: StatusCallBack: User Interrupt
I (58142736) gsm-ppp: PPP connection has been closed
D (58142736) SIMCOM rx: 41 54 2b 43 47 41 54 54 3d 30 0d                
AT+CGATT=0.
OVMS > D (58143956) SIMCOM rx: 0d 0a 4f 4b 0d 
0a                               ..OK..
OVMS > I (58151826) simcom: State timeout, transition to 5
I (58151826) simcom: State: Enter NetWait state
D (58151826) gsm-nmea: GPS disabled
OVMS > D (58161826) SIMCOM tx: f9 0d ff 3b 41 54 2b 43 52 45 47 3f 3b 2b 
43 43 ...;AT+CREG?;+CC
D (58161826) SIMCOM tx: 4c 4b 3f 3b 2b 43 53 51 3b 2b 43 4f 50 53 3f 0d 
LK?;+CSQ;+COPS?.
D (58161826) SIMCOM tx: 0a cf f9                                        ...
D (58161846) SIMCOM rx: 41 54 2b 43 52 45 47 3f 3b 2b 43 43 4c 4b 3f 3b 
AT+CREG?;+CCLK?;
D (58161846) SIMCOM rx: 2b 43 53 51 3b 2b 43 4f 50 53 3f 0d             
+CSQ;+COPS?.
D (58161896) SIMCOM rx: 0d 0a 2b 43 52 45 47 3a 20 30 2c 35 0d 0a 0d 0a 
..+CREG: 0,5....
D (58161896) SIMCOM rx: 2b 43 43 4c 4b 3a 20 22 31 37 2f 31 32 2f 32 37 
+CCLK: "17/12/27
D (58161896) SIMCOM rx: 2c 30 36 3a 35 31 3a 30 38 2b 35 32 22 0d 0a 0d 
,06:51:08+52"...
D (58161906) SIMCOM rx: 0a 2b 43 53 51 3a 20 39 2c 39 39 0d 0a 0d 0a 2b 
.+CSQ: 9,99....+
D (58161906) SIMCOM rx: 43 4f 50 53 3a 20 30 2c 30 2c 22 56 6f 64 61 66 
COPS: 0,0,"Vodaf
D (58161906) SIMCOM rx: 6f 6e 65 4e 5a 20 48 6f 6c 6f 67 72 61 6d 22 2c 
oneNZ Hologram",
D (58161906) SIMCOM rx: 32 0d 0a 0d 0a 4f 4b 0d 0a                      
2....OK..

The AT+CREG?; status things then continue in a loop and I did another 
simcom status which looks pretty similar to before:

OVMS > simcom status
SIMCOM
   Network Registration: Searching
   State: NetWait
   Ticker: 155
   User Data: 0
   Mux Open Channels: 4
   PPP Not Connected
   PPP Last Error: User Interrupt
   GPS: disabled
   GPS time: disabled
   NMEA (GPS/GLONASS) Not Connected

> And show output at level debug for another minute or so.

A full transcript of my session is attached. The ovms is still in this 
state so I can collect more information or perform more experiments.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20171227/5e4818eb/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2017-12-27-1-modem-not-working.txt.gz
Type: application/gzip
Size: 3750 bytes
Desc: not available
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20171227/5e4818eb/attachment.gz>


More information about the OvmsDev mailing list