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 #220 background imageLoading...
Page #220 background image
SARA-R4/N4 series-AT Commands Manual
UBX-17003787 - R09

21HTTP
Page 220 of 307
21.2î™–î™–î™–î™–HTTP advanced control+UHTTPAC
+UHTTPAC
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
full No No No - Appendix A.6
21.2.1î™–î™–î™–î™–Description
Configures, reads or resets (to the factory-programmed values) the HTTP application profile advanced
parameters.
The configured HTTP profile advanced parameters are not saved in the non volatile memory.
21.2.2î™–î™–î™–î™–Syntax
Type Syntax Response Example
Set AT+UHTTPAC=<profile_id>,
<param_tag>,<key>,<value>
OK AT+UHTTPAC=0,0,0,"UBLX_
SESSION_COOKIE_0"
OK
Read AT+UHTTPAC=<profile_id>,
<param_tag>,<key>
+UHTTPAC: <profile_id>,<param_
tag>,<key>,<value>
OK
AT+UHTTPAC=0,0,0
+UHTTP: 0,0,0,"UBLX_SESSION_
COOKIE_0"
OK
Test AT+UHTTPAC=? +UHTTPAC: (list of supported
<profile_id>s),(list of supported
<param_tag>s),(list of supported
<key>s)
OK
+UHTTPAC: (0-3),(0),(0-3)
OK
21.2.3î™–î™–î™–î™–Defined values
Parameter Type Description
<profile_id> Number HTTP profile identifier, in range 0-3
<param_tag> Number
• 0: HTTP request COOKIES; manage request COOKIES sent to the HTTP server.
o <key>: index of the cookie (number); range 0-3. Identifies the cookie to be read
if <value> is omitted or configured if <value> is a valid string.
o <value>: value of the cookie (string); the maximum length is 256 characters. The
cookie values respect the following rules:
- Empty string (""): the cookie will be cleared and will not be present in the
request;
- Simple one-value cookie: the cookie will be set and sent in the request;
- Complex multi-value cookie: the cookies will be set and sent in the request.
The multiple cookies must be separated by a left-attached semicolon(";")
and a space(" ");
<key> Number/
String
Content depends on the related <param_tag> (see above).
<value> Number/
String
Content depends on the related <param_tag> (see above).
21.2.4î™–î™–î™–î™–Examples and use cases
In this section some AT+UHTTPAC command examples and use cases are listed.
Command Response Description
Example 1
AT+UHTTPAC=0,0,0,"" OK Clear HTTP request cookie at index 0
Example 2
AT+UHTTPAC=0,0,0,"SIMPLE_COOKIE" OK Set simple HTTP request cookie at index 0

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