MLB-S-BGS2-BW Terminal User Guide
41
Rev 1.3
Length: 0...127
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 127 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.
hcContLe
n
Mandatory parameter for HTTP method "Post".
Length: 0...
2
31
-1
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. 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.
hcUsrAge
nt
The user agent string must be set by the application to identify the mobile. Usually operation
system and software version info is set with this browser identifier.
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'
Multiple settings can be given separated by "\0d\0a" sequences within the string, do not put them
at the end.
Possible 'key' values are defined at HTTP/1.1 Standard RFC 2616.
hcRedir
This flag controls the redirection mechanism of the MLB-S-BGS2-BW acting as HTTP client
(numeric).
If "hcRedir" = 0: No redirection.
If "hcRedir" = 1 (default): The client automatically sends a new HTTP request if the server
answers with a redirect code (range 30x).
Содержание MLB-S-BGS2-BW
Страница 55: ...MLB S BGS2 BW Terminal User Guide 55 Rev 1 3 Notes...
Страница 56: ...MLB S BGS2 BW Terminal User Guide 56 Rev 1 3...