4 charging, 5 airplane mode, 6 alarm – Siemens XT65 User Manual

Page 38: Charging, Airplane mode, Alarm

Advertising
background image

Java User’s Guide

5.4 Charging

49

s

wm_java_usersguide_v12

Page 38 of 123

2008-02-25

Confidential / Released

5.4

Charging

Please refer to

[1]

and

[2]

for general information about charging. Charging can be monitored

by the running Java application. The JVM is active in Charge mode and in Charge-Only mode
if autostart is activated. Only a limited number of AT commands are available when the module
is in Charge-Only mode. A Java application must be able to handle the Charge-Only mode and
reset the module to reinstate the normal mode. See

[2]

for information about the Charge-Only

mode. The Charge-Only mode is indicated by URC “^SYSSTART CHARGE-ONLY MODE”.

Note: When a Java application is started in Charge-Only mode only AT Command APIs without
CSD are available. The mode-indicating URC is created after issuing the very first AT com-
mand on any opened channel. To read the URC it is necessary to register a listener (see

[3]

)

on this AT command API instance before passing the first AT command.

5.5

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

[2]

. The JVM is started when autostart is enabled. A Java appli-

cation 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.6

Alarm

The ALARM can be set with the AT+CALA command. Please refer to the AT Command Set

[1]

and Hardware Interface Description

[2]

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

[1]

and

[2]

. The

mode indicating URC is created after issuing the very first AT command on any opened chan-
nel.

Advertising
This manual is related to the following products: