Redpine Signals, Inc. Proprietary and Confidential
Page 42
R
R
S
S
9
9
1
1
1
1
3
3
M
M
o
o
d
d
u
u
l
l
e
e
E
E
v
v
a
a
l
l
u
u
a
a
t
t
i
i
o
o
n
n
K
K
i
i
t
t
U
U
s
s
e
e
r
r
G
G
u
u
i
i
d
d
e
e
V
V
e
e
r
r
s
s
i
i
o
o
n
n
2
2
.
.
0
0
command and the expected responses. A command should not be
sent until the response for the previous command is received.
NOTE: Each AT command should have a suffix of Carriage Return <CR>
and Line Feed <LF>. This is enabled by default in Docklight.
i.
at+rsi_opermode=2,0,4,0
This command configures the module as Wi-Fi client. The module
responds with “OK”
j.
at+rsi_band=0
This command configures the operating band of Wi-Fi client to
2.4GHz. The module responds with “OK”
k.
at+rsi_init
This command initializes the Wi-Fi module in the EVB. The module
responds with OK<MAC_Address>.
l.
at+rsi_eap=TLS,MSCHAPV2,user1,test123,0
at+rsi_eap=TTLS,MSCHAPV2,user1,test123,0
at+rsi_eap=PEAP,MSCHAPV2,user1,test123,0
at+rsi_eap=FAST,MSCHAPV2,user1,test123,0
These commands set the EAP mode for the module and set the
authentication credentials (username and password). Issue one of
them based on which mode needs to be evaluated.
m.
To verify the EAP-TLS mode, a security certificate file should be
loaded into the module. A Python based script is provided to do the
same since loading of certificate files cannot be done through
Docklight. Please download and install Python for Windows from
https://www.python.org/downloads/release/python-279/
. In
addition, please download and install the Pyserial program for
accessing the Serial COM port from Python. This is available at
https://pypi.python.org/pypi/pyserial
NOTE: Please download the 32-bit version of Python for Windows from
the above link even if your PC is 64-bit since the 64-bit version does not
update the registry correctly, which causes a problem during the
installation of the Pyserial application.
n.
Open load_certificate.py file and change the serial port name
to “COM8” as shown in the line below. This is the Serial COM
port that was detected in Docklight earlier.
sp=serial.Serial(port="COM8",baudrate=115200,timeout=
0.01)
o.
Disable Docklight’s serial port connection to the EVB by hitting
‘F6’ when the Docklight window is open.
p.
Open the Windows Command Prompt and navigate to the
RS9113.NBZ.WC.GEN.OSI.x.x.x\utils\Python folder and give
the following command: