User guide

Redpine Signals, Inc. Proprietary and Confidential. Page 62
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
Response Parameter
Description
0xC0 0xA8 0x32 0x01
GATEWAY
This is 4 bytes and indicates the
Gateway address of the module.
Returned in hex. For example, if
gateway is 255.255.255.0, the
value returned is
0xFF 0xFF 0xFF 0x00
NO_OF_OPEN_SOCKETS
1
This is 1 byte and indicates the
number of open sockets in the
module. Returned in hex. This
value ranges from 0x00 to 0x08.
Default value is 0x01 since
wireless firmware upgrade uses
a Socket always.
Socket details
The socket details are mentioned
below as a separate section
DNS_Server_Address
IP address of the DNS server.
Please refer to the command
Feature Select . Returned in 4
bytes hex. For example, if IP
address of the DNS server is
192.168.50.2, the value
returned is
0xC0 0xA8 0x32 0x02. Note
that this response is optional, it
will not be present if Bit[0] =‟ 0‟
Refer to Bit[0] in Feature
Select command . Also, it is not
present in case of RS9110-N-11-
28-04 modules
The rest of the parameters sent in the response are repeated for each open
socket. The number of such sets is equal to the NO_OF_OPEN_SOCKETS
parameter.
These parameters are explained below.
Response Parameter
Description
S_ID
This is 1 byte and indicates the
socket handle. Returned in hex.
S_TYPE
This is 1 byte and indicates the
type of socket.
0– TCP
1– UDP