GPS.getPowerOnOff()

This method gets GPS controller current power ON/OFF status.

It has no input parameter.

The return value is a Python integer which is 0 if GPS controller is powered off or 1 if GPS controller is powered on.

 

Example:

 

status = GPS.getPowerOnOff()

 

gets GPS controller current power ON/OFF status, assigning the return value to status.