[Ovmsdev] v3 hardware disconnecting from v2 server

Mark Webb-Johnson mark at webb-johnson.net
Sat Mar 24 21:41:01 HKT 2018


Tom,

What do you mean by ‘disable and reactivate the SIM card’? How are you doing that?

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?

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.

Regards, Mark

> On 24 Mar 2018, at 8:43 AM, Tom Parker <tom at carrott.org> wrote:
> 
> On 23/03/18 21:52, Mark Webb-Johnson wrote:
>> On one of my drives, I saw a similar thing. The symptom for me was that ‘power simcom off’ would lock up the console, and wifi could not in general connect to any stations any more. Everything else appeared to be running fine.
>> 
>> Since using the latest ‘wifirefactor’ code, I haven’t see this. But, I haven’t used Access Point mode, or Web Server. I’m trying to keep things simple, to get a base system stable first, before adding more complexity, so I just have a ovms server v2, a wifi scanning client (connecting to any available access point), and a simcom modem running. That seems stable for the past two days for me.
> 
> I'm not running a wifi client at all, and I'm fairly sure I have everything else turned off, I'm only using the leaf, simcom and server v2.
> 
>> So, I’ve just merged in the ‘wifirefactor’ code to master. Can you try with that code, and see if you still get issues?
> 
> I'm running it now, I'll let you know how it goes. I have a reproducible testcase: when using the spark m2m service, the ovms never reconnects if I disable and re-activate the simcard. This doesn't freeze the whole system when I power off the simcom so it may be we have two bugs. I don't have the right simcards here so I'll try it on Monday.
> 
> _______________________________________________
> OvmsDev mailing list
> OvmsDev at lists.teslaclub.hk
> http://lists.teslaclub.hk/mailman/listinfo/ovmsdev




More information about the OvmsDev mailing list