GPS.powerOnOff(newStatus)

This method powers ON/OFF GPS controller. It is equivalent to the AT$GPSP command.

The input parameter newStatus is a Python integer and can have the following values:

0 - to power OFF GPS controller

1 - to power ON GPS controller.

There is no return value.

 

Example:

 

GPS.powerOnOff(0)

 

GPS controller is powered OFF.