User guide

Redpine Signals, Inc. Proprietary and Confidential. Page 26
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
Result Code
Description
0x00 - Ad-hoc
ERROR<Error code>
Failure
For example, if there is an infrastructure network “Redpine_net”, that is already
scanned by the at+rsi_scan command, then
at+rsi_nwtype?r\n
………………………………….
0x61 0x74 0x2B 0x72 0x73 0x69 0x5F 0x6E 0x77 0x74 0x79
0x70 0x65 0x3F 0x0D 0x0A
OK Redpine_net <Network Type> \r\n
…………………………………………………
0x4F 0x4B 0x52 0x65 0x64 0x70 0x69 0x6E 0x65 0x5F 0x6E
0x65 0x74 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0X00 0x00 0x01
0x0D 0x0A
Similarly, if there are two networks returned by the at+rsi_scan command, then
at+rsi_nwtype? command will return the two SSIDs with the corresponding
network type.
3.2.9 Set Network Type
Description
This command configures the type of network the module wishes to join. This
command is also given before creating an ad-hoc (IBSS)
1
network in creator
mode.
Command
at+rsi_network
Usage
at+rsi_network=network_type \r\n
Parameters
network_type: Type of the network to be created/joined
INFRASTRUCTURE For infrastructure mode
IBSS,type,chan_num - Ad-Hoc mode, security disabled
IBSS_SEC,type,chan_num - Ad-Hoc mode security enabled. Only WEP
security is supported
1
Ad-hoc feature does not support DHCP