Siemens Java TC65 Manuals

Manuals and User Guides for Siemens Java TC65. We have 3 Siemens Java TC65 manuals available for free PDF download: User Manual

Siemens Java TC65 User Manual

Siemens Java TC65 User Manual (123 pages)

Siemens Cell Phone Accessories User Manual  
Brand: Siemens | Category: Cell Phone Accessories | Size: 6.35 MB
Table of contents
Table Of Contents3................................................................................................................................................................
Preface11................................................................................................................................................................
Overview12................................................................................................................................................................
Related Documents12................................................................................................................................................................
Figure 1: Overview12................................................................................................................................................................
Terms And Abbreviations13................................................................................................................................................................
Installation15................................................................................................................................................................
System Requirements15................................................................................................................................................................
Installation Cd For Ac65/ac75 And Xt65/xt7516................................................................................................................................................................
Installation Cd For Tc6517................................................................................................................................................................
Components18................................................................................................................................................................
Module Exchange Suite18................................................................................................................................................................
Wtk18................................................................................................................................................................
Sdk / Jdk19................................................................................................................................................................
Netbeans Ide 5.019................................................................................................................................................................
Netbeans Ide 5.5.119................................................................................................................................................................
Eclipse 3.1.2 Ide And Eclipse Me Plugin 1.5.x20................................................................................................................................................................
Eclipse 3.2.2 Ide And Eclipse Me Plugin 1.5.5 Or 1.6.820................................................................................................................................................................
Gps Evaluation Software21................................................................................................................................................................
Integrated Documentation Suite (ids)21................................................................................................................................................................
Set Up Java Development Environment With Eclipse Ide (quick Start-up)22................................................................................................................................................................
Figure 2: Installation Of Eclipse Me-plugin 1.2.3: Dialog Box Feature Updates22................................................................................................................................................................
Figure 3: Installation Of Eclipse Me-plugin 1.2.3: Dialog Box Updates Sites To Visit22................................................................................................................................................................
Figure 4: Installation Of Eclipse Me-plugin 1.2.3: Dialog Box Search Results23................................................................................................................................................................
Figure 5: Installation Of Eclipse Me-plugin 1.2.3: Dialog Box Restart Eclipse23................................................................................................................................................................
Siemens Mobility Toolkit Installation24................................................................................................................................................................
Installing The Standard Development Toolkit24................................................................................................................................................................
Installing The Smtk Environment24................................................................................................................................................................
Installing Netbeans Ide 5.0 / Netbeans Ide 5.5.126................................................................................................................................................................
Installing Eclipse 3.0, Eclipse 3.1 Or Eclipse 3.226................................................................................................................................................................
Installing Borland Jbuilder X, 2005 And 2006 Enterprise/developer27................................................................................................................................................................
Installing Module Exchange Suite (mes)27................................................................................................................................................................
Smtk Uninstall27................................................................................................................................................................
Upgrades27................................................................................................................................................................
Software Platform28................................................................................................................................................................
Software Architecture28................................................................................................................................................................
Interfaces29................................................................................................................................................................
Asc0 - Serial Device29................................................................................................................................................................
General Purpose I/o29................................................................................................................................................................
Dac/adc29................................................................................................................................................................
Asc129................................................................................................................................................................
Digital Audio Interface (dai)29................................................................................................................................................................
I2c/spi29................................................................................................................................................................
Gps30................................................................................................................................................................
Jvm Interfaces31................................................................................................................................................................
Ip Networking31................................................................................................................................................................
Media31................................................................................................................................................................
Other Interfaces31................................................................................................................................................................
Figure 6: Interface Configuration31................................................................................................................................................................
Data Flow Of A Java Application Running On The Module32................................................................................................................................................................
Figure 7: Data Flow Of A Java Application Running On The Module32................................................................................................................................................................
Handling Interfaces And Data Service Resources33................................................................................................................................................................
Module States33................................................................................................................................................................
State 1: Default - No Java Running33................................................................................................................................................................
Figure 8: Module State 133................................................................................................................................................................
State 2: No Java Running, General Purpose I/o And I2c/spi34................................................................................................................................................................
State 4: Default - Java Application Active34................................................................................................................................................................
State 5: Java Application Active, General Purpose I/o And I2c/spi3434................................................................................................................................................................
Figure 9: Module State 234................................................................................................................................................................
Figure 10: Module State 434................................................................................................................................................................
Figure 11: Module State 534................................................................................................................................................................
Module State Transitions35................................................................................................................................................................
Figure 12: Module State Transition Diagram35................................................................................................................................................................
Maintenance36................................................................................................................................................................
Ip Service36................................................................................................................................................................
Remote Sim Access37................................................................................................................................................................
Power Saving37................................................................................................................................................................
Charging38................................................................................................................................................................
Airplane Mode38................................................................................................................................................................
Alarm38................................................................................................................................................................
Shutdown39................................................................................................................................................................
Automatic Shutdown39................................................................................................................................................................
Manual Shutdown39................................................................................................................................................................
Restart After Switch Off39................................................................................................................................................................
Watchdog39................................................................................................................................................................
Special At Command Set For Java Applications40................................................................................................................................................................
Switching From Data Mode To Command Mode40................................................................................................................................................................
Mode Indication After Midlet Startup40................................................................................................................................................................
Long Responses40................................................................................................................................................................
Configuration Of Serial Interface40................................................................................................................................................................
Java Commands41................................................................................................................................................................
Autoexec Function41................................................................................................................................................................
System Out41................................................................................................................................................................
Serial Interfaces41................................................................................................................................................................
File42................................................................................................................................................................
Udp42................................................................................................................................................................
Gpio42................................................................................................................................................................
Restrictions42................................................................................................................................................................
Flash File System42................................................................................................................................................................
Memory42................................................................................................................................................................
Performance43................................................................................................................................................................
Java43................................................................................................................................................................
Figure 13: Test Case For Measuring Java Command Execution Throughput43................................................................................................................................................................
Pin I/o44................................................................................................................................................................
Data Rates On Rs-232 Api44................................................................................................................................................................
Figure 14: Test Case For Measuring Java Midlet Performance And Handling Pin-io44................................................................................................................................................................
Plain Serial Interface45................................................................................................................................................................
Voice Call In Parallel45................................................................................................................................................................
Scenarios With Gprs/egde Connection45................................................................................................................................................................
Figure 15: Scenario For Testing Data Rates On Asc145................................................................................................................................................................
Figure 16: Scenario For Testing Data Rates On Asc1 With A Voice Call In Parallel45................................................................................................................................................................
Upload46................................................................................................................................................................
Table 1: Gprs Upload Data Rate With Different Number Of Timeslots, Cs246................................................................................................................................................................
Table 2: Gprs Upload Data Rate With Different Number Of Timeslots, Cs446................................................................................................................................................................
Table 3: Edge Upload Data Rate With Two Timeslots, Cs546................................................................................................................................................................
Table 4: Edge Upload Data Rate With Two Timeslots, Cs946................................................................................................................................................................
Download47................................................................................................................................................................
Figure 17: Scenario For Testing Data Rates On Asc1 With Gprs Data Upload47................................................................................................................................................................
Figure 18: Scenario For Testing Data Rates On Asc1 With Gprs Data Download47................................................................................................................................................................
Table 5: Gprs Download Data Rate With Different Number Of Timeslots, Cs248................................................................................................................................................................
Table 6: Gprs Download Data Rate With Different Number Of Timeslots, Cs448................................................................................................................................................................
Table 7: Edge Download Data Rate With Different Number Of Timeslots, Cs548................................................................................................................................................................
Table 8: Edge Download Data Rate With Different Number Of Timeslots, Cs948................................................................................................................................................................
System Time49................................................................................................................................................................
Midlets50................................................................................................................................................................
Midlet Documentation50................................................................................................................................................................
Midlet Life Cycle50................................................................................................................................................................
Table 9: A Typical Sequence Of Midlet Execution51................................................................................................................................................................
Hello World Midlet52................................................................................................................................................................
File Transfer To Module53................................................................................................................................................................
Windows Based53................................................................................................................................................................
Command Line Based53................................................................................................................................................................
Over The Air Provisioning53................................................................................................................................................................
Security Issues54................................................................................................................................................................
Otap54................................................................................................................................................................
Over The Air Provisioning (otap)55................................................................................................................................................................
Introduction To Otap55................................................................................................................................................................
Otap Overview55................................................................................................................................................................
Figure 19: Otap Overview55................................................................................................................................................................
Otap Parameters56................................................................................................................................................................
Table 10: Parameters And Keywords56................................................................................................................................................................
Short Message Format57................................................................................................................................................................
Java File Format58................................................................................................................................................................
Procedures59................................................................................................................................................................
Install/update59................................................................................................................................................................
Figure 20: Otap: Install/update Information Flow (messages In Brackets Are Optional)59................................................................................................................................................................
Delete60................................................................................................................................................................
Figure 21: Otap: Delete Information Flow (messages In Brackets Are Optional)60................................................................................................................................................................
Time Out Values And Result Codes61................................................................................................................................................................
Tips And Tricks For Otap61................................................................................................................................................................
Otap Tracer62................................................................................................................................................................
Security62................................................................................................................................................................
How To62................................................................................................................................................................
Compile And Run A Program Without A Java Ide64................................................................................................................................................................
Build Results64................................................................................................................................................................
Compile65................................................................................................................................................................
Run On The Module With Manual Start65................................................................................................................................................................
Run On The Module With Autostart66................................................................................................................................................................
Switch On Autostart66................................................................................................................................................................
Switch Off Autostart66................................................................................................................................................................
Compile And Run A Program With A Java Ide67................................................................................................................................................................
Eclipse 3.1.2 (with Me Plugin 1.2.3)67................................................................................................................................................................
Setup A New Project67................................................................................................................................................................
Figure 22: Create New Eclipse Project: Create A J2me Midp Midlet Suite67................................................................................................................................................................
Figure 23: Create New Eclipse Project: New J2me Project67................................................................................................................................................................
Figure 24: Create New Eclipse Project: Midlet Suite Properties68................................................................................................................................................................
Figure 25: Create New Eclipse Project: Work Area With New Created Project68................................................................................................................................................................
Figure 26: Create New Eclipse Project: Create A J2me Midlet69................................................................................................................................................................
Figure 27: Create New Eclipse Project: Create A New J2me Midlet69................................................................................................................................................................
Figure 28: Create New Eclipse Project: Edit Some Java Commands70................................................................................................................................................................
Figure 29: Create New Eclipse Project: Edit "deployed" Path To Jar File70................................................................................................................................................................
Debug Environment72................................................................................................................................................................
Data Flow Of A Java Application In The Debug Environment72................................................................................................................................................................
Figure 30: Data Flow Of A Java Application In The Debug Environment72................................................................................................................................................................
Emulator73................................................................................................................................................................
Java Ide75................................................................................................................................................................
Netbeans Ide 5.0, Netbeans 5.5 Or Netbeans 5.5.x75................................................................................................................................................................
Switching Emulator To Imp-ng Emulator76................................................................................................................................................................
Figure 31: Netbeans Ide 5.0 - Installed Emulators76................................................................................................................................................................
Figure 32: Netbeans Ide 5.0 - Switching To Imp-ng Emulator76................................................................................................................................................................
Templates77................................................................................................................................................................
Figure 33: Netbeans Ide 5.0 - Selecting An Imp-ng Midlet Template77................................................................................................................................................................
Examples78................................................................................................................................................................
Figure 34: Netbeans Ide 5.0 - Selecting Sample Project "hello World Sample78................................................................................................................................................................
Figure 35: Netbeans Ide 5.0 - Confirmation Of Sample Project "hello World Sample78................................................................................................................................................................
Compile And Run79................................................................................................................................................................
Starting Debug Session Without Downloading Java Files79................................................................................................................................................................
Figure 36: Netbeans Ide 5.0 - Add Emulator Option "-noload79................................................................................................................................................................
Displaying Java "system.out" In Netbeans Ide Window80................................................................................................................................................................
Figure 37: Netbeans Ide 5.0 - Displaying Java "system.out" In Netbeans Ide Window80................................................................................................................................................................
Eclipse 3.0 And Eclipse 3.181................................................................................................................................................................
Eclipse 3.081................................................................................................................................................................
Eclipse 3.181................................................................................................................................................................
Eclipse 3.281................................................................................................................................................................
Using Eclipse With Me Plugin Up To Version 1.2.382................................................................................................................................................................
Figure 38: Eclipse - Display Of Different Integrated Emulators82................................................................................................................................................................
Using Eclipse With Me Plugin 1.5.x83................................................................................................................................................................
Figure 39: Eclipse - J2me Platform83................................................................................................................................................................
Figure 40: Eclipse With Me Plugin 1.5.0 - Display Of Different Integrated Emulators84................................................................................................................................................................
Using Eclipse With Me Plugin 1.6.x85................................................................................................................................................................
Figure 41: Eclipse With Me Plugin 1.5.0 - J2me Platform85................................................................................................................................................................
Import Example86................................................................................................................................................................
Figure 42: Eclipse - Project Import86................................................................................................................................................................
Figure 43: Eclipse - Example86................................................................................................................................................................
Compile And Debug87................................................................................................................................................................
Figure 44: Eclipse - Create Package87................................................................................................................................................................
Figure 45: Eclipse - Configuration88................................................................................................................................................................
Figure 46: Eclipse - Configuration89................................................................................................................................................................
Figure 47: Eclipse 3.2.x Me1.5.x And 1.6.x Select System Java Thread For Showing Breakpoint Line In Java Source90................................................................................................................................................................
Borland Jbuilder X91................................................................................................................................................................
Figure 48: Jbuilder X - Jdk Settings91................................................................................................................................................................
Figure 49: Jbuilder X - Siemens Library91................................................................................................................................................................
Figure 50: Jbuilder X - Sample Projects92................................................................................................................................................................
Figure 51: Jbuilder X - Starting The Debugging Session92................................................................................................................................................................
Figure 52: Jbuilder X - Edit Project Properties For Starting The Emulator93................................................................................................................................................................
Figure 53: Jbuilder - Runtime Configuration93................................................................................................................................................................
Borland Jbuilder 2005 And Jbuilder 2006 Enterprise/developer94................................................................................................................................................................
Figure 54: Jbuilder 2006 Enterprise/developer - Jdk Settings94................................................................................................................................................................
Figure 55: Jbuilder 2006 Enterprise/developer - Siemens Library94................................................................................................................................................................
Breakpoints95................................................................................................................................................................
Figure 56: Jbuilder 2006 Enterprise/developer - Sample Projects95................................................................................................................................................................
Switching Java "system.out" To Ide Debug Window96................................................................................................................................................................
Figure 57: Emulator Configuration File "switching Java System.out To Serial Port96................................................................................................................................................................
Important Information For Java Debugging On Windows Vista97................................................................................................................................................................
Figure 58: Using Windows Vista: Set Eclipse.exe Perament To "run As Administrator97................................................................................................................................................................
Java Security98................................................................................................................................................................
Secure Data Transfer98................................................................................................................................................................
Figure 59: Mode 1 - Customer Root Certificate Does Not Exist99................................................................................................................................................................
Figure 60: Mode 2 - Server Certificate And Certificate Into Module Are Identical99................................................................................................................................................................
Create A Secure Data Transfer Environment Step By Step100................................................................................................................................................................
Figure 61: Mode 2 - Server Certificate And Self Signed Root Certificate In Module Form A Chain100................................................................................................................................................................
Execution Control103................................................................................................................................................................
Change To Secured Mode Concept104................................................................................................................................................................
Figure 62: Insert Customer Root Certificate104................................................................................................................................................................
Concept For The Signing The Java Midlet105................................................................................................................................................................
Figure 63: Prepare Midlet For Secured Mode105................................................................................................................................................................
Application And Data Protection106................................................................................................................................................................
Structure And Description Of The Java Security Commands106................................................................................................................................................................
Structure Of The Java Security Commands107................................................................................................................................................................
Build Java Security Command108................................................................................................................................................................
Figure 64: Build Java Security Command108................................................................................................................................................................
Send Java Security Command To The Module109................................................................................................................................................................
Create A Java Security Environment Step By Step110................................................................................................................................................................
Create Key Store110................................................................................................................................................................
Export X.509 Root Certificate110................................................................................................................................................................
Create Java Security Commands110................................................................................................................................................................
Sign A Midlet112................................................................................................................................................................
Attention112................................................................................................................................................................
Java Tutorial113................................................................................................................................................................
Using The At Command Api113................................................................................................................................................................
Class Atcommand113................................................................................................................................................................
Instantiation With Or Without Csd Support113................................................................................................................................................................
Sending An At Command To The Device, The Send() Method114................................................................................................................................................................
Data Connections115................................................................................................................................................................
Synchronization117................................................................................................................................................................
Atcommandresponselistener Interface117................................................................................................................................................................
Non-blocking Atcommand.send() Method117................................................................................................................................................................
Atcommandlistener Interface118................................................................................................................................................................
Atevents118................................................................................................................................................................
Implementation119................................................................................................................................................................
Registering A Listener With An Atcommand Instance120................................................................................................................................................................
Programming The Midlet121................................................................................................................................................................
Threads121................................................................................................................................................................
Example121................................................................................................................................................................
Differences To The Tc45123................................................................................................................................................................

Advertisement

Siemens Java TC65 User Manual

Siemens Java TC65 User Manual (90 pages)

JAVA User's Guide  
Brand: Siemens | Category: Computer Hardware | Size: 2.37 MB
Table of contents
Table Of Contents3................................................................................................................................................................
Preamble8................................................................................................................................................................
Overview9................................................................................................................................................................
Related Documents9................................................................................................................................................................
Figure 1: Overview9................................................................................................................................................................
Terms And Abbreviations10................................................................................................................................................................
Installation11................................................................................................................................................................
System Requirements11................................................................................................................................................................
Installation Cd11................................................................................................................................................................
Components12................................................................................................................................................................
Module Exchange Suite12................................................................................................................................................................
Wtk12................................................................................................................................................................
Sdk And Java Studio12................................................................................................................................................................
Siemens Mobility Toolkit Installation13................................................................................................................................................................
Installing The Standard Development Toolkit13................................................................................................................................................................
Installing The Smtk Environment13................................................................................................................................................................
Installing Sun Java Studio Mobility 614................................................................................................................................................................
Installing Eclipse 3.014................................................................................................................................................................
Installing Borland Jbuilder X And 200514................................................................................................................................................................
Installing Module Exchange Suite (mes)14................................................................................................................................................................
Smtk Uninstall15................................................................................................................................................................
Upgrades15................................................................................................................................................................
Software Platform16................................................................................................................................................................
Software Architecture16................................................................................................................................................................
Interfaces17................................................................................................................................................................
Asc0 - Serial Device17................................................................................................................................................................
General Purpose I/o17................................................................................................................................................................
Dac/adc17................................................................................................................................................................
Asc117................................................................................................................................................................
Digital Audio Interface (dai)17................................................................................................................................................................
I2c/spi17................................................................................................................................................................
Jvm Interfaces18................................................................................................................................................................
Ip Networking18................................................................................................................................................................
Media18................................................................................................................................................................
Other Interfaces18................................................................................................................................................................
Figure 2: Interface Configuration18................................................................................................................................................................
Data Flow Of A Java Application Running On The Module19................................................................................................................................................................
Figure 3: Data Flow Of A Java Application Running On The Module19................................................................................................................................................................
Handling Interfaces And Data Service Resources20................................................................................................................................................................
Module States20................................................................................................................................................................
State 1: Default - No Java Running21................................................................................................................................................................
State 2: No Java Running, General Purpose I/o And I2c21................................................................................................................................................................
State 3: No Java Running, General Purpose I/o And Spi21................................................................................................................................................................
State 4: Default - Java Application Active21................................................................................................................................................................
Figure 4: Module State 121................................................................................................................................................................
Figure 5: Module State 221................................................................................................................................................................
Figure 6: Module State 321................................................................................................................................................................
Figure 7: Module State 421................................................................................................................................................................
State 5: Java Application Active, General Purpose I/o And I2c22................................................................................................................................................................
State 6: Java Application Active, General Purpose I/o And Spi22................................................................................................................................................................
Figure 8: Module State 522................................................................................................................................................................
Figure 9: Module State 622................................................................................................................................................................
Module State Transitions23................................................................................................................................................................
Figure 10: Module State Transition Diagram23................................................................................................................................................................
Maintenance24................................................................................................................................................................
Ip Service24................................................................................................................................................................
Power Saving25................................................................................................................................................................
Charging25................................................................................................................................................................
Airplane Mode26................................................................................................................................................................
Alarm26................................................................................................................................................................
Shutdown26................................................................................................................................................................
Automatic Shutdown26................................................................................................................................................................
Manual Shutdown27................................................................................................................................................................
Restart After Switch Off27................................................................................................................................................................
Special At Command Set For Java Applications27................................................................................................................................................................
Switching From Data Mode To Command Mode27................................................................................................................................................................
Mode Indication After Midlet Startup27................................................................................................................................................................
Long Responses27................................................................................................................................................................
Configuration Of Serial Interface28................................................................................................................................................................
Java Commands28................................................................................................................................................................
Restrictions28................................................................................................................................................................
Flash File System28................................................................................................................................................................
Memory28................................................................................................................................................................
Performance29................................................................................................................................................................
Java29................................................................................................................................................................
Figure 11: Test Case For Measuring Java Command Execution Throughput29................................................................................................................................................................
Pin I/o30................................................................................................................................................................
Data Rates On Rs-232 Api30................................................................................................................................................................
Figure 12: Test Case For Measuring Java Midlet Performance And Handling Pin-io30................................................................................................................................................................
Plain Serial Interface31................................................................................................................................................................
Voice Call In Parallel31................................................................................................................................................................
Figure 13: Scenario For Testing Data Rates On Asc131................................................................................................................................................................
Figure 14: Scenario For Testing Data Rates On Asc1 With A Voice Call In Parallel31................................................................................................................................................................
Scenarios With Gprs Connection32................................................................................................................................................................
Upload32................................................................................................................................................................
Figure 15: Scenario For Testing Data Rates On Asc1 With Gprs Data Upload32................................................................................................................................................................
Table 1: Download Data Rate With Different Number Of Timeslots, Cs232................................................................................................................................................................
Table 2: Download Data Rate With Different Number Of Timeslots, Cs432................................................................................................................................................................
Download33................................................................................................................................................................
Figure 16: Scenario For Testing Data Rates On Asc1 With Gprs Data Download33................................................................................................................................................................
Table 3: Download Data Rate With Different Number Of Timeslots, Cs233................................................................................................................................................................
Table 4: Download Data Rate With Different Number Of Timeslots, Cs433................................................................................................................................................................
Midlets34................................................................................................................................................................
Midlet Documentation34................................................................................................................................................................
Midlet Life Cycle34................................................................................................................................................................
Table 5: A Typical Sequence Of Midlet Execution35................................................................................................................................................................
Hello World Midlet36................................................................................................................................................................
File Transfer To Module37................................................................................................................................................................
Windows Based37................................................................................................................................................................
Command Line Based37................................................................................................................................................................
Over The Air Provisioning38................................................................................................................................................................
Security Issues38................................................................................................................................................................
Otap38................................................................................................................................................................
Over The Air Provisioning (otap)39................................................................................................................................................................
Introduction To Otap39................................................................................................................................................................
Otap Overview39................................................................................................................................................................
Figure 17: Otap Overview39................................................................................................................................................................
Otap Parameters40................................................................................................................................................................
Table 6: Parameters And Keywords40................................................................................................................................................................
Short Message Format41................................................................................................................................................................
Java File Format42................................................................................................................................................................
Procedures43................................................................................................................................................................
Install/update43................................................................................................................................................................
Figure 18: Otap: Install/update Information Flow43................................................................................................................................................................
Delete44................................................................................................................................................................
Figure 19: Otap: Delete Information Flow44................................................................................................................................................................
Time Out Values And Result Codes45................................................................................................................................................................
Tips And Tricks For Otap45................................................................................................................................................................
Otap Tracer46................................................................................................................................................................
Security46................................................................................................................................................................
How To47................................................................................................................................................................
Compile And Run A Program Without A Java Ide48................................................................................................................................................................
Build Results48................................................................................................................................................................
Compile49................................................................................................................................................................
Run On The Module With Manual Start49................................................................................................................................................................
Run On The Module With Autostart49................................................................................................................................................................
Switch On Autostart50................................................................................................................................................................
Switch Off Autostart50................................................................................................................................................................
Debug Environment51................................................................................................................................................................
Data Flow Of A Java Application In The Debug Environment51................................................................................................................................................................
Figure 20: Data Flow Of A Java Application In The Debug Environment51................................................................................................................................................................
Emulator52................................................................................................................................................................
Java Ide53................................................................................................................................................................
Sun Java Studio Mobility 6 2004q354................................................................................................................................................................
Figure 21: Sun Java Studio Mobility 6 - The Installed Emulators54................................................................................................................................................................
Switching Emulators55................................................................................................................................................................
Figure 22: Sun Java Studio Mobility 6 - Switching Emulators55................................................................................................................................................................
Projects56................................................................................................................................................................
Figure 23: Sun Java Studio Mobility 6 - Project Manager56................................................................................................................................................................
Templates57................................................................................................................................................................
Examples57................................................................................................................................................................
Compile And Run57................................................................................................................................................................
Figure 24: Sun Java Studio Mobility 6 - Selecting A Template57................................................................................................................................................................
Borland Jbuilder X58................................................................................................................................................................
Figure 25: Jbuilderx - Jdk Settings58................................................................................................................................................................
Figure 26: Jbuilderx - Siemens Library58................................................................................................................................................................
Figure 27: Jbuilderx - Sample Projects59................................................................................................................................................................
Figure 28: Jbuilderx - Starting The Debugging Session60................................................................................................................................................................
Borland Jbuilder 200561................................................................................................................................................................
Figure 29: Jbuilder2005 - Jdk Settings61................................................................................................................................................................
Figure 30: Jbuilderx - Siemens Library61................................................................................................................................................................
Eclipse 3.062................................................................................................................................................................
Integration62................................................................................................................................................................
Figure 31: Jbuilder2005 - Sample Projects62................................................................................................................................................................
Figure 32: Eclipse - Plug-in Installation63................................................................................................................................................................
Figure 33: Eclipse - Plug-in Installation, Restart63................................................................................................................................................................
Figure 34: Eclipse - Imp-ng Component64................................................................................................................................................................
Figure 35: Eclipse - J2me Platform64................................................................................................................................................................
Example65................................................................................................................................................................
Figure 36: Eclipse - Project Import65................................................................................................................................................................
Figure 37: Eclipse - Example66................................................................................................................................................................
Compile And Debug67................................................................................................................................................................
Figure 38: Eclipse - Create Package67................................................................................................................................................................
Breakpoints68................................................................................................................................................................
Figure 39: Eclipse - Configuration68................................................................................................................................................................
Java Security69................................................................................................................................................................
Secure Data Transfer70................................................................................................................................................................
Figure 40: Mode 1 - Java Security Not Activated70................................................................................................................................................................
Figure 42: Mode 2 - Java Security Activated (server Certificate And Self Signed Root Certificate In Module Form A Chain)70................................................................................................................................................................
Figure 41: Mode 2 - Java Security Activated (server Certificate = Certificate Into Module)71................................................................................................................................................................
Create A Secure Data Transfer Environment Step By Step72................................................................................................................................................................
Execution Control73................................................................................................................................................................
Change To Secured Mode Concept74................................................................................................................................................................
Figure 43: Switch To Security Mode74................................................................................................................................................................
Concept For The Signing The Java Midlet75................................................................................................................................................................
Figure 44: Prepare Midlet For Secured Mode75................................................................................................................................................................
Application And Data Protection76................................................................................................................................................................
Structure And Description Of The Java Security Commands76................................................................................................................................................................
Structure Of The Java Security Commands77................................................................................................................................................................
Build Java Security Command78................................................................................................................................................................
Figure 45: Build Java Security Command78................................................................................................................................................................
Send Java Security Command To The Module79................................................................................................................................................................
Create A Java Security Environment Step By Step80................................................................................................................................................................
Create Key Store80................................................................................................................................................................
Export X.509 Root Certificate80................................................................................................................................................................
Create Java Security Commands80................................................................................................................................................................
Sign A Midlet81................................................................................................................................................................
Attention81................................................................................................................................................................
Java Tutorial82................................................................................................................................................................
Using The At Command Api82................................................................................................................................................................
Class Atcommand82................................................................................................................................................................
Instantiation With Or Without Csd Support82................................................................................................................................................................
Sending An At Command To The Device, The Send() Method83................................................................................................................................................................
Data Connections83................................................................................................................................................................
Synchronization85................................................................................................................................................................
Atcommandresponselistener Interface85................................................................................................................................................................
Non-blocking Atcommand.send() Method85................................................................................................................................................................
Atcommandlistener Interface86................................................................................................................................................................
Atevents86................................................................................................................................................................
Implementation86................................................................................................................................................................
Registering A Listener With An Atcommand Instance87................................................................................................................................................................
Programming The Midlet88................................................................................................................................................................
Threads88................................................................................................................................................................
Differences From The Tc4590................................................................................................................................................................
Tc65 Java User's Guide_v0590................................................................................................................................................................
Siemens Java TC65 User Manual

Siemens Java TC65 User Manual (69 pages)

Cellular  
Brand: Siemens | Category: Engine | Size: 0.73 MB
Table of contents
Table Of Contents3................................................................................................................................................................
Preamble8................................................................................................................................................................
Overview9................................................................................................................................................................
Related Documents9................................................................................................................................................................
Figure 1: Overview9................................................................................................................................................................
Terms And Abbreviations10................................................................................................................................................................
Installation11................................................................................................................................................................
System Requirements11................................................................................................................................................................
Installation Cd11................................................................................................................................................................
Components12................................................................................................................................................................
Module Exchange Suite12................................................................................................................................................................
Wtk12................................................................................................................................................................
At Java Open Framework (ajof)12................................................................................................................................................................
Network Applications12................................................................................................................................................................
Smtk Installation13................................................................................................................................................................
Installing The Standard Development Toolkit13................................................................................................................................................................
Installing The Smtk Environment13................................................................................................................................................................
Installing Sun Java Studio Mobility 614................................................................................................................................................................
Installing Eclipse 3.014................................................................................................................................................................
Installing Borland Jbuilder 9, X And 200514................................................................................................................................................................
Smtk Uninstall15................................................................................................................................................................
Upgrades15................................................................................................................................................................
Software Platform16................................................................................................................................................................
Software Architecture16................................................................................................................................................................
Interfaces17................................................................................................................................................................
Asc0 - Serial Device17................................................................................................................................................................
General Purpose I/o17................................................................................................................................................................
Dac/adc17................................................................................................................................................................
Asc117................................................................................................................................................................
Digital Audio Interface (dai)17................................................................................................................................................................
I2c/spi17................................................................................................................................................................
Jvm Interfaces18................................................................................................................................................................
Ip Networking18................................................................................................................................................................
Media18................................................................................................................................................................
Others18................................................................................................................................................................
Figure 2: Interface Configuration18................................................................................................................................................................
Data Flow Of A Java Application Running On The Module19................................................................................................................................................................
Figure 3: Data Flow Of A Java Application Running On The Module19................................................................................................................................................................
Handling Interfaces And Data Service Resources20................................................................................................................................................................
Module States20................................................................................................................................................................
State 1: Default - No Java Running21................................................................................................................................................................
State 2: No Java Running, General Purpose I/o And I2c21................................................................................................................................................................
State 3: No Java Running, General Purpose I/o And Spi21................................................................................................................................................................
State 4: Default - Java Application Active21................................................................................................................................................................
Figure 4: Module State 121................................................................................................................................................................
Figure 5: Module State 221................................................................................................................................................................
Figure 6: Module State 321................................................................................................................................................................
Figure 7: Module State 421................................................................................................................................................................
State 5: Java Application Active, General Purpose I/o And I2c22................................................................................................................................................................
State 6: Java Application Active, General Purpose I/o And Spi22................................................................................................................................................................
Figure 8: Module State 522................................................................................................................................................................
Figure 9: Module State 622................................................................................................................................................................
Module State Transitions23................................................................................................................................................................
Figure 10: Module State Transition Diagram23................................................................................................................................................................
Table 1: Java At Commands23................................................................................................................................................................
Maintenance24................................................................................................................................................................
Power Saving24................................................................................................................................................................
Charging24................................................................................................................................................................
Airplane Mode25................................................................................................................................................................
Alarm25................................................................................................................................................................
Shut Down26................................................................................................................................................................
Automatic Shutdown26................................................................................................................................................................
Restart After Switch Off26................................................................................................................................................................
Special At Command Set For Java Applications27................................................................................................................................................................
Switching From Data Mode To Command Mode27................................................................................................................................................................
Mode Indication After Midlet Startup27................................................................................................................................................................
Long Responses27................................................................................................................................................................
Configuration Of Serial Interface27................................................................................................................................................................
Java Commands27................................................................................................................................................................
Restrictions28................................................................................................................................................................
Flash File System28................................................................................................................................................................
Memory28................................................................................................................................................................
Performance Statements29................................................................................................................................................................
Java29................................................................................................................................................................
Figure 11: Test Case For Measuring Java Command Execution Throughput29................................................................................................................................................................
Pin-io30................................................................................................................................................................
Data Rates On Rs-232 Api30................................................................................................................................................................
Plain Serial Interface30................................................................................................................................................................
Figure 12: Test Case For Measuring Java Midlet Performance And Handling Pin-io30................................................................................................................................................................
Voice Call In Parallel31................................................................................................................................................................
Figure 13: Scenario For Testing Data Rates On Asc131................................................................................................................................................................
Figure 14: Scenario For Testing Data Rates On Asc1 With A Voice Call In Parallel31................................................................................................................................................................
Scenarios With Gprs Connection32................................................................................................................................................................
Upload32................................................................................................................................................................
Download32................................................................................................................................................................
Figure 15: Scenario For Testing Data Rates On Asc1 With Gprs Data Upload32................................................................................................................................................................
Figure 16: Scenario For Testing Data Rates On Asc1 With Gprs Data Download32................................................................................................................................................................
Table 2: Data Rate Upload32................................................................................................................................................................
Table 3: Download Data Rate With Different Number Of Timeslots, Cs233................................................................................................................................................................
Table 4: Download Data Rate With Different Number Of Timeslots, Cs433................................................................................................................................................................
Midlets34................................................................................................................................................................
Midlet Documentation34................................................................................................................................................................
Midlet Life Cycle34................................................................................................................................................................
Table 5: A Typical Sequence Of Midlet Execution35................................................................................................................................................................
Hello World Midlet36................................................................................................................................................................
At Commands37................................................................................................................................................................
Mobile Engine Sstatus37................................................................................................................................................................
Voice Call Handling37................................................................................................................................................................
Short Message Service37................................................................................................................................................................
Phonebook Features37................................................................................................................................................................
Pin I/o37................................................................................................................................................................
File Transfer To Module38................................................................................................................................................................
Windows Based38................................................................................................................................................................
Command Line Based38................................................................................................................................................................
Over The Air Provisioning38................................................................................................................................................................
Security Issues38................................................................................................................................................................
Otap39................................................................................................................................................................
Over The Air Provisioning (otap)40................................................................................................................................................................
Introduction To Otap40................................................................................................................................................................
Otap Overview40................................................................................................................................................................
Figure 17: Otap Overview40................................................................................................................................................................
Otap Parameters41................................................................................................................................................................
Table 6: Parameters And Keywords41................................................................................................................................................................
Short Message Format42................................................................................................................................................................
Java File Format43................................................................................................................................................................
Procedures44................................................................................................................................................................
Install/update44................................................................................................................................................................
Figure 18: Otap: Install/update Information Flow44................................................................................................................................................................
Delete45................................................................................................................................................................
Figure 19: Otap: Delete Information Flow45................................................................................................................................................................
Time Out Values And Result Codes46................................................................................................................................................................
Tips And Tricks For Otap46................................................................................................................................................................
Otap Tracer47................................................................................................................................................................
How To48................................................................................................................................................................
Compiling And Running A Program Without Java Ide49................................................................................................................................................................
Build Results49................................................................................................................................................................
Compile50................................................................................................................................................................
Run On The Module With Manual Start50................................................................................................................................................................
Run On The Module With Autostart50................................................................................................................................................................
Switch On Autostart51................................................................................................................................................................
Switch Off Autostart51................................................................................................................................................................
Debug Eenvironment52................................................................................................................................................................
Data Flow Of A Java Application In The Debug Environment52................................................................................................................................................................
Figure 20: Data Flow Of A Java Application In The Debug Environment52................................................................................................................................................................
Emulator53................................................................................................................................................................
Java Ide53................................................................................................................................................................
Sun Java Studio Mobility 6 2004q353................................................................................................................................................................
Borland Jbuilder53................................................................................................................................................................
Eclipse 3.053................................................................................................................................................................
Breakpoints53................................................................................................................................................................
Java Security54................................................................................................................................................................
Secure Data Transfer54................................................................................................................................................................
Execution Control54................................................................................................................................................................
Application And Data Protection54................................................................................................................................................................
Java Tutorial55................................................................................................................................................................
Using The At Command Api55................................................................................................................................................................
Class Atcommand55................................................................................................................................................................
Instantiation With Or Without Csd Support55................................................................................................................................................................
Sending An At Command To The Device, The Send() Method56................................................................................................................................................................
Data Connections56................................................................................................................................................................
Synchronization57................................................................................................................................................................
Atcommandresponselistener Interface58................................................................................................................................................................
Non-blocking Atcommand.send() Method58................................................................................................................................................................
Atcommandlistener Interface58................................................................................................................................................................
Atevents59................................................................................................................................................................
Implementation59................................................................................................................................................................
Registering A Listener With An Atcommand Instance60................................................................................................................................................................
Programming The Midlet61................................................................................................................................................................
Threads61................................................................................................................................................................
Example61................................................................................................................................................................
Ajof63................................................................................................................................................................
Ftp Client67................................................................................................................................................................
Example: Ftpdemo67................................................................................................................................................................
Mail Client67................................................................................................................................................................
Example: Maildemo67................................................................................................................................................................
Changes To Tc4569................................................................................................................................................................

Advertisement

Share and save

Advertisement