<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><br class=""></div><div class="">I think this may be a different issue, and maybe cellular related.</div><div class=""><br class=""></div><div class="">It depends on the network, but the cellular standards do have a mechanism where if the cellular network denies registration to a connecting client, the client is supposed to back-off and not try again for a while. I know SIMCOM supports this, because in the early days we had this with Hologram. This is the “FPLMN” list. You can check the status of that list with:</div><div class=""><br class=""></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class=""><div class=""><span style="color: rgb(80, 0, 80); font-family: Helvetica, Arial, sans-serif; background-color: rgb(255, 255, 255);" class="">AT+CRSM=176,28539,0,0,12</span></div></blockquote><div class=""><br class=""></div><div class="">The response is a list of cellular network codes that are currently blocked.</div><div class=""><br class=""></div><div class="">The list can be manually cleared with:</div><div class=""><br class=""></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class=""><div class=""><div class="">AT+CRSM=214,28539,0,0,12,"FFFFFFFFFFFFFFFFFFFFFFFF"</div></div></blockquote><div class=""><br class=""></div>Then power cycling the modem.<div class=""><br class=""></div><div class=""><blockquote type="cite" class="">Any advice on which commands to try when it's not connected?</blockquote></div><div class=""><br class=""></div><div class="">Assuming ‘simcom status’ shows the mux is up and running, then just try to talk to the modem and see what it is doing:</div><div class=""><br class=""></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class="">simcom muxtx 3 AT</blockquote><div class=""><br class=""></div><div class="">Just try to get AT command responses first.</div><div class=""><br class=""></div><div class="">If that works, then need to see why it is not connecting. Check network registration status, COPS status, etc.</div><div class=""><br class=""></div><div class="">Regards, Mark.</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 25 Mar 2018, at 3:39 AM, Tom Parker <<a href="mailto:tom@carrott.org" class="">tom@carrott.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">On 25/03/18 02:41, Mark Webb-Johnson wrote:<br class=""><blockquote type="cite" class="">What do you mean by ‘disable and reactivate the SIM card’? How are you doing that?<br class=""></blockquote><br class="">I have access to Spark's m2m service which allows customers to deactivate and reactivate simcards. The deactivation is immediate, I can see the simcom reports it is disconnected and the ovms starts trying to reconnect. Last time I tried, when I reactivated, the simcom reconnected to the cell phone network but the ovms never re-established a ppp connection. I can send it sms messages and see them show up in the simcom logging so I know some things are working. I last tried this a couple of weeks ago, I'll try again tomorrow.<br class=""><br class="">I have a range of devices on this service and some of the reconnect while other don't, so the ovms isn't the only one having trouble.<br class=""><br class=""><blockquote type="cite" class="">The issue I was having was some task (I suspect lwip) gets messed up. Stopping the modem, trying to connect wifi, etc, all just locked up the async console. I think you had the same?<br class=""></blockquote><br class="">I've certainly had situations where doing simcom power off causes the async console to freeze, but I've only tried to do that after the cellular is has stopped working.<br class=""><br class=""><blockquote type="cite" class="">Cellular connectivity should be a different issue. Maybe just can’t connect to the signal - but the logs should tell us more info. We can also directly issue AT commands when the modem is in that state to try to find out why.<br class=""></blockquote><br class="">Any advice on which commands to try when it's not connected?<br class="">_______________________________________________<br class="">OvmsDev mailing list<br class=""><a href="mailto:OvmsDev@lists.teslaclub.hk" class="">OvmsDev@lists.teslaclub.hk</a><br class="">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev<br class=""></div></div></blockquote></div><br class=""></div></div></body></html>