beautypg.com

Tc63 at command set – Siemens TC63 User Manual

Page 246

background image

TC63 AT Command Set

10.2 AT^SISS

s

TC63_ATC_V00.490

Page 246 of 501

5/24/05

Confidential / Draft - Do not copy

If "url-path" contains the IP address and has a slash '/' appended a detailed

directory listing is requested.

"type": [a)scii | i)mage | d)irectory]

"size": Specifies the total amount of upload data. For each part, the trans-

mission is triggered by the URC "

^SISW

: x, 1", then the

AT^SISW

write com-

mand can be executed. After the last packet the URC "

^SISW

: x, 2"

indicates that all data have been transferred and the FTP connection is shut

down. Afterwards, the service can be closed with

AT^SISC

.

If "size" is not given the upload procedure is the same, except that the

AT^SISC

=0 command must be executed after sending the last packet, and

the URC "

^SISW

: x, 2" will appear afterwards to indicate the end of data

transfer.

"mode": [u)nique | a)ppend | d)elete]

"u)nique" selects the FTP Store Unique command to create a file name

unique to the current directory. If the file name is assigned by the server

then the "

^SIS

" URC will appear, indicating

2100 and the

file name.

"d)elete" clears given 'element name'.

If "mode" is omitted "replace mode" is default setting.

3.

HTTP
- HTTP client URL

"http://'server'/'path':'tcpPort' "

"server": FQDN or IP-address

"path": path of file or directory

"tcpPort": If parameter is omitted the service connects to HTTP default

port 80.

Refer to "IETF-RFC 2616".

4.

SMTP
- SMTP server address (string).

Length: 4 ... 256.

5.

POP3
- POP3 server address (string).

Length: 4 ... 256.

hcContent

Optional parameter for HTTP method "Post".

Can be used to transfer a small amount of data. The content of this string will

only be sent if "hcContLen" = 0. The maximum length of "hcContent" is 128

bytes.

To transmit a larger amount of data "hcContLen" must be set to a non-zero

value. In this case the "hcContent" string will be ignored, and data transmission

from the client to the server is done with

AT^SISW

.

hcContLen

Mandatory parameter for HTTP method "Post".

The content length shall be set in the header of the HTTP "Post" request before

the data part is transferred.

If "hcContLen" = 0 then the data given in the "hcContent" string will be posted.

If "hcContLen" > 0 then the

AT^SISW

command will be used to send data from

the client to the server. In this case, "hcContLen" specifies the total amount of

data to be sent. The data can be sent in one or several parts. For each part,

the transmission is triggered by the URC "

^SISW

: x, 1", then the

AT^SISW

write

command can be executed. Finally, the URC "

^SISW

: x, 2" indicates that all

data have been transferred and the service can be closed with

AT^SISC

.

hcUsrAgent

The user agent string must be set by the application to identify the mobile. Usu-

ally operation system and software version info is set with this browser identi-

fier.

hcMethod

HTTP method specification: 0=GET, 1=POST, 2=HEAD.