Short message format, 4 short message format – Siemens TC65 User Manual

Page 41

Advertising
background image

TC65 JAVA User's Guide
Strictly confidential / Released

s

TC65 JAVA User's Guide_V05

Page 41 of 90

26.09.2005

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.4

Short 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.

Advertising