Siemens TC65 manual Emulator

Page 52

TC65 JAVA User's Guide

s

Strictly confidential / Released

 

In the debug environment the module is connected to a PC via a serial interface. This can be a USB or an RS232 line. The application can then be edited, built, debugged or run within an IDE on the PC. When running or debugging the MIDlet under IDE control it is executed on the module (on-device execution) not on the PC. This can be either debugging mode, where the midlet execution can still be controlled from the IDE (on-device debugging) or normal mode, where the midlet is copied to the module and started normally. This ensures that all interfaces behave the same whether debugging mode is used or not.

10.2Emulator

The TC65 emulator is part of the SMTK and is used as the controlling entity for on-device debugging. Before it can be used it must be configured:

The emulator accesses the module with AT commands. In order to do this, it must know the COM port and bit rate to use. The values are configured in the file wtk/bin/WM_Debug_config.ini. Set the “Port” and “Baudrate” parameters to the desired values.

Debugging information between the Debugger (IDE) and the JVM is transferred over an IP connection. In order to establish this IP connection between the PC and the module the emulator needs a special Dial-Up-Network (DUN) connection to be configured:

ISP name: “IP connection for remote debugging”

Modem: either “Standard 19200 bps Modem” or “TC65 14400 bps Modem”

Phone number: *88#

Username and password: any will do, it is recommended that the username and password be saved for re-usage.

Disable the “Redial if line dropped” option.

Enable “Connect automatically”

Make sure that the DUN uses the same COM port and bit rate as the emulator. You can use any of the three serial interfaces (ASC0, ASC1, USB) to connect with module, but you will lose the functionality which is normally present on the interface. Because of this loss and because of its speed it is recommended that the USB interface be used.

If necessary, the IP addresses used for the debug connection can also be changed. This is done in the file wtk/bin/WM_Debug_config.ini. See the documentation of at^scfg with parameter userware/debuginterface for details. Please keep in mind, that the IP address range 10.x.x.x is not supported for configuration of debugging!

During installation of TC65 SMTK some new programs are installed for handling the debugging session in conjunction with the IDE. The installation routine of the TC65 SMTK doesn't change any configuration of an existing firewall on your PC.

In the case, that a firewall is installed on your PC and the local configured and used IP connection (Dial-Up-Network connection for debugging) is blocked or disturbed by this firewall, please configure the firewall or the Dial-Up-Network connection manually to accept the new installed programs and the port or to use another port or contact your local PC administrator for help.

TC65 JAVA User's Guide_V05

Page 52 of 90

26.09.2005

Image 52
Contents Java Users Guide Document Name TC65 Java Users Guide TC65 Java Users GuideSeptember 26 TC65 Java Users GuideV05Table of Contents Maintenance 3.3.2Debug Environment Compile and Run a Program without a Java IDEJava Security Java Tutorial Differences from the TC45Sun Java Studio Mobility 6 Switching Emulators TablesPreamble Overview New solutionRelated Documents Terms and Abbreviations Abbreviation DescriptionInstallation CD InstallationSystem Requirements Components Module Exchange Suite1.2 WTK SDK and Java StudioInstalling the Standard Development Toolkit Siemens Mobility Toolkit InstallationInstalling the Smtk Environment Installing Eclipse Installing Borland JBuilder X Installing Sun Java Studio MobilityInstalling Module Exchange Suite MES Smtk Uninstall UpgradesSoftware Platform Software ArchitectureInterfaces 1 ASC0 Serial Device General Purpose I/O3 DAC/ADC 4 ASC1JVM Interfaces IP NetworkingMedia Other InterfacesData Flow of a Java Application Running on the Module ADCHandling Interfaces and Data Service Resources Module StatesState 1 Default No Java Running State 4 Default Java Application ActiveState 2 No Java Running, General Purpose I/O and I2C 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 ChargingAirplane Mode AlarmShutdown Automatic ShutdownRestart after Switch Off Special AT Command Set for Java ApplicationsSwitching from Data Mode to Command Mode Mode Indication after MIDlet StartupConfiguration of Serial Interface Java CommandsRestrictions Flash File System MemoryPerformance JavaFrequencyB 1 / frequencyA Duration of each loop = 600 sPin I/O Data Rates on RS-232 APIPlain Serial Interface Voice Call in ParallelScenarios with Gprs Connection Upload75% 63% 55% 33% 65% 55% 33% 16%91% 87% 81% 73% Download85% 78% 58% 48% MIDlets MIDlet Documentation MIDlet Life CycleMIDlet.destroyApp method Hello World MIDlet Here is a sample HelloWorld programCommand Line Based File Transfer to ModuleModule Exchange Suite Windows BasedOver the Air Provisioning Security IssuesOtap Introduction to Otap Over The Air Provisioning OtapOtap Overview Parameters Max. Length AT Keyword SM Install/update Delete Otap ParametersShort Message Format Install operationDelete 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 ResultsRun on the Module with Manual Start CompileRun 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 Examples TemplatesCompile 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 CertificateSecured mode Unsecured modeExecution Control Change to Secured Mode Concept Build binary data for AT command AtsjsecGenerate key pair 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 MIDletUsing the AT Command API Class ATCommandJava Tutorial Instantiation with or without CSD SupportSending an AT Command to the Device, the send Method Data ConnectionsTC65 Java Users Guide Non-blocking ATCommand.send Method ATCommandResponseListener InterfaceSynchronization ATEvents ATCommandListener InterfaceImplementation Registering a Listener with an ATCommand Instance Threads Programming the MIDletExample 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.