Cep Terminals GSM/GPRS TERMINAL CT63 JAVA 6203 用户手册

产品代码
6203
下载
页码 109
Java User’s Guide
5.4 Charging
39
wm_java_usersguide_v19
Page 29 of 109
2012-01-27
Confidential / Released
5.4
Charging
Please refer to 
 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 
 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 
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 
. The JVM is started when autostart is enabled. A Java ap-
plication must be able to handle this mode. The airplane mode is indicated by URC “SYS-
START AIRPLANE MODE”. Since the radio is off all classes related to networking connections, 
e.g. SocketConnection, UDPDatagramConnection, SocketServerConnection, HTTPConnec-
tion, 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 
and Hardware Interface Description 
 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 
 and 
. The 
mode indicating URC is created after issuing the very first AT command on any opened chan-
nel.