Java User’s Guide

11.3 Java IDE

s

11.3Java IDE

The SMTK is integrated into your Java IDE during installation. Please note that the IDE inte- gration is intended to create MIDlets suitable for the Java enabled module and for debugging using the emulator. JAR files used in the module must be configured according to the batch file examples given. If the SMTK install succeeded, you can easily switch between the Siemens environment and Standard-JDK environment, the special libraries/APIs and emulators are available, and AT commands can be sent to the module. Regular function of the IDE for non- Siemens projects is unchanged.

Using the debugger please keep in mind that the MIDlet-URL, included in the Jad file, has to indicate and store the location where the emulator will find the corresponding Jar file. Generally the location will only be the file name for the Jar file.

If you are using Eclipse IDE the location of the Jar file is “deployed\<filename>.jar”. Please check this path name inside the Jad file before starting a debugging session with Eclipse IDE and change it manually, if the “deployed” subdirectory is missing. Please keep in mind, that the subdirectory “deployed” is used as a default setting in the Eclipse IDE and can be changed by the user within the Eclipse menu.

While using "on-device debugging" the ME is restarted after the end of each debugging ses- sion. This is independent of the used IDE (Eclipse 3.0.1, Eclipse 3.0.2, Eclipse 3.1.0, Eclipse 3.1.1, Eclipse 3.1.2, Eclipse 3.2.x10, NetBeans IDE 5.0, NetBeans 5.5.x10, JBuilder X, JBuilder 2005, JBuilder 2006 Enterprise/Developer).

Please note that the USB port has to be disconnected manually before the module is restarted, in case of using a connected terminal program on USB port for directing the Java “System.out”. It is recommended to use ASC0 or ASC1 for directing Java “System.out” to avoid closing man- ually the COM port.

Please keep in mind, that it is not possible to use obfuscated files for a debugging session.

When writing and debugging a midlet be aware of the midlet life cycle (see Section 6.2 “MIDlet Life Cycle”).

11.3.1NetBeans IDE 5.0, NetBeans 5.5 or NetBeans 5.5.x

Integration for NetBeans IDE 5.5 and 5.5.x is only supported for TC65. The described steps for using Netbeans IDE 5.0 are identical for NetBeans IDE 5.5 and Netbeans 5.5.x.

This section indicates the changes to your IDE you will see after integrating the SMTK and describes how to exploit these features to build and debug your applications.

All installed emulators can be found using the NetBeans IDE 5.0 menu Tools Java Platform Manager. See Figure 31.

10.only supported for TC65

wm_java_usersguide_v12

Page 75 of 123

2008-02-25

Confidential / Released

 

 

Page 75
Image 75
Siemens XT65, TC65, AC65, XT75 manual Java IDE, NetBeans IDE 5.0, NetBeans 5.5 or NetBeans

AC65, XT65, XT75, TC65 specifications

The Siemens TC65 is a compact and powerful GSM/GPRS module designed for a wide range of mobile communication applications. With its robust features, the TC65 perfectly meets the growing demands for connectivity in various industries, including automotive, telematics, and industrial automation.

A standout feature of the TC65 is its compact size, allowing it to be easily integrated into various devices without compromising on performance. The module supports GSM (Global System for Mobile Communications) and GPRS (General Packet Radio Service), providing reliable and efficient voice and data transmission.

One of the key technologies incorporated in the TC65 is its integrated TCP/IP stack, which allows for seamless internet connectivity and enables application developers to create IoT solutions with ease. This capability is essential for remote monitoring, data logging, and other applications that require continuous data exchange.

The TC65 also boasts extensive multimedia capabilities, including support for SMS, MMS, and voice calls. This makes it suitable for applications that require not only data transmission but also communication features. Additionally, it supports various codecs for voice compression, ensuring high-quality audio in voice applications.

Enhanced security features are another highlight of the TC65. It incorporates comprehensive security protocols to safeguard data transmission, making it suitable for sensitive applications in finance, healthcare, and other critical sectors. The module also includes an integrated SIM application toolbox that supports the development of secure and customizable applications.

For developers, the TC65 offers an easy-to-use software development kit (SDK), simplifying the process of application development. This means that businesses can quickly create and deploy solutions tailored to their specific needs.

The module operates across a wide voltage range and is designed to tolerate challenging environmental conditions, making it ideal for industrial use. It supports various interfaces, including UART, GPIO, and I2C, enabling it to connect with a variety of peripherals and sensors, thus expanding its usability.

In summary, the Siemens TC65 combines compact design, versatile communication capabilities, advanced security features, and developer-friendly resources, making it an excellent choice for anyone looking to implement reliable and sophisticated GSM/GPRS communication in their applications. The TC65 is a valuable asset in the evolving landscape of connected devices and IoT solutions.