User Manual

Redpine Signals, Inc. Page 19
Connect
-
io
-
n™
RS9110-N-11-24
Evaluation Board User Guide
V
V
e
e
r
r
s
s
i
i
o
o
.
.
c. at+rsi_fwversion?
This returns the firmware version in the module.
d. at+rsi_scan=0
This command makes the module scan for all channels.
e. at+rsi_authmode=3
This command sets the security mode for the module to WPA2-
PSK.
f. at+rsi_psk=12345678
This command configures the PSK in the module to match that in
the Access Point (AP). It is assumed in this example that a WPA2-
PSK enabled AP is used, with a key “12345678”.
g. at+rsi_join=TEST_AP,0,2
This command is to associate to the Access Point “TEST_AP”
h. at+rsi_ipconf=0,192.168.50.10,255.255.255.0,192.168.
50.1
This command configures the module’s IP to 192.168.50.10 in
static mode. Make sure the desired IP is in the same subnet as
the Access Point. The module responds to this command by
sending the configured IP address to the Host as response to
the command. In Hyperterminal, this response might appear as
unreadable characters because of ASCII conversion. Serial Port
Monitoring software can however be used to see the exact
bytes. To get the IP in DHCP mode the command is
at+rsi_ipconf=1,0,0,0
It is assumed in the following sections that an IP of
192.168.50.10 has been assigned.
i. at+rsi_ltcp=5001
This command opens a listening TCP socket in the module
5. Connect Laptop (C) to the same Access Point and execute ping from it to the
module to check basic connectivity.
6. Exchanging data between the PC (P) and Laptop (C)
a. Open a TCP socket in the Laptop (C) by typing the below
command in the Windows command line interface. Make sure that
any firewalls, that might prevent opening of sockets, are disabled.
TCP.exe c 2001 192.168.50.10 5001
The application is found in the path
RS.CN.xx.GENR.UT.x.x.x\Software\Applications\Windows.
b. The command line window will display three options: 1 (Send), 2
(Receive) and 3 (Exit). Type 1 to send data to the Wi-Fi module.
On being prompted “Enter the string to be Transmitted”, type any