In CellularBase.cpp : void UbloxCellularBase::power_down() function, it first uses the AT+CPWROFF command to cleanly shut down. It is my understanding that this is equivalent to holding the power button for > 1 second.
However, in the function it proceeds to call modem_power_down(), which would do the same as AT+CPWROFF, correct?
With this implementation, the CPWROFF command is shutting my modem down, then the modem_power_down() function is called which pressed the power button for 2 seconds. This actually turns the modem back on, since it was already off via CPWROFF
In CellularBase.cpp : void UbloxCellularBase::power_down() function, it first uses the AT+CPWROFF command to cleanly shut down. It is my understanding that this is equivalent to holding the power button for > 1 second.
However, in the function it proceeds to call modem_power_down(), which would do the same as AT+CPWROFF, correct?
With this implementation, the CPWROFF command is shutting my modem down, then the modem_power_down() function is called which pressed the power button for 2 seconds. This actually turns the modem back on, since it was already off via CPWROFF