Résumé du contenu de la page N° 1
s
TC65 JAVA User's Guide
Siemens Cellular Engine
Version: 05
DocID: TC65 JAVA User's Guide_V05
JAVA™ Users Guide
Résumé du contenu de la page N° 2
TC65 JAVA User's Guide s Strictly confidential / Released Document Name: TC65 JAVA User's Guide Version: 05 Date: September 26, 2005 DocId: TC65 JAVA User's Guide_V05 Status: Strictly confidential / Released General Notes Product is deemed accepted by recipient and is provided without interface to recipient’s products. The documentation and/or product are provided for testing, evaluation, integration and information purposes. The documentation and/or product are
Résumé du contenu de la page N° 3
TC65 JAVA User's Guide s Strictly confidential / Released Table of Contents 1 Preamble........................................................................................................................8 2 Overview ........................................................................................................................9 2.1 Related Documents ...............................................................................................9 2.2 Terms and Abbreviations.....
Résumé du contenu de la page N° 4
TC65 JAVA User's Guide s Strictly confidential / Released 5 Maintenance ................................................................................................................24 5.1 IP Service ............................................................................................................24 5.2 Power Saving.......................................................................................................25 5.3 Charging .............................................
Résumé du contenu de la page N° 5
TC65 JAVA User's Guide s Strictly confidential / Released 8.4 Short Message Format ........................................................................................41 8.5 Java File Format ..................................................................................................42 8.6 Procedures ..........................................................................................................43 8.6.1 Install/Update.....................................................
Résumé du contenu de la page N° 6
TC65 JAVA User's Guide s Strictly confidential / Released 11.4 Structure and Description of the Java Security Commands ................................76 11.4.1 Structure of the Java Security Commands ............................................77 11.4.2 Build Java Security Command...............................................................78 11.4.3 Send Java Security Command to the Module........................................79 11.5 Create a Java Security Environment Step by Step..
Résumé du contenu de la page N° 7
TC65 JAVA User's Guide s Strictly confidential / Released Figure 22: Sun Java Studio Mobility 6 - Switching Emulators ................................................55 Figure 23: Sun Java Studio Mobility 6 - Project Manager .....................................................56 Figure 24: Sun Java Studio Mobility 6 - Selecting a template...............................................57 Figure 25: JBuilderX – JDK settings.................................................................
Résumé du contenu de la page N° 8
TC65 JAVA User's Guide s Strictly confidential / Released 1 Preamble This document is also valid for the TC65 Terminal with the main exception that the terminal does not feature the USB, ASC1, DAC and DAI interface. For other exceptions and differences please see [3] and [4]. TC65 JAVA User's Guide_V05 Page 8 of 90 26.09.2005
Résumé du contenu de la page N° 9
TC65 JAVA User's Guide s Strictly confidential / Released 2 Overview The TC65 module features an ultra-low profile and low-power consumption for data (CSD and GPRS), voice, SMS and fax. Java technology and several peripheral interfaces on the module allow you to easily integrate your application. This document explains how to work with the TC65 module, the installation CD and the tools provided on the installation CD. Old solution: New solution: The customer application was The cus
Résumé du contenu de la page N° 10
TC65 JAVA User's Guide s Strictly confidential / Released 2.2 Terms and Abbreviations Abbreviation Description API Application Program Interface ASC Asynchronous Serial Controller CLDC Connected Limited Device Configuration CSD Circuit-Switched Data DAI Digital Audio Interface DCD Data Carrier Detect DSR Data Set Ready GPIO General Purpose I/O GPRS General Packet Radio Service GPS Global Positioning System HTTP Hypertext Transfer Protocol I/O Input/Output IDE Integrated Develop
Résumé du contenu de la page N° 11
TC65 JAVA User's Guide s Strictly confidential / Released 3 Installation 3.1 System Requirements The Siemens Mobility Toolkit (SMTK) TC65 requires that you have: 1. Windows 2000 or Windows XP installed 2. 40Mbytes free disk space for SMTK 3. Administration privileges 4. Java 2 SDK, Standard Edition 1.4. To install the JDK version 1.4.2_07 provided, follow the instructions in Section 3.3.1. If a Java IDE such as Sun Java Studio Mobility 6 2004Q3, Eclipse 3.0.1, Eclipse 3.0.2, JBui
Résumé du contenu de la page N° 12
TC65 JAVA User's Guide s Strictly confidential / Released 3.2.1 Components 3.2.1.1 Module Exchange Suite The Module Exchange Suite allows the developer to access the Flash file system on the cellular engine from the development environment over a serial interface. File transfers from PC to module are greatly facilitated by this suite. 3.2.1.2 WTK wtk is the directory where all the necessary components for TC65 Java application creation and debugging are stored. 3.2.1.3 SDK an
Résumé du contenu de la page N° 13
TC65 JAVA User's Guide s Strictly confidential / Released 3.3 Siemens Mobility Toolkit Installation The SMTK comes with an installation CD. The installation program automatically installs the necessary components and IDE integrations. Software can be uninstalled and updated with the install program. The next sections cover the installation and removal of the SMTK and the installation of the SDK and the supported IDEs. 3.3.1 Installing the Standard Development Toolkit 1. The JDK versi
Résumé du contenu de la page N° 14
TC65 JAVA User's Guide s Strictly confidential / Released 7. If the SDK and one or more Java IDEs are found, you will be asked to choose which IDE you want integrated into the TC65 development environment. Once an IDE has been found and selected, press "Next" to continue. Ensure that your Java IDE is closed. 8. Select the folder where the TC65 SMTK will be installed. A folder will be suggested to you but you may browse to select a different one. 9. Choose the path that TC65 will appear
Résumé du contenu de la page N° 15
TC65 JAVA User's Guide s Strictly confidential / Released 3.4 SMTK Uninstall The TC65 SMTK install package comes with an uninstall facility. The entire SMTK or parts of the package can be removed. To start the uninstall facility, open the Control Panel, select Add/Remove Programs, select TC65 Software Development Kit and follow the instructions. The Module Exchange Suite (MES) is not uninstalled automatically with the SMTK. If you would like to uninstall the Module Exchange Suite (MES
Résumé du contenu de la page N° 16
TC65 JAVA User's Guide s Strictly confidential / Released 4 Software Platform In this chapter, we discuss the software architecture of the SMTK and the interfaces to it. 4.1 Software Architecture The SMTK enables a customer to develop a Java application on a PC and have it be executable on the TC65 module. The application is then loaded onto the module. The platform is comprised of: • the Java™ 2 Micro Edition (J2ME™), which forms the base of the architecture. The J2ME™ is provide
Résumé du contenu de la page N° 17
TC65 JAVA User's Guide s Strictly confidential / Released 4.2 Interfaces 4.2.1 ASC0 - Serial Device ASC0, an Asynchronous Serial Controller, is a 9-wire serial interface. It is described in the Hardware Interface Description [4]. Without a running Java application the module can be controlled by sending AT commands over ASC0. Furthermore, ASC0 is designed for transferring files from the development PC to the module and for controlling the module with AT commands. When a Java applicatio
Résumé du contenu de la page N° 18
TC65 JAVA User's Guide s Strictly confidential / Released 4.2.7 JVM Interfaces IMP-NG File API AT Command API Connected Limited Device Configuration (CLDC) J2ME Figure 2: Interface Configuration J2ME, CLDC and MIDP were implemented by SUN. IMP-NG is a stripped down version of MIDP 2.0 prepared by Siemens and does not include the graphical interface LCDUI. Siemens developed the File I/O API and the AT command API. Documentation for J2ME and CLDC can be found at http://java.sun.com/j2
Résumé du contenu de la page N° 19
TC65 JAVA User's Guide s Strictly confidential / Released 4.3 Data Flow of a Java Application Running on the Module AT Parser system.out ASC1 Flash File JVM System AT Command File I/O API API IMP-NG TCP/IP GPIO I2C/SPI DAC/ADC ASC0 DAI Figure 3: Data flow of a Java application running on the module. The diagram shows the data flow of a Java application running on the module. The data flow of a Java application running in the debug environment can be found in Figure 20. The compiled
Résumé du contenu de la page N° 20
TC65 JAVA User's Guide s Strictly confidential / Released 4.4 Handling Interfaces and Data Service Resources To develop Java applications the developer must know which resources, data services and hardware access are available. • There are three AT parsers available • There is hardware access over - two serial interfaces: ASC1 (System.out only) and ASC0 (fully accessible). - general purpose I/O. To configure the hardware access, please refer to the AT Command Set [3] and the Hardw