TC45 TC45 JAVA User's Guide
Confidential / Released
TC45_JAVA User's Guide_V02
Page 26 of 72
30.06.2003
4.4 Handling interfaces and data service resources
To develop Java applications the developer must know which resources, data services and
hardware access are available.
·
There are three AT parsers available, one parser with CSD and two without.
·
There is hardware access over
-
two serial interfaces: ASC0 (System.out only) and ASC1 (fully accessible).
-
general purpose I/O, (GPIO, divided into two groups of pins, pin group 0 and 1).
To configure the hardware access, please refer to the AT Command Set [4] and
the Hardware Interface Description [5].
-
All restrictions of combinations are described in section 4.4.1.
·
A Java application has:
-
three instances of the AT command class, each of which would, in turn, be
attached to one of the three AT parsers.
-
one instance of access to a serial interface, ASC1, through the RS-232 API.
-
System.out over the serial interface, ASC0, for debugging.
4.4.1 Module states
The
module
can
exist
in
the
following
six
states
vis-à-vis
a
Java
application
and
the
four
I/O
pins,
(pin group 0),
used
for
ASC1
and
general
purpose
I/O.
See
the
AT
Command
Set
for
information
about
any
AT
commands
referenced.
A
state
transition
diagram
is
shown
in
Pin group 1 and DAI are not mentioned here. This section only shows how Java applications
must share AT parsers, GPIO pin group 0 and ASC1 resources.
Legend of colors in following figures
Default configuration of module
Default configuration when Java
application is started
configured by AT Command
or RS232 API