EasyManuals Logo
Home>Ublox>Control Unit>SARA-R4 Series

Ublox SARA-R4 Series User Manual

Ublox SARA-R4 Series
307 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #221 background imageLoading...
Page #221 background image
SARA-R4/N4 series-AT Commands Manual
UBX-17003787 - R09

21HTTP
Page 221 of 307
Command Response Description
Example 3
AT+UHTTPAC=0,0,0,"COMPLEX_COOKIE; COMPLEX_
COOKIE"
OK Overwrite HTTP request cookie at index 0
with a complex cookie
21.3î™–î™–î™–î™–HTTP command +UHTTPC
+UHTTPC
SARA-R404M SARA-R410M-01B SARA-R410M-02B SARA-R410M-52B SARA-R412MModules
SARA-N4
Syntax PIN required Settings saved Can be aborted Response time Error referenceAttributes
partial No No No - Appendix A.6
21.3.1î™–î™–î™–î™–Description
Triggers the HTTP command specified with <http_command> parameter, using the HTTP application profile
parameters (previously set up by +UHTTP AT command), specified with <profile_id>. The response indicates
if sending the command request to HTTP process was successful or not. The final result of HTTP command
will be returned to the user via the +UUHTTPCR URC.
21.3.2î™–î™–î™–î™–Syntax
Type Syntax Response Example
Set AT+UHTTPC=<profile_id>,<http_
command>,<path>,<filename>[,
<param1>[,<param2>[,<param3>]]]
OK AT+UHTTPC=0,1,"/path/file.html",
"responseFilename"
OK
Test AT+UHTTPC=? +UHTTPC: (list of supported
<profile_id>s),(list of supported
<http_command>s)
OK
+UHTTPC: (0-3),(0-5),100
OK
URC +UUHTTPCR: <profile_id>,<http_
command>,<http_result>[,<http_
status_code>,<md5_sum>]
+UUHTTPCR: 0,1,1
21.3.3î™–î™–î™–î™–Defined values
Parameter Type Description
<profile_id> Number HTTP profile identifier, in range 0-3
<http_command> Number
• 0: HEAD command; issue an HEAD request to the HTTP server.
o <param1>: not allowed
o <param2>: not allowed
o <param3>: not allowed
• 1: GET command; perform a GET request to the HTTP server.
o <param1>: not allowed
o <param2>: not allowed
o <param3>: not allowed
• 2: DELETE command; send a DELETE request to the HTTP server.
o <param1>: not allowed
o <param2>: not allowed
o <param3>: not allowed
• 3: PUT command; perform a PUT request to the HTTP server.
o <param1>: filesystem filename (string). It is a mandatory string representing
the file system filename to be sent to the HTTP server within the PUT request.
For file system file name and data size limits see File system limits.
o <param2>: HTTP Content-Type identifier (number); the range is 0-6. It is an
optional numeric parameter representing the HTTP Content-Type identifier
- 0: application/x-www-form-urlencoded
- 1: text/plain

Table of Contents

Other manuals for Ublox SARA-R4 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Ublox SARA-R4 Series and is the answer not in the manual?

Ublox SARA-R4 Series Specifications

General IconGeneral
BrandUblox
ModelSARA-R4 Series
CategoryControl Unit
LanguageEnglish

Related product manuals