TC65 JAVA User's Guide
Strictly confidential / Released
5.4
Airplane Mode
The main characteristic of this mode is that the RF is switched off and therefore only a limited
set of AT commands is available. The mode can be entered or left using the appropriate
at^scfg command. This AT command can also be used to configure the airplane mode as the
standard startup mode, see [4]. The JVM is started when autostart is enabled. A Java
application must be able to handle this mode. The airplane mode is indicated by URC
"SYSSTART AIRPLANE MODE". Since the radio is off all classes related to networking
connections, e.g. SocketConnection, UDPDatagramConnection, SocketServerConnection,
HTTPConnection, will throw an exception when accessed.
5.5
Alarm
The ALARM can be set with the at+cala AT command. Please refer to the AT Command Set
[3] and Hardware Interface Description [4] for more information. One can set an alarm, switch
off the module with at^smso, and have the module restart at the time set with at+cala. When
the alarm triggers the module restarts in a limited functionality mode, the "airplane mode".
Only a limited number of AT commands are available in this mode, although the JVM is
started when autostart is enabled. A Java application must be able to handle this mode and
reset the module to reinstate the normal mode. The mode of a module started by an alarm is
indicated by the URC "^SYSSTART AIRPLANE MODE".
Note: For detailed information which functionality is available in this mode see [4]. The mode
indicating URC is created after issuing the very first AT command on any opened channel.
5.6
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 module 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 [4].
5.6.1
Automatic Shutdown
The module is switched off automatically in different situations:
• under- or overtemperature
• under- or overvoltage
The shutdown will happen without a warning notification unless the appropriate URC has
been activated. If the URCs are enabled, the module will deliver an alert before switching off.
To activate the URCs for temperature conditions use the at^sctm command; to activate the
voltage condition URCs use the at^sbc command. It is recommended that these URCs be
activated so that the module can be shut by the application with at^smso after setting an
alarm, see Section 5.5. The commands are described in the AT Command Set [3], while a
description of the shutdown procedure can be found in [4].
TC65 JAVA User's Guide_V05
Page 26 of 90
s
26.09.2005