User Manual

Redpine Signals, Inc. Page 20
Connect
-
io
-
n™
RS9110-N-11-24
Evaluation Board User Guide
V
V
e
e
r
r
s
s
i
i
o
o
.
.
string from the Keyboard (“Data sent from Remote terminal” in
this example). On pressing “Enter” key on the keyboard, the data
is sent from the Laptop (C) to the module and the terminal
displays it with the AT+RSI_READ message.
c. To send data from the Wi-Fi module, first type Option 2 in Laptop
C and then type the below command in the module
at+rsi_snd=1,0,0,0,Data sent from Module
The first parameter in the command is the socket_handle. It is 1
in this case. It is returned as the response of the command
at+rsi_ltcp and can be observed in Serial Port Monitor software.
Refer to the Programming Reference Manual for more details. The
data sent will be displayed in the Laptop C. If the application in
Laptop (C) is exited, the corresponding TCP socket closes and a
message AT+RSI_CLOSE is sent by the module to the Host PC
5
.
Usage of PC applications:
TCP.exe <s for server> <lport> <dipaddr> <dport>
TCP.exe <c for client> <lport> <dipaddr> <dport>
s – to open a server TCP socket
c – to open a client TCP socket
lport – Local port number
dipaddr – IP address of the destination
dport – Port number of the destination
UDP.exe is also used in the same way.
5
Refer to the Software Programming Reference Manual for details on the
commands and module behavior.