Siemens AC65 Benutzerhandbuch

Seite von 123
Java User’s Guide
5.7 Shutdown
49
s
wm_java_usersguide_v12
Page 39 of 123
2008-02-25
Confidential / Released
5.7
Shutdown
If an unexpected shutdown occurs, data scheduled to be written will get lost due to a buffered
write access to the flash file system. The best and safest approach to powering down the mod-
ule is to issue the AT^SMSO command. This procedure lets the engine log off from the network
and allows the software to enter a secure state and save all data. Further details can be found
in 
5.7.1
Automatic Shutdown
The ME is switched off automatically in different situations:
under- or overtemperature
under- or overvoltage
Appropriate warning messages transmitted by the ME to the host application are implemented
as URCs. To activate the URCs for temperature conditions use the AT^SCTM command. Und-
ervoltage and overvoltage URCs are generated automatically when fault conditions occur. 
For further detail refer to the commands AT^SCTM and AT^SBC described in the AT Com-
mand Set 
. In addition, a description of the shutdown procedures can be found in 
5.7.2
Manual Shutdown
The module can be switched off manually with the AT command, AT^SMSO or when using the
TC65 Terminal by pressing the ignition key for a period of time (see 
). In these cases the
midlets destroyApp method is called and the application has 5s time to clean up and call the
notifydestroy method. After the 5s the VM is shut down.
5.7.3
Restart after Switch Off
When the module is switched off without setting an alarm time (see the AT Command Set [3]),
e.g. after a power failure, external hardware must restart the module with the Ignition line (IGT).
The Hardware Interface Description 
 explains how to handle a switched off situation.
5.7.4
Watchdog
The Watchdog class allows to access the HW watchdog of the system from application level.
Depending on the setting (at^scfg) the userware watchdog can do nothing, switch-off or reboot
the system.
Watchdog class is only available in TC65.