[Ovmsdev] Memory leak
Stephen Casner
casner at acm.org
Tue Apr 24 09:17:02 HKT 2018
Mark,
My previous message was sent before I noticed that additional relevant
commits were made today. After updating, I find that the looping
still happens but "simcom setstate PoweredOff" stops the looping. At
that point:
OVMS# simcom status
SIMCOM
Network Registration: NotRegistered
State: PoweredOff
Ticker: 576
User Data: 0
Mux
Status: down
Open Channels: 0
Framing Errors: 0
Last RX frame: 0 sec(s) ago
RX frames: 0
TX frames: 0
PPP
Not Connected
Last Error: Undefined
GPS
Status: disabled
Time: disabled
NMEA: GPS/GLONASS Not Connected
OVMS# conf list auto
auto (readable writeable)
ext12v: no
init: yes
modem: no
obd2ecu:
server.v2: no
server.v3: no
vehicle.type: TR
wifi.mode: client
wifi.ssid.ap: OVMS
wifi.ssid.client: Revelstoke
OVMS#
But "power simcom off" causes the looping to start again.
-- Steve
On Tue, 24 Apr 2018, Mark Webb-Johnson wrote:
> Steven,
>
> What does 'simcom status' show you? Also 'config list auto'? I'm looking for the boot-time auto, and current desired power on status for the simcom.
>
> Can you try 'power simcom off'?
>
> Regards, Mark.
>
> > On 24 Apr 2018, at 8:56 AM, Stephen Casner <casner at acm.org> wrote:
> >
> > On Sun, 22 Apr 2018, Michael Balzer wrote:
> >
> >> The effect of (a) is the modem only answers "ERROR" to the
> >> +CGDATA="PPP" command. I have tried different commands to reset the
> >> internal state, but it was stuck, only a power cycle could solve
> >> this. I have added an automatic power cycle for this situation, but
> >> it didn't occur again yet.
> >
> > My modem has been in the powered-off state for quite some time because
> > I have only been testing on the bench where I have wifi connectivity.
> > Today I installed the module in my Roadster to test some metrics as
> > requested by Greg, and when I plugged it in I saw the blue modem light
> > come on. After I did my test and removed the module to bring it back
> > in and connect to my laptop, the blue light is still on. About every
> > 20 seconds I see this cycle repeating:
> >
> > I (43342) simcom: State timeout, transition to 1
> > I (43342) simcom: State: Enter CheckPowerOff state
> > I (54352) simcom: State: Enter PoweringOff state
> > I (54352) gsm-ppp: Shutdown (direct)
> > I (54352) gsm-nmea: Shutdown (direct)
> > I (54352) simcom: Power Cycle
> > I (54352) netmanager: Interface priority is st1 (192.168.1.84/255.255.255.0 gateway 192.168.1.254)
> >
> > A command "simcom setstate PoweredOff" is not effective.
> >
> > -- Steve
> > _______________________________________________
> > OvmsDev mailing list
> > OvmsDev at lists.openvehicles.com
> > http://lists.openvehicles.com/mailman/listinfo/ovmsdev
>
> _______________________________________________
> OvmsDev mailing list
> OvmsDev at lists.openvehicles.com
> http://lists.openvehicles.com/mailman/listinfo/ovmsdev
>
>
More information about the OvmsDev
mailing list