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

产品代码
6203
下载
页码 109
Java User’s Guide
5.10 GPIO
39
wm_java_usersguide_v19
Page 33 of 109
2012-01-27
Confidential / Released
5.9.3
UDP
Redirection to a UDP socket is used in conjunction with the debugger. UDP is used by default 
when using on-device-debugging (
). This can be changed by editing the emulator’s 
ini file or by using the appropriate command line parameter (
).
If the output is redirected to an UDP socket, any changes of the System.out configuration are 
ignored while the Virtual Machine is running. The UDP Socket settings will not be stored in the 
module.
5.10
GPIO
The GPIO Java API (classes: InPort, OutPort, InPortListener, StartStopPulseCounter, Limit-
PulseCounter and LimitPulseCounterListener) is a replacement for the GPIO AT commands 
(AT^SPIO, AT^SCPIN, ...). Using these classes frees up AT command resources and improves 
performance. Both APIs can only be used alternatively. Of course the basic system character-
istics of a poll interval of 4.6ms (in SLEEP mode up to 2.7s) for pin state change detection does 
also apply here.
5.11
Restrictions
5.11.1
Flash File System
The maximum length of a complete path name, including the path and the filename, is limited 
by the Flash file system on the module to 124 characters. It is recommended that names of 
classes and files be distinguished by more than case sensitivity.
Avoid using any blank in the names of JAR or JAD files. Otherwise the file explorer might not 
recognize the names. If the OTAP server adds a blank into the filenames, problems with OTAP 
will occur.
5.11.2
Memory
The CLDC 1.1 HI features a just-in-time compiler. This means that parts of the Java byte code 
which are frequently executed are translated into machine code to improve efficiency. This fea-
ture uses up RAM space. There is always a trade off between code translation to speed up ex-
ecution and RAM space available for the application.
5.11.3
JAD File Size
The Java Application Descriptor (JAD) File can be used to pass configuration data to the midlet. 
JAD file sizes of up to 30 KByte are allowed.