6 mod.powersaving(timeout) 11, 7 mod.powersavingexitcause()11, 6 mod.powersaving(timeout) – Rainbow Electronics GM862-GPS User Manual
Page 45: 7 mod.powersavingexitcause()

Easy Script
in Python
80000ST10020a Rev.8 - 01/10/08
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 45 of 100
Disables Python watchdog.
2.7.6 MOD.powerSaving(timeout)
This new feature allows Python to put the system in power saving mode
12
for a certain period or until
an external event
13
occurs in the same way as AT command AT+CFUN=0 does. Input parameter
timeout is an integer, which is measured in seconds and represents time for which the Python script
remains blocked. Python script will exit power saving mode when the determined value of timeout is
reached or after unsolicited signal. If the timeout has negative value Python script will exit from power
saving mode only when an external event occurs.
No return value.
Example:
MOD.powerSaving(100)
Python script will exit power saving mode after 100sec or when an external event occurs.
2.7.7 MOD.powerSavingExitCause()
This command can be executed after MOD.powerSaving(timeout) and gives the cause of unblocking
the Python script. No input parameter.
Return value is a Python integer which is 0 if Python script has exit power saving mode after an
external event otherwise it is 1 if Python script has exit power saving mode after the timeout is
reached.
Example:
MOD.powerSavingExitCause()
gets the cause of exiting of Python script from the power saving mode
12
ATTENTION: when the script debugging is activated the module does not enter in power saving mode
13
an external event in this case can be: URC unsolicited message (ex. RING of incoming calls) or putting RTS
high (when it goes back low the power saving mode remains disabled)