Siemens TC65 manual Short Message Format, Install operation, Delete operation

Page 41

TC65 JAVA User's Guide

s

Strictly confidential / Released

 

The length of the string parameters in the AT command is limited (see Table 6), the length in the SM is only limited by the maximum SM length.

The minimum set of required parameters depends on the intended operation (see Table 6). “optional/P” indicates that this parameter is only necessary when a POST result is desired.

8.4Short Message Format

An OTAP control SM must use a Submit PDU with Class1, PID $7d and 8 bit encoding. As a fallback for unusual network infrastructures the SM can also be of Class0 and/or PID $00. The content of the SM consists of a set of keywords and parameter values all encoded in ASCII format. These parameters can be distributed over several SMs. There is one single keyword to start the OTAP procedure. For parameters that are repeated in several SMs only the last value sent is valid. For example, an SM could look like this:

Install operation:

First SM: OTAP_IMPNG

PWD:secret

JADURL:http://www.greatcompany.com/coolapps/mega.jad

APPDIR:a:/work/appdir

HTTPUSER:user

HTTPPWD:anothersecret

Second SM: OTAP_IMPNG

PWD:secret

BEARER:gprs

APNORNUM:access.to-thenet.net

NETUSER:nobody

NETPWD:nothing

DNS:192.168.1.2

START:install

Delete operation:

OTAP_IMPNG

PWD:secret

APPDIR:a:/work/appdir

START:delete

The first line is required: it is used to identify an OTAP SM. All other lines are optional and

their order is insignificant, each line is terminated with an LF: '\n' including the last one. The keywords, in capital letters, are case sensitive. A colon separates the keywords from their values.

TC65 JAVA User's Guide_V05

Page 41 of 90

26.09.2005

Image 41 Contents
Java Users Guide TC65 Java Users Guide Document Name TC65 Java Users GuideSeptember 26 TC65 Java Users GuideV05Table of Contents 3.3.2 MaintenanceJava Security Compile and Run a Program without a Java IDEDebug Environment Differences from the TC45 Java TutorialTables Sun Java Studio Mobility 6 Switching EmulatorsPreamble Related Documents New solutionOverview Abbreviation Description Terms and AbbreviationsSystem Requirements InstallationInstallation CD Module Exchange Suite Components1.2 WTK SDK and Java StudioInstalling the Smtk Environment Siemens Mobility Toolkit InstallationInstalling the Standard Development Toolkit Installing Module Exchange Suite MES Installing Sun Java Studio MobilityInstalling Eclipse Installing Borland JBuilder X Upgrades Smtk UninstallSoftware Architecture Software PlatformGeneral Purpose I/O Interfaces 1 ASC0 Serial Device3 DAC/ADC 4 ASC1IP Networking JVM InterfacesMedia Other InterfacesADC Data Flow of a Java Application Running on the ModuleModule States Handling Interfaces and Data Service ResourcesState 4 Default Java Application Active State 1 Default No Java RunningState 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 IP Service MaintenanceCharging Power SavingAlarm Airplane ModeShutdown Automatic ShutdownSpecial AT Command Set for Java Applications Restart after Switch OffSwitching from Data Mode to Command Mode Mode Indication after MIDlet StartupJava Commands Configuration of Serial InterfaceRestrictions Flash File System MemoryJava PerformanceFrequencyB 1 / frequencyA Duration of each loop = 600 sData Rates on RS-232 API Pin I/OVoice Call in Parallel Plain Serial InterfaceUpload Scenarios with Gprs Connection75% 63% 55% 33% 65% 55% 33% 16%85% 78% 58% 48% Download91% 87% 81% 73% MIDlet Documentation MIDlet Life Cycle MIDletsMIDlet.destroyApp method Here is a sample HelloWorld program Hello World MIDlet File Transfer to Module Command Line Based Module Exchange Suite Windows BasedOtap Security IssuesOver the Air Provisioning Otap Overview Over The Air Provisioning OtapIntroduction to Otap Otap Parameters Parameters Max. Length AT Keyword SM Install/update DeleteDelete operation Install operationShort Message Format Java File Format Procedures Install/Update Delete Tips and Tricks for Otap Time Out Values and Result CodesSecurity Otap TracerHow To Build Results Compile and Run a Program without a Java IDERun on the Module with Autostart CompileRun on the Module with Manual Start Switch off Autostart Switch on AutostartData Flow of a Java Application in the Debug Environment Debug EnvironmentEmulator Java IDE Sun Java Studio Mobility 6 2004Q3 Switching emulators Projects Compile and run TemplatesExamples Borland JBuilder JBuilderX JDK settingsExamples TC65 Java Users Guide JBuilder2005 JDK settings Integration EclipseEclipse Plug-in installation Eclipse J2ME platform TC65 Java Users GuideV05 26.09.2005 Eclipse Project import ExampleEclipse Example Eclipse Create package Compile and debugBreakpoints Eclipse ConfigurationJava Security Mode Secure Data TransferJ a va C u r i t y c e r t i f i c a t e Asja VasecuritycertificateCreate CA and generate CA Root Certificate Create a Secure Data Transfer Environment Step by StepExecution Control Unsecured modeSecured mode Build binary data for AT command Atsjsec Change to Secured Mode ConceptGenerate key pair Generate customer root CertificateEncoded JAR-File Hash Concept for the Signing the Java MIDletApplication and Data Protection Structure and Description of the Java Security CommandsGeneral structure Structure of the Java Security CommandsHash SHA1 Build Java Security CommandATSJSEC? Send Java Security Command to the ModuleExport X.509 Root Certificate Create Java Security CommandsSign a MIDlet Command switch off module exchange functionalityClass ATCommand Using the AT Command APIJava Tutorial Instantiation with or without CSD SupportData Connections Sending an AT Command to the Device, the send MethodTC65 Java Users Guide Synchronization ATCommandResponseListener InterfaceNon-blocking ATCommand.send Method Implementation ATCommandListener InterfaceATEvents Registering a Listener with an ATCommand Instance Example Programming the MIDletThreads TC65 Java Users Guide Differences from the TC45
Related manuals
Manual 123 pages 53.3 Kb