beautypg.com

Procedures, Install/update, Figure 18: otap: install/update information flow – Siemens Java TC65 User Manual

Page 43: 6 procedures 8.6.1 install/update

background image

TC65 JAVA User's Guide
Strictly confidential / Released

s

TC65 JAVA User's Guide_V05

Page 43 of 90

26.09.2005

Example:
MIDlet-Name: MyTest
MIDlet-Version: 1.0.1
MIDlet-Vendor: TLR Inc.
MIDlet-Jar-URL: http://192.168.1.3/datafiles/MyTest.jar
MIDlet-Description: My very important test
MIDlet-1: MyTest, , example.mytest.MyTest
MIDlet-Jar-Size: 1442
MicroEdition-Profile: IMP-NG
MicroEdition-Configuration: CLDC-1.1

A suitable Manifest file for the JAD file above might look like:
Manifest-Version: 1.0
MIDlet-Name: MyTest
MIDlet-Version: 1.0.1
MIDlet-Vendor: TLR Inc.
MIDlet-1: MyTest, , example.mytest.MyTest
MicroEdition-Profile: IMP-NG
MicroEdition-Configuration: CLDC-1.1

8.6 Procedures

8.6.1 Install/Update

Java Application

Server

TC65

Parameter SMS

...

Parameter SMS with "START:install"

-SMS password check
-Parameters collection

- Combination of SMS parameter
set and AT parameter set
- If parameter set complete:
Close running Java application

(HTTP basic authentication)

HTTP request for .jad file

HTTP .jad file download

HTTP request for .jar file

HTTP download of .jar file

(HTTP basic authentication)

Download .jad file

Download .jar file

(HTTP Post Error)

(HTTP Post Result)

If Error, post and

reboot

-Post result,
-If success, install
and change autostart
-Reboot

OTAP

Controller

Saf

e

ty

T

imeout

Reboot

Start install/update procedure

C

los
edow

n

Timeout

Figure 18: OTAP: Install/Update Information Flow

(The messages in brackets are optional)