Siemens XT65 User Manual

Page of 123
Java User’s Guide
14 Differences to the TC45
123
s
wm_java_usersguide_v12
Page 123 of 123
2008-02-25
Confidential / Released
14
Differences to the TC45
For those who are familiar with the Siemens WM IMP1.0 product (TC45) this is an overview of
the main differences between this and the IMP-NG product line (e.g. TC65).
„real“ TCP and UDP access interfaces: SocketConnection, ServerSocketConnection, UDP-
DatagramConnection.
Use of StreamConnection, StreamConnectionNotifier, DatagramConnection is now dis-
couraged.
CommConnection can access both RS232 interfaces ASC0 and ASC1
Standard.out can be directed to any of the serial interfaces ASC0, ASC1, USB or written to
the flash file system.
No IO pin multiplexing: GPIOs, DAI and the serial interface for CommConnection do not
share any pins, so the selection mechanism no longer exists.
The CommConnection interface which used to be proprietary (com.siemens.icm.io) is now
part of the standard package (javax.microedition.io).
No interface emulation on the PC: When running a MIDlet under the emulator, it is com-
pletely executed in the connected module and therefore uses the modules ìrealî interfaces.
The emulation of interfaces such as networking, file system or serial interface on the PC
side no longer exists.
jad files required: A suitable descriptor file is now not only required for OTAP but in all
cases. An absent or invalid .jad file causes an error when starting an application (AT^SJRA
or autostart).
Mandatory attributes: the attributes MicroEdition-Profile and MicroEdition-Configuration are
now mandatory attributes in the manifest and .jad file. 
Flexible echo: When using the ATCommand class the “echo“ can be switched on and off
as in non-Java mode. The default is echo on. In the TC45 the echo was always off.
activeCount result: The method activeCount of class Thread returns the number of threads
currently present in the VM. In the TC45 only the non sleeping or waiting threads were
counted.