[Ovmsdev] No GSM connection
Mark Webb-Johnson
mark at webb-johnson.net
Fri Apr 14 11:22:36 HKT 2023
Chris,
The modem power on/off is not instance. Think of power off like shutdown on a computer (with the shutdown taking a minute or so), and power on like turning on your computer (with the actual boot sequence taking a minute or so). You can see this with ‘cellular status’ and the states ‘powering on’, ‘powering off’, etc.
The reason I mention that is that I suspect the reason you don’t see ICCID is the modem is not fully powered on and boot up complete.
I suggest you reboot the module. Then watch ‘cellular status’ to see the modem power on. When fully on, check the ICCID and hopefully it will be there. If not, then there is some problem reading the SIM (but then seeing a network registration status would not make sense).
As to the registration searching, that is pretty low level and controlled by the modem. It simply can’t find a network to connect to. Are you certain you still have 2G coverage there?
https://www.congstar.de/hilfe-service/netzabdeckung/
Regards, Mark.
> On 13 Apr 2023, at 2:30 PM, Chris van der Meijden <chris at arachnon.de> wrote:
>
> For the second time within a month I have no GSM connection and I'm not able to reestablish the connection.
>
> The SIM card is "Congstar" Prepaid (with enough money on the card). The Network is 2G and connections are normally without any problems here.
>
> What I can see, is that I have a signal around -70 dBm, but can't get a network registration:
>
> Cellular Modem
>
> MODEM Status
> Model: SIM5360
> Network Registration: Searching
> Provider:
> Signal: -69 dBm
> Mode:
> State: NetWait
> Mux: Status up
> PPP: Not running
> GPS: Not running
>
> I can't get an ICCID
>
> Cellular modem configuration
>
> SIM ICCID: (power cellular modem on to read) Power mode of cellular is now on
>
> This is the log output
>
> log level debug cellular
>
> D (455339) cellular: mux-tx #3: AT+CREG?;+CCLK?;+CSQ
> D (455349) cellular: mux-rx-line #3: AT+CREG?;+CCLK?;+CSQ
> D (455359) cellular: mux-rx-line #3: +CREG: 0,2
> D (455359) cellular: mux-rx-line #3: +CCLK: "80/01/06,00:07:36+08"
> D (455359) cellular: mux-rx-line #3: +CSQ: 22,99
> D (455359) cellular: mux-rx-line #3: OK
> D (456339) cellular: mux-tx #3: AT+CPSI?
> D (456349) cellular: mux-rx-line #3: AT+CPSI?
> D (456349) cellular: mux-rx-line #3: +CPSI: NO SERVICE,Online
> D (456349) cellular: mux-rx-line #3: OK
> D (457339) cellular: mux-tx #3: AT+COPS?
> D (457349) cellular: mux-rx-line #3: AT+COPS?
> D (457349) cellular: mux-rx-line #3: ERROR
>
> and this is the Info output on the console
>
> I (1444379) gsm-mux: Start MUX
> I (1444449) gsm-mux: Channel #0 is open
> I (1444459) gsm-mux: Channel #1 is open
> I (1444459) gsm-mux: Channel #2 is open
> I (1444469) gsm-mux: Channel #3 is open
> I (1444479) gsm-mux: Channel #4 is open
> I (1444789) webserver: HTTP POST /api/execute
> I (1444799) webcommand: HttpCommandStream[0x3f8ba0b4]: 3478800 bytes free, executing: cellular status
> I (1445339) cellular: State: Enter NetWait state
> I (1445599) webserver: HTTP POST /api/execute
> I (1445599) webcommand: HttpCommandStream[0x3f8ba0b4]: 3478584 bytes free, executing: cellular status
> I (1455359) cellular: Network Registration status: Searching
> I (1455359) cellular: Signal Quality is: 22 (-69 dBm)
> I (1461919) webserver: HTTP GET /shell
> I (1475359) cellular: Signal Quality is: 18 (-77 dBm)
> I (1485359) cellular: Signal Quality is: 21 (-71 dBm)
>
> The live events show this
>
> Live Events
>
> [08:02:08]system.modem.poweringon
> [08:02:08]egpio.output.0.high
> [08:02:10]egpio.output.0.low
> [08:02:15]system.modem.installed
> [08:02:15]system.modem.poweredon
> [08:02:35]system.modem.muxstart
> [08:02:36]system.modem.netwait
>
> And this is my module information
>
> Module
>
> Last boot was 1719 second(s) ago
> Time at boot: 2023-04-13 07:35:21 CEST
> This is reset #0 since last power cycle
> Detected boot reason: PowerOn (16/14)
> Reset reason: Unknown/unset (0)
> Crash counters: 0 total, 0 early
> Hardware: OVMS WIFI BLE BT cores=2 rev=ESP32/1; MODEM SIM5360
> Firmware: 3.3.003-413-ge0a8e914/ota_0/main (build idf v3.3.4-849-g6e214dc33 Apr 12 2023 20:20:24)
>
> Last time this happened I was able to get the connection back by performing some esotheric button pressing on "Start Modem", "Stop Modem" and "Power cellular Modem on" in the WebUI, but now it does not help.
>
> I compiled the newest version yesterday and I did some reboots of the module and I even pulled the fuse to completely power off my OVMS in the car, but no success.
>
> Is there anything I can do to do some more troubleshooting? Any thoughts on possible causes?
>
> Thanx
>
> Regards
>
> Chris
> _______________________________________________
> OvmsDev mailing list
> OvmsDev at lists.openvehicles.com
> http://lists.openvehicles.com/mailman/listinfo/ovmsdev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20230414/17f190ad/attachment.htm>
More information about the OvmsDev
mailing list