User guide

Redpine Signals, Inc. Proprietary and Confidential. Page 180
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
}flash_config_t;
Structure of Response
Structure Member
Name
Description
Valid_Flag
0 - Invalid configuration
1 - Valid configuration
CNum
It returns the channel number of the
stored access point or network, according
to Channel Number Parameter (2.4
Ghz) and Channel Number Parameter
(5 Ghz).
NetworkType
1 - Infrastructure
0 - Ad-hoc
SecMode
0 Open (No Security)
1 WPA
2 WPA2
3 - WEP
uRate
Data Rate of the module
uTxPower
0 Low power (7dBm)
1 Medium power (10dBm)
2 High power (16 to 17dBm)
PSK
64 bytes, ASCII. The last byte of the
parameter should always be ignored.
Personal Shared Key. If the actual length
is not 64 bytes, then filler bytes (0x00)
are appended to the PSK to make it 64
bytes.
For example, if the key is „12345678,
the return value is 0x31 0x32 0x33
0x34 0x35 0x36 0x37 0x38 0x00
0x00 …..0x00 (to make 64 bytes)
join_ssid
SSID of the network to which the module
should get connected. Returned as ASCII
string. If the actual length is not 32 bytes,
then filler bytes (0x00) is appended to the
SSID to make it 32 bytes. For example, if
the SSID is „abcd‟, the return value is 0x61
0x62 0x63 0x64 0x00 0x00 …..0x00 (to
make 32 bytes)
Dhcp_enable
0 - DHCP Disable
1 - DHCP Enable
Ip
IP Address of the module
sn_mask
Subnet mask
Dgw
Default gateway
feature_select_bitmap
Value of feature select bitmap.