User guide

Redpine Signals, Inc. Proprietary and Confidential. Page 60
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
OK<SSID><SEC_TYPE><PSK><Ch
n_No><MAC_ADDR><DHCP_MODE
/ERROR_CODE><IP_Addresss><S
UBNET><GATEWAY><NO_OF_OPE
N_SOCKET>
[<S_ID1><S_TYPE1><Sport1><D
port1><Dip1>]
[<S_ID2><S_TYPE2><Sport2><D
port2><Dip2>] … up to the
number indicated by
<NO_OF_OPEN_SOCKET><DNS_S
erver_Address>
String of response parameters
follows after OK. Please refer to
the next table for description of
each parameter.
ERROR<Error code>
Failure
Response Parameter
Description
SSID
This is 32 bytes and is the SSID
of the Access Point to which the
module is connected. Sent in
ASCII. If the AP does not have a
32 character SSID, then filler
bytes 0x00 are sent to complete
32 bytes of return value. This
parameter contains dummy
bytes in IBSS mode (with
module as creator) if no Wi-Fi
nodes have joined the network
SEC_TYPE
This is 1 byte, sent in hex, and
indicates the mode of WLAN
connection (Secure or Open).
0x00 Open (No security)
0x01 WPA
0x02 WPA2
0x03 WEP
This parameter contains dummy
bytes in IBSS mode (with
module as creator) if no Wi-Fi
nodes have joined the network
PSK
This is 32 bytes if Bit[3] = „0‟ ;
63 bytes if Bit[3] = „1‟ in the
command. Refer to Bit[3] in
Feature Select command. It is
sent in ASCII and indicates the
Pre-Shared Key that is
configured from the Host to