![](/images/new-backgrounds/1119971/11997181x1.webp)
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
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 |