[Ovmsdev] Issue #99, Can't turn off SIMCOM power

Stephen Casner casner at acm.org
Thu May 3 13:30:27 HKT 2018


Well, it may not be quite so simple.  Unconfiguring MAX7317 then
results in a compilation error:

/Users/casner/src/github/ovms/vehicle/OVMS.V3/components/ovms_webserver/src/web_cfg.cpp: In static member function 'static void OvmsWebServer::HandleCfgFirmware(PageEntry_t&, PageContext_t&)':
/Users/casner/src/github/ovms/vehicle/OVMS.V3/components/ovms_webserver/src/web_cfg.cpp:1459:7: error: 'netif_default' was not declared in this scope
   if (netif_default) {
       ^
make[1]: *** [src/web_cfg.o] Error 1
make: *** [component-ovms_webserver-build] Error 2

                                                        -- Steve

On Thu, 3 May 2018, Mark Webb-Johnson wrote:

> Steve,
>
> Makes sense. I've added it to the Kconfig.
>
> Regards, Mark.
>
> > On 3 May 2018, at 5:27 AM, Stephen Casner <casner at acm.org> wrote:
> >
> > As I commented on Issue #99, I created the problem with SIMCOM not
> > powering off because I had excluded CONFIG_OVMS_COMP_MAX7317 from the
> > config and the power to the SIMCOM is controlled through the MAX7317
> > chip.
> >
> > Would it make sense in Kconfig for config OVMS_COMP_MODEM_SIMCOM
> > to depend upon OVMS_COMP_MAX7317?
> >
> >                                                        -- Steve


More information about the OvmsDev mailing list