![Redpine Signals RS9113 EVB Скачать руководство пользователя страница 32](http://html.mh-extra.com/html/redpine-signals/rs9113-evb/rs9113-evb_user-manual_1429981032.webp)
Redpine Signals, Inc. Proprietary and Confidential
Page 32
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
unreadable characters because of ASCII conversion. You can use
the HEX tab of Docklight to see the bytes sent by the module.
f.
at+rsi_psk=1,12345678
This command configures the PSK of the Wi-Fi client with the key
entered by user. The User can enter any other key as PSK.
g.
at+rsi_join=Test_AP,0,2,2
This command connects the Wi-Fi client to the Access Point with
SSID “Test_AP”. On successful association, the module responds
with OK.
h.
at+rsi_ipconf=0,192.168.50.10,255.255.255.0,192.168.50.1
at+rsi_ipconf=1,0,0,0
This command configures the IP address of the module. The IP
address configured in the above command is for illustration only.
The user has to configure the IP address as per the Access Point’s
settings using either Manual (first command above) or DHCP mode
(second command above).
For the Manual mode, ensure that the desired IP is in the same
subnet as the Access Point’s subnet. The module responds to this
command by sending the configured IP address to the Host. In the
terminal, this response might appear as unreadable characters
because of ASCII conversion. You can use the HEX tab of
Docklight to see the bytes sent by the module.
5.3.1.2
Test Procedure
The IP addresses configured in this process are meant for illustration
only. It is assumed that Wi-Fi client of the EVB is assigned an IP address
of 192.168.50.10 and Laptop C, connected to the Access Point is assigned
an IP address of 192.168.50.20.
The applications provided in the USB drive (as part of the release
package) send and receive TCP and UDP packets.
TCP and UDP applications are provided along with release package for
execution on the Laptop. These applications are located in the path
RS9113.NBZ.WC.GEN.OSI.x.x.x\utils\peer_applications\Windows where
RS9113.WSC.GENR.x.x.x is software package directory.
1)
Open a TCP Server socket on the Wi-Fi Client (EVB) side using the
following AT command:
at+rsi_ltcp=5001,1,0
2)
The module’s response will look as follows:
OK<ip_version><socket_type><socket_handle><Lport><module_ip
addr>\r\n
The
socket_handle
in the response above is used for subsequent
commands.
3)
Open a TCP client socket on Laptop C by running the TCP.exe
application as follows in the Windows Command Prompt: