User guide

Redpine Signals, Inc. Proprietary and Confidential.  Page 159 
R
R
S
S
9
9
1
1
1
1
0
0
-
-
N
N
-
-
1
1
1
1
-
-
2
2
2
2
/
/
2
2
4
4
/
/
2
2
8
8
S
S
o
o
f
f
t
t
w
w
a
a
r
r
e
e
P
P
r
r
o
o
g
g
r
r
a
a
m
m
m
m
i
i
n
n
g
g
R
R
e
e
f
f
e
e
r
r
e
e
n
n
c
c
e
e
M
M
a
a
n
n
u
u
a
a
l
l
V
V
e
e
r
r
s
s
i
i
o
o
n
n
4
4
.
.
1
1
5
5
Structure Member 
Name 
Description 
-191 : HTTP socket creation failed 
Figure 35: Offset Parameter in HTTP Get Request 
4.10.7  HTTP POST Request
1
Description 
This command is used to transmit an HTTP POST request to an HTTP server. The 
HTTP POST Request can be issued only in a serial manner meaning only if HTTP 
response is obtained for the current request, the next Request can be issued 
Relevance 
This command is relevant when the TCP/IP stack is enabled. 
Frame Body 
The following is the structure for the HTTP POST Request: 
struct TCP_HTTP_Req 
{ 
UINT16 ipaddr_len; 
UINT16 url_len; 
1
 Please check the Release Notes of the individual modules‟ software/firmware 
releases to check whether this feature is supported. 
W0 
W1 
W2 
W3 
W4 
W5 
W6 
W7 
 Payload 
Offset (in terms of bytes) 
Actual response from 
HTTP server starts 
Length of actual HTTP response = 
W0[11:0] + 16 - Offset 










