[Ovmsdev] Modem link-drop crash

Tom Parker tom at carrott.org
Tue Dec 26 16:16:08 HKT 2017


On 25/12/17 22:40, Tom Parker wrote:
> I've now got it on my desk connected to my laptop and it's been 
> working for 20 minutes. I've just unplugged the antenna so we'll see 
> how well it works (signal is strong here so it remains connected, but 
> hopefully this simulates changing cell towers or something).

It worked all night on my desk with the antenna unplugged but when I 
took it for a drive (with the antenna plugged in) it disconnected after 
some time and didn't reconnect. It's now sitting on my driveway in this 
state. I was able to connect with a terminal emulator but I wasn't able 
to send commands to it. Do you need local echo? I'm fairly sure I tried 
ctrl-j to get a carriage return. I also tried minicom's add CR function.

I'm only seeing the following in a loop. I'm fairly sure it was using a 
different mobile provider when I left the house, and the trip did 
involve going to an area of low or no signal (my cell phone didn't work 
inside the house we visited but did outside). Could the problem be 
caused by roaming from one provider to another? I can get a sim card for 
one of the local providers so I'm not using hologram and potentially 
roaming between networks if that helps to pin it down.

Is it possible to write the logs to an SD card, or do I need to have my 
laptop connected to catch the actual disconnection event?

OVMS > D (19122826) SIMCOM tx: f9 0d ff 3b 41 54 2b 43 52 45 47 3f 3b 2b 
43 43 ...;AT+CREG?;+CC
D (19122826) SIMCOM tx: 4c 4b 3f 3b 2b 43 53 51 3b 2b 43 4f 50 53 3f 0d 
LK?;+CSQ;+COPS?.
D (19122826) SIMCOM tx: 0a cf f9                                        ...
D (19122836) SIMCOM rx: 41 54 2b 43 52 45 47 3f 3b 2b 43 43 4c 4b 3f 3b 
AT+CREG?;+CCLK?;
D (19122836) SIMCOM rx: 2b 43 53 51 3b 2b 43 4f 50 53 3f 0d             
+CSQ;+COPS?.
D (19122846) SIMCOM rx: 0d 0a 2b 43 52 45 47 3a 20 30 2c 35 0d 0a 0d 0a 
..+CREG: 0,5....
D (19122846) SIMCOM rx: 2b 43 43 4c 4b 3a 20 22 31 37 2f 31 32 2f 32 36 
+CCLK: "17/12/26
D (19122846) SIMCOM rx: 2c 32 30 3a 30 30 3a 32 39 2b 35 32 22 0d 0a 0d 
,20:00:29+52"...
D (19122846) SIMCOM rx: 0a 2b 43 53 51 3a 20 36 2c 39 39 0d 0a 0d 0a 2b 
.+CSQ: 6,99....+
D (19122846) SIMCOM rx: 43 4f 50 53 3a 20 30 2c 30 2c 22 56 6f 64 61 66 
COPS: 0,0,"Vodaf
D (19122846) SIMCOM rx: 6f 6e 65 4e 5a 20 48 6f 6c 6f 67 72 61 6d 22 2c 
oneNZ Hologram",
D (19122846) SIMCOM rx: 32 0d 0a 0d 0a 4f 4b 0d 0a                      
2....OK..
OVMS > D (19132826) SIMCOM tx: f9 0d ff 3b 41 54 2b 43 52 45 47 3f 3b 2b 
43 43 ...;AT+CREG?;+CC
D (19132826) SIMCOM tx: 4c 4b 3f 3b 2b 43 53 51 3b 2b 43 4f 50 53 3f 0d 
LK?;+CSQ;+COPS?.
D (19132826) SIMCOM tx: 0a cf f9                                        ...
D (19132856) SIMCOM rx: 41 54 2b 43 52 45 47 3f 3b 2b 43 43 4c 4b 3f 3b 
AT+CREG?;+CCLK?;
D (19132856) SIMCOM rx: 2b 43 53 51 3b 2b 43 4f 50 53 3f 0d             
+CSQ;+COPS?.
D (19132906) SIMCOM rx: 0d 0a 2b 43 52 45 47 3a 20 30 2c 35 0d 0a 0d 0a 
..+CREG: 0,5....
D (19132906) SIMCOM rx: 2b 43 43 4c 4b 3a 20 22 31 37 2f 31 32 2f 32 36 
+CCLK: "17/12/26
D (19132916) SIMCOM rx: 2c 32 30 3a 30 30 3a 33 39 2b 35 32 22 0d 0a 0d 
,20:00:39+52"...
D (19132916) SIMCOM rx: 0a 2b 43 53 51 3a 20 36 2c 39 39 0d 0a 0d 0a 2b 
.+CSQ: 6,99....+
D (19132916) SIMCOM rx: 43 4f 50 53 3a 20 30 2c 30 2c 22 56 6f 64 61 66 
COPS: 0,0,"Vodaf
D (19132916) SIMCOM rx: 6f 6e 65 4e 5a 20 48 6f 6c 6f 67 72 61 6d 22 2c 
oneNZ Hologram",
D (19132916) SIMCOM rx: 32 0d 0a 0d 0a 4f 4b 0d 0a                      
2....OK..
OVMS > D (19142826) SIMCOM tx: f9 0d ff 3b 41 54 2b 43 52 45 47 3f 3b 2b 
43 43 ...;AT+CREG?;+CC



More information about the OvmsDev mailing list