Ac75 at command set – Siemens AC75 User Manual

Page 268

Advertising
background image

AC75 AT Command Set

10.3 AT^SISS

s

AC75_ATC_V01.002

Page 268 of 569

10/30/06

Confidential / Released

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. After the exact number of bytes are transferred via

the serial interface, the HTTP client will go from service state "Up" to service

state "Closing" (see parameters

<srvState>

and

<srvState>

for detail).

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.

Length: 0 ... 63

hcMethod

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

hcProp

Parameter for several HTTP settings.

Length: 0 ... 127

The general format is 'key': <space> 'value' "\0d\0a".

Multiple settings can be given separated by "\0d\0a" sequences within the

string.

Possible 'key' values are defined at HTTP/1.1 Standard RFC 2616.

hcRedir

This flag controls the redirection mechanism of the AC75 acting as HTTP client

(numeric).

If "hcRedir" = 0: No redirection.

If "hcRedir" = 1: The client automatically sends a new HTTP request if the

server answers with a redirect code (range 30x).

Default is 1.

hcAuth

If set ("hcAuth" = 1) this flag determines that the HTTP client will automatically

answer on authentication requests from the server with the current "passwd"

and "user" parameter settings. If these parameters are not specified the AC75

will terminate the HTTP connection and send an indication to the TA.

Default is 1.

smFrom

Email sender address, i.e. "MAIL FROM" address (string).

Length: 6 ... 256

A valid address parameter consists of local part and domain name delimited by

a '@' character, e.g. "[email protected]".

smRcpt

Recipient address of the email, i.e. "RCPT TO" address (string).

Length: 6 ... 256

If multiple recipient addresses are to be supplied the comma character is used

as delimiter to separate individual address values, e.g. "john.smith@somedo-

main.de,[email protected]".

smCC

CC recipient address of the email (string).

Length: 6 ... 256

If multiple CC recipient addresses are to be supplied the comma character is

used as delimiter to separate individual address values, e.g.

"[email protected],[email protected]".

smSubj

Subject content of the email (string).

Length: 0 ... 256

If no subject is supplied the email will be sent with an empty subject.

smHdr

This parameter, if set, will be appended at the end of the email header section

(string).

Length: 0... 256

Hence, it serves as a generic header field parameter which allows the user to

provide any email header field. It is the user's responsibility to provide correct

header fields!

String of max. 256 characters.

Example for multipart MIME messages:

"Content-Type: multipart/mixed".

Advertising