EasyManua.ls Logo

Ublox SARA-R4 Series - HTTP Advanced Control+Uhttpac

Ublox SARA-R4 Series
307 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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

Related product manuals