User guide

Redpine Signals, Inc. Proprietary and Confidential. Page 142
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
Unlike management frames the frame body of data frames comprises of a two-
byte type field, which identifies the type of the command, followed by the
corresponding command data structure.
The following are the types of the TCP/IP commands, responses and events and
the corresponding codes.
Each data frame will start with the code as mentioned below.
Request
Code
TCP/IP Configure
0x01
Socket Create
0x02
Send
0x03
Socket Close
0x04
RSSI Query
0x05
Network Parameters
0x06
Connection Status Query
0x07
Disconnect
0x08
DHCP Info Query
0x09
HTTP Get Request
0x0A
HTTP Post Request
0x0B
Query Firmware Version
0x0D
Set MAC Address
0x0E
Query MAC Address
0x0F
DNS Request
0x11
Listen Interval Command
0x12
Table 19: Data Frame Based Codes (from Host to Module)
Response
Code
TCP/IP Configure
0x01
Socket Create
0x02
Connection Establishment
0x04
Remote Terminate
0x05
Close
0x06
Receive
0x07
RSSI Response Event
0x08
Network Parameter
Response Event
0x09