Siemens TC65, AC65, XT75, XT65 manual Maintenance, IP Service

Page 36

Java User’s Guide

5 Maintenance

s

5 Maintenance

The basic maintenance features of the ME are described below. Explicit details of these func- tions and modes can be found in [1] and [2].

5.1IP Service

Apart from the standard Java IP networking interfaces (UDPDatagramConnection, SocketCon- nection, ...) the ME also supports a set of Internet Services controlled by AT command. There are some correlations between the Java and the AT IP Services.

The connection profile 0 is also used by Java: when Java starts up a networking connection it tries to set and activate connection profile 0 with the parameters configured by AT^SJNET or in the connector.open method.

Java tries to (re-)use an active Internet Service profile: if using connection profile 0 fails, because e.g. this (or another) connection profile is already used by the Internet Services, Java networking also uses this, already active, profile.

Deactivation of the connection profile happens when all applications are finished: Java has its networking idle time. For the Internet Services an inactivity timeout referred to as param- eter <inactTO> is available (configurable by AT^SICS and AT^SCFG).

So that means that Java networking and AT Internet Services can be used in parallel but care has to be taken about configuring and activation of the connection profile. In the simplest case use connection profile 0 for the Internet Services and set the parameters to the same values as the Java networking parameters. This way it makes no difference whether the connection is activated by the Internet Services or Java.

There are some aspects which have to be kept in mind for all IP Services (Java and AT com- mand):

When an open TCP connection is cut (e.g. the other side dies/is switched off) it takes around 10 minutes during which retransmissions are send, until the situation is detected as an error (in Java an exception is thrown).

The number of IP services used in parallel should be kept small. An active IP service uses up resources and may deteriorate the overall performance.

If a user rapidly closes and opens TCP/IP connections (e.g. SocketConnection, HTTPCon- nection), a ConnectionNotFoundException reading "No buffer space available" may be thrown, explaining that all TCP/IP socket resources are exhausted. In the worst case, open- ing further TCP/IP connections is locked for up to 60 seconds.

If a service is re-opened on the same port shortly after having closed the ServerSocketCon- nection, the ServerSocketConnection may not work properly. To ensure that the service works correctly the host is required to wait at least two minutes before reopening a server.

For information about the bearer state, use the specific IP service command AT^SICI and, in addition, the general network commands AT+COPS and/or AT+CREG.

Some Java products feature the BearerControl class. This class provides bearer state informa- tion and a method to hang-up.

wm_java_usersguide_v12

Page 36 of 123

2008-02-25

Confidential / Released

 

 

Image 36
Contents User’s Guide Java User’s Guide Trademark noticeContent Software PlatformMaintenance UDP GpioFile Transfer to Module Over The Air Provisioning OtapCompile and Run a Program without a Java IDE Compile and Run a Program with a Java IDEJava Security Java Tutorial 113 Differences to the TC45 123Tables Figures Java User’s Guide Preface Overview Related DocumentsTerms and Abbreviations Abbreviation DescriptionURL Installation System RequirementsInstallation CD for AC65/AC75 and XT65/XT75 Installation CD for TC65 Components Module Exchange Suite 1.2 WTKSDK / JDK NetBeans IDEEclipse 3.1.2 IDE and Eclipse ME Plugin Eclipse 3.2.2 IDE and Eclipse ME Plugin 1.5.5 orGPS Evaluation Software Integrated Documentation Suite IDSJava User’s Guide Step Siemens Mobility Toolkit Installation Installing the Standard Development ToolkitInstalling the Smtk Environment How to use the Modify or Repair mode Installing NetBeans IDE 5.0 / NetBeans IDE Installing Eclipse 3.0, Eclipse 3.1 or EclipseUsing Eclipse 3.0.1 or Eclipse Using Eclipse 3.1.0, Eclipse 3.1.1 or EclipseSmtk Uninstall UpgradesSoftware Platform Software ArchitectureInterfaces 1 ASC0 Serial Device General Purpose I/O3 DAC/ADC 4 ASC17 GPS JVM Interfaces IP NetworkingMedia Other InterfacesData Flow of a Java Application Running on the Module Data flow of a Java application running on the moduleHandling Interfaces and Data Service Resources State 1 Default No Java RunningModule States State 4 Default Java Application Active State 2 No Java Running, General Purpose I/O and I2CModule State Transition Diagram Module State TransitionsMaintenance IP ServiceRemote SIM Access Power SavingAirplane Mode AlarmCharging Restart after Switch Off ShutdownAutomatic Shutdown Manual ShutdownSpecial AT Command Set for Java Applications Switching from Data Mode to Command ModeMode Indication after MIDlet Startup Configuration of Serial InterfaceJava Commands AutoExec FunctionSystem Out Serial interfacesFile 3 UDPGpio Restrictions Flash File SystemPerformance JavaDuration of each loop = 600 s Pin I/O Data Rates on RS-232 APIPlain Serial Interface Voice Call in ParallelScenarios with GPRS/EGDE Connection Upload Download Java User’s Guide System Time MIDlets MIDlet Documentation MIDlet Life CycleApplication Management Software MIDlet Hello World MIDlet Here is a sample HelloWorld programCommand Line Based File Transfer to ModuleWindows Based Over the Air ProvisioningSecurity Issues OtapOver 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 How To Compile and Run a Program without a Java IDE Build ResultsCompile Run on the Module with Manual StartSwitch on Autostart Switch off AutostartUsing the graphical autoexecoff.exe tool Using the command line tool cmdautoexecoff.exeSetup a New Project Compile and Run a Program with a Java IDEEclipse 3.1.2 with ME Plugin Select e.g. TC65 Release 2 emulator Select Project01 and press Ctrl+N and select J2ME Midlet Modify Java source file printme.java template Java User’s Guide Debug Environment Data Flow of a Java Application in the Debug EnvironmentEmulator Java User’s Guide Java IDE NetBeans IDE 5.0, NetBeans 5.5 or NetBeansSwitching Emulator to IMP-NG Emulator NetBeans IDE 5.0 installed emulatorsTemplates Examples NetBeans IDE 5.0 selecting sample project Hello World SampleCompile and Run Starting Debug Session without Downloading Java FilesDisplaying Java System.out in NetBeans IDE window Eclipse 3.0 and Eclipse EclipseEclipse Display of different integrated emulators Switching Emulators Using Eclipse with ME PluginAdditional Configuration of Integrated Emulator Eclipse with ME Plugin 1.5.0 J2ME platform Import Example Open menu File → Import → Existing Project into WorkspaceCompile and Debug Eclipse Create packageEclipse Configuration Starting Debug Session without Downloading Java Files Java User’s Guide JBuilder X JDK settings Borland JBuilderJBuilder X Sample Projects Set the additional emulator parameter -noload and press OK JBuilder 2006 Enterprise/Developer JDK settings Breakpoints JBuilder 2006 Enterprise/Developer Sample ProjectsSwitching Java System.out to IDE Debug Window Important Information for Java Debugging on Windows Vista Java Security Secure Data TransferMode Create a Secure Data Transfer Environment Step by Step Sign certificate request by CA Execute command Convert format ResultUnsecured mode Secured modeExecution Control Standard behavior of the moduleChange to Secured Mode Concept Insert Customer Root CertificatePrepare MIDlet for Secured Mode Concept for the Signing the Java MIDletStructure and Description of the Java Security Commands Application and Data ProtectionStructure of the Java Security Commands Build Java Security Command Build Java Security CommandSend Java Security Command to the Module Connect Jsec Ready Send CommandCreate Java Security Commands Export X.509 Root CertificateCommand switch on Java Security Mode Sign a MIDlet Using the AT Command API Class ATCommandJava Tutorial Instantiation with or without CSD SupportSending an AT Command to the Device, the send Method Data Connections Wmjavausersguidev12 116 2008-02-25 Confidential / Released ATCommandResponseListener Interface Non-Blocking ATCommand.send MethodSynchronization ATCommandListener Interface ATEventsImplementation Registering a Listener with an ATCommand Instance Programming the MIDlet ThreadsExample Java User’s Guide Differences to the TC45
Related manuals
Manual 90 pages 14.61 Kb

AC65, XT65, XT75, TC65 specifications

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

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

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

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

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

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

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

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