TC45 TC45 JAVA User's Guide
Confidential / Released
TC45_JAVA User's Guide_V02
Page 25 of 72
30.06.2003
4.3 Data flow of a Java application running on the module
JVM
Flash File
System
File I/O API
IMP 1.0
RS232 API
AT Command
API
GPIO
ASC1
GPIO
DAI
AT Parser
TCP/IP
confi
gurabl
e pi
ns (GP
IO0-3
/ A
S
C
1)
confi
gurabl
e pi
ns (GP
IO4-8
/ D
A
I)
system.out
ASC0
Figure 4: Data flow of a Java application running on the module.
The diagram shows the data flow of a Java application running on the module. The data flow
of a Java application running in the debug environment can be found in Figure 15.
The compiled Java applications are stored as JAR files in Flash File System of module.
When the application is started, the JVM interprets the JAR file and calls the interfaces to
module environment.
The module environment consists of:
·
Flash File System:
available memory for Java applications
·
TCP/IP:
module internal TCP/IP stack
·
GPIO:
general purpose I/O
·
DAI:
Digital
Audio
Interface
·
ASC1:
Asynchronous serial interface 1
·
AT parser:
accessible AT parser
The Java environment on the module consists of:
·
JVM:
Java
Virtual
Machine
·
AT command API:
Java API to AT parser
·
File API:
Java API to Flash File System
·
RS-232 API:
Java API to ASC1
·
IMP 1.0:
Java API to TCP/IP