Siemens XT65 User Manual

Page of 123
Java User’s Guide
8.4 Short Message Format
63
s
wm_java_usersguide_v12
Page 57 of 123
2008-02-25
Confidential / Released
The length of the string parameters in the AT command is limited (se
), 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 
“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 key-
words, in capital letters, are case sensitive. A colon separates the keywords from their values. 
Ignore SM PID
--
--
--
--
Hide HTTP authentica-
tion parameters
--
--
--
--
Table 10:  Parameters and keywords
Parameters 
Max. Length AT
Keyword SM
Install/update
delete