User ManualTable of ContentsContent3Tables8Figures91 Preface112 Overview122.1 Related Documents122.2 Terms and Abbreviations133 Installation153.1 System Requirements153.2 Installation CD for AC65/AC75 and XT65/XT75163.3 Installation CD for TC65173.3.1 Components183.3.1.1 Module Exchange Suite183.3.1.2 WTK183.3.1.3 SDK / JDK193.3.1.4 NetBeans IDE 5.0193.3.1.5 NetBeans IDE 5.5.1193.3.1.6 Eclipse 3.1.2 IDE and Eclipse ME Plugin 1.5.x203.3.1.7 Eclipse 3.2.2 IDE and Eclipse ME Plugin 1.5.5 or 1.6.8203.3.1.8 GPS Evaluation Software213.3.1.9 Integrated Documentation Suite (IDS)213.4 Set up Java Development Environment with Eclipse IDE (Quick Start-up)223.5 Siemens Mobility Toolkit Installation243.5.1 Installing the Standard Development Toolkit243.5.2 Installing the SMTK Environment243.5.3 Installing NetBeans IDE 5.0 / NetBeans IDE 5.5.1263.5.4 Installing Eclipse 3.0, Eclipse 3.1 or Eclipse 3.2263.5.5 Installing Borland JBuilder X, 2005 and 2006 Enterprise/ Developer273.5.6 Installing Module Exchange Suite (MES)273.6 SMTK Uninstall273.7 Upgrades274 Software Platform284.1 Software Architecture284.2 Interfaces294.2.1 ASC0 - Serial Device294.2.2 General Purpose I/O294.2.3 DAC/ADC294.2.4 ASC1294.2.5 Digital Audio Interface (DAI)294.2.6 I2C/SPI294.2.7 GPS304.2.8 JVM Interfaces314.2.8.1 IP Networking314.2.8.2 Media314.2.8.3 Other Interfaces314.3 Data Flow of a Java Application Running on the Module324.4 Handling Interfaces and Data Service Resources334.4.1 Module States334.4.1.1 State 1: Default - No Java Running334.4.1.2 State 2: No Java Running, General Purpose I/O and I2C/ SPI344.4.1.3 State 4: Default - Java Application Active344.4.1.4 State 5: Java Application Active, General Purpose I/O and I2C/SPI344.4.2 Module State Transitions355 Maintenance365.1 IP Service365.2 Remote SIM Access375.3 Power Saving375.4 Charging385.5 Airplane Mode385.6 Alarm385.7 Shutdown395.7.1 Automatic Shutdown395.7.2 Manual Shutdown395.7.3 Restart after Switch Off395.7.4 Watchdog395.8 Special AT Command Set for Java Applications405.8.1 Switching from Data Mode to Command Mode405.8.2 Mode Indication after MIDlet Startup405.8.3 Long Responses405.8.4 Configuration of Serial Interface405.8.5 Java Commands415.8.6 AutoExec Function415.9 System Out415.9.1 Serial interfaces415.9.2 File425.9.3 UDP425.10 GPIO425.11 Restrictions425.11.1 Flash File System425.11.2 Memory425.12 Performance435.12.1 Java435.12.2 Pin I/O445.12.3 Data Rates on RS-232 API445.12.3.1 Plain Serial Interface455.12.3.2 Voice Call in Parallel455.12.3.3 Scenarios with GPRS/EGDE Connection455.12.3.4 Upload465.12.3.5 Download475.13 System Time496 MIDlets506.1 MIDlet Documentation506.2 MIDlet Life Cycle506.3 Hello World MIDlet527 File Transfer to Module537.1 Module Exchange Suite537.1.1 Windows Based537.1.2 Command Line Based537.2 Over the Air Provisioning537.3 Security Issues547.3.1 Module Exchange Suite547.3.2 OTAP548 Over The Air Provisioning (OTAP)558.1 Introduction to OTAP558.2 OTAP Overview558.3 OTAP Parameters568.4 Short Message Format578.5 Java File Format588.6 Procedures598.6.1 Install/Update598.6.2 Delete608.7 Time Out Values and Result Codes618.8 Tips and Tricks for OTAP618.9 OTAP Tracer628.10 Security628.11 How To629 Compile and Run a Program without a Java IDE649.1 Build Results649.2 Compile659.3 Run on the Module with Manual Start659.4 Run on the Module with Autostart669.4.1 Switch on Autostart669.4.2 Switch off Autostart6610 Compile and Run a Program with a Java IDE6710.1 Eclipse 3.1.2 (with ME Plugin 1.2.3)6710.1.1 Setup a New Project6711 Debug Environment7211.1 Data Flow of a Java Application in the Debug Environment7211.2 Emulator7311.3 Java IDE7511.3.1 NetBeans IDE 5.0, NetBeans 5.5 or NetBeans 5.5.x7511.3.1.1 Switching Emulator to IMP-NG Emulator7611.3.1.2 Templates7711.3.1.3 Examples7811.3.1.4 Compile and Run7911.3.1.5 Starting Debug Session without Downloading Java Files7911.3.1.6 Displaying Java "System.out" in NetBeans IDE window8011.3.2 Eclipse 3.0 and Eclipse 3.18111.3.2.1 Eclipse 3.08111.3.2.2 Eclipse 3.18111.3.2.3 Eclipse 3.28111.3.2.4 Using Eclipse with ME Plugin up to Version 1.2.38211.3.2.4.1 Additional Configuration of Integrated Emulator8211.3.2.4.2 Switching Emulators8311.3.2.5 Using Eclipse with ME Plugin 1.5.x8311.3.2.5.1 Additional Configuration of Integrated Emulator8411.3.2.5.2 Switching Emulators8511.3.2.6 Using Eclipse with ME Plugin 1.6.x8511.3.2.7 Import Example8611.3.2.8 Compile and Debug8711.3.2.9 Starting Debug Session without Downloading Java Files8911.3.3 Borland JBuilder X9111.3.3.1 Examples9211.3.3.2 Starting Debug Session without Downloading Java Files9311.3.4 Borland JBuilder 2005 and JBuilder 2006 Enterprise/Developer9411.3.4.1 Examples9511.4 Breakpoints9511.5 Switching Java “System.out” to IDE Debug Window9611.6 Important Information for Java Debugging on Windows Vista9712 Java Security9812.1 Secure Data Transfer9812.1.1 Create a Secure Data Transfer Environment Step by Step10012.2 Execution Control10312.2.1 Change to Secured Mode Concept10412.2.2 Concept for the Signing the Java MIDlet10512.3 Application and Data Protection10612.4 Structure and Description of the Java Security Commands10612.4.1 Structure of the Java Security Commands10712.4.2 Build Java Security Command10812.4.3 Send Java Security Command to the Module10912.5 Create a Java Security Environment Step by Step11012.5.1 Create Key Store11012.5.2 Export X.509 Root Certificate11012.5.3 Create Java Security Commands11012.5.4 Sign a MIDlet11212.6 Attention11213 Java Tutorial11313.1 Using the AT Command API11313.1.1 Class ATCommand11313.1.1.1 Instantiation with or without CSD Support11313.1.1.2 Sending an AT Command to the Device, the send() Method11413.1.1.3 Data Connections11513.1.1.4 Synchronization11713.1.2 ATCommandResponseListener Interface11713.1.2.1 Non-Blocking ATCommand.send() Method11713.1.3 ATCommandListener Interface11813.1.3.1 ATEvents11813.1.3.2 Implementation11913.1.3.3 Registering a Listener with an ATCommand Instance12013.2 Programming the MIDlet12113.2.1 Threads12113.2.2 Example12114 Differences to the TC45123Size: 6.05 MBPages: 123Language: EnglishOpen manual