beautypg.com

Differences from the tc45, 13 differences from the tc45 – Siemens TC65 User Manual

Page 90

background image

TC65 JAVA User's Guide
Strictly confidential / Released

s

TC65 JAVA User's Guide_V05

Page 90 of 90

26.09.2005

13

Differences from the TC45

For those who are familiar with the Siemens WM TC45 product this is an overview of the
main differences between TC45 and TC65.

• “real” TCP and UDP access interfaces: SocketConnection, ServerSocketConnection,

UDPDatagramConnection.
Use of StreamConnection, StreamConnectionNotifier, DatagramConnection is now
discouraged.

• Serial interfaces are swapped: Standard.out is on ASC1, CommConnection on ASC0

(->open COM0 instead of COM1)

• 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

completely 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” is 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.