Siemens TC65 manual Java Tutorial, Differences from the TC45

Page 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

80

 

11.5.1

Create Key store

80

 

11.5.2 Export X.509 Root Certificate

80

 

11.5.3 Create Java Security Commands

80

 

11.5.4

Sign a MIDlet

81

11.6

Attention

81

12 Java Tutorial

................................................................................................................

82

12.1

Using the AT Command API

82

 

12.1.1

Class ATCommand

82

 

12.1.1.1 Instantiation with or without CSD Support

82

 

12.1.1.2 Sending an AT Command to the Device, the send() Method

83

 

12.1.1.3

Data Connections

83

 

12.1.1.4

Synchronization

85

 

12.1.2

ATCommandResponseListener Interface

85

 

12.1.2.1

Non-blocking ATCommand.send() Method

85

 

12.1.3

ATCommandListener Interface

86

 

12.1.3.1

ATEvents

86

 

12.1.3.2

Implementation

86

 

12.1.3.3 Registering a Listener with an ATCommand Instance

87

12.2

Programming the MIDlet

88

 

12.2.1

Threads

88

 

12.2.2

Example

88

13 Differences from the TC45

90

Figures

 

 

 

 

Figure 1: Overview

 

9

Figure 2: Interface Configuration

18

Figure 3: Data flow of a Java application running on the module

19

Figure 4: Module State 1

21

Figure 5: Module State 2

21

Figure 6: Module State 3

21

Figure 7: Module State 4

21

Figure 8: Module State 5

22

Figure 9: Module State 6

22

Figure 10: Module State Transition Diagram

23

Figure 11: Test case for measuring Java command execution throughput

29

Figure 12: Test case for measuring Java MIDlet performance and handling pin-IO

30

Figure 13: Scenario for testing data rates on ASC1

31

Figure 14: Scenario for testing data rates on ASC1 with a voice call in parallel

31

Figure 15: Scenario for testing data rates on ASC1 with GPRS data upload

32

Figure 16: Scenario for testing data rates on ASC1 with GPRS data download

33

Figure 17: OTAP Overview

39

Figure 18: OTAP: Install/Update Information Flow

43

Figure 19: OTAP: Delete Information Flow

44

Figure 20: Data flow of a Java application in the debug environment

51

Figure 21: Sun Java Studio Mobility 6 - The installed emulators

54

TC65 JAVA User's Guide_V05

Page 6 of 90

26.09.2005

Image 6
Contents Java Users Guide September 26 Document Name TC65 Java Users GuideTC65 Java Users Guide TC65 Java Users GuideV05Table of Contents Maintenance 3.3.2Compile and Run a Program without a Java IDE Debug EnvironmentJava Security Java Tutorial Differences from the TC45Sun Java Studio Mobility 6 Switching Emulators TablesPreamble New solution OverviewRelated Documents Terms and Abbreviations Abbreviation DescriptionInstallation Installation CDSystem Requirements 1.2 WTK ComponentsModule Exchange Suite SDK and Java StudioSiemens Mobility Toolkit Installation Installing the Standard Development ToolkitInstalling the Smtk Environment Installing Sun Java Studio Mobility Installing Eclipse Installing Borland JBuilder XInstalling Module Exchange Suite MES Smtk Uninstall UpgradesSoftware Platform Software Architecture3 DAC/ADC Interfaces 1 ASC0 Serial DeviceGeneral Purpose I/O 4 ASC1Media JVM InterfacesIP Networking Other InterfacesData Flow of a Java Application Running on the Module ADCHandling Interfaces and Data Service Resources Module StatesState 2 No Java Running, General Purpose I/O and I2C State 1 Default No Java RunningState 4 Default Java Application Active State 3 No Java Running, General Purpose I/O and SPIState 5 Java Application Active, General Purpose I/O and I2C Module State Transitions Maintenance IP ServicePower Saving ChargingShutdown Airplane ModeAlarm Automatic ShutdownSwitching from Data Mode to Command Mode Restart after Switch OffSpecial AT Command Set for Java Applications Mode Indication after MIDlet StartupRestrictions Flash File System Configuration of Serial InterfaceJava Commands MemoryFrequencyB 1 / frequencyA PerformanceJava Duration of each loop = 600 sPin I/O Data Rates on RS-232 APIPlain Serial Interface Voice Call in Parallel75% 63% 55% 33% Scenarios with Gprs ConnectionUpload 65% 55% 33% 16%Download 91% 87% 81% 73%85% 78% 58% 48% MIDlets MIDlet Documentation MIDlet Life CycleMIDlet.destroyApp method Hello World MIDlet Here is a sample HelloWorld programModule Exchange Suite Command Line BasedFile Transfer to Module Windows BasedSecurity Issues Over the Air ProvisioningOtap Over The Air Provisioning Otap Introduction to OtapOtap Overview Parameters Max. Length AT Keyword SM Install/update Delete Otap ParametersInstall operation Short Message FormatDelete operation Java File Format Procedures Install/Update Delete Time Out Values and Result Codes Tips and Tricks for OtapOtap Tracer SecurityHow To Compile and Run a Program without a Java IDE Build ResultsCompile Run on the Module with Manual StartRun on the Module with Autostart Switch on Autostart Switch off AutostartDebug Environment Data Flow of a Java Application in the Debug EnvironmentEmulator Java IDE Sun Java Studio Mobility 6 2004Q3 Switching emulators Projects Templates ExamplesCompile and run JBuilderX JDK settings Borland JBuilderExamples TC65 Java Users Guide JBuilder2005 JDK settings Eclipse IntegrationEclipse Plug-in installation Eclipse J2ME platform TC65 Java Users GuideV05 26.09.2005 Example Eclipse Project importEclipse Example Compile and debug Eclipse Create packageEclipse Configuration BreakpointsJava Security Secure Data Transfer ModeAsja Vasecuritycertificate J a va C u r i t y c e r t i f i c a t eCreate a Secure Data Transfer Environment Step by Step Create CA and generate CA Root CertificateUnsecured mode Secured modeExecution Control Generate key pair Change to Secured Mode ConceptBuild binary data for AT command Atsjsec Generate customer root CertificateConcept for the Signing the Java MIDlet Encoded JAR-File HashStructure and Description of the Java Security Commands Application and Data ProtectionStructure of the Java Security Commands General structureBuild Java Security Command Hash SHA1Send Java Security Command to the Module ATSJSEC?Create Java Security Commands Export X.509 Root CertificateCommand switch off module exchange functionality Sign a MIDletJava Tutorial Using the AT Command APIClass ATCommand Instantiation with or without CSD SupportSending an AT Command to the Device, the send Method Data ConnectionsTC65 Java Users Guide ATCommandResponseListener Interface Non-blocking ATCommand.send MethodSynchronization ATCommandListener Interface ATEventsImplementation Registering a Listener with an ATCommand Instance Programming the MIDlet ThreadsExample TC65 Java Users Guide Differences from the TC45
Related manuals
Manual 123 pages 53.3 Kb

TC65 specifications

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

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

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

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

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

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

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

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