User guide

Redpine Signals, Inc. Proprietary and Confidential. Page 203
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
4. Autmode: at+rsi_authmode=3\r\n
5. Pre-Shared Key: at+rsi_psk=RSI_EVAL\r\n
6. Joining (Association): at+rsi_join=RSI_Infrastructure,0,2\r\n
7. IP Address Configuration (Manual): at+rsi_ipconf=0,
192.168.1.175,255.255.255.0,192.168.1.99\r\n
8. TCP server socket creation at (C): at+rsi_tcp=5001\r\n.
The return value for this command would be the socket number, e.g., 1.
9. TCP client socket creation on (A): Run on command line of Laptop A-
RS.CN.xx.GENR.UT.x.x.x\Software\Applications\Windows\TCP.exe
c 2001 192.168.1.175 5001.
10.Sending 10 bytes of data over TCP to (A):
at+rsi_snd=1,0,0,0,abcdefghij\r\n
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.
Infrastructure Mode setup in WEP security mode
The AT Command sequence is as follows:
1.Band selection: at+rsi_band=0\r\n
2.Initialization: at+rsi_init\r\n
3.Scanning for Access Points : at+rsi_scan=0\r\n
4.Network Type: at+rsi_network=INFRASTRUCTURE\r\n
5.Autmode: at+rsi_authmode=1\r\n
6.Pre-Shared Key: at+rsi_psk=RSI_EVAL\r\n
7.Set alternative WEP keys:
at+rsi_wep_keys=2,ABCDE12345,ABCDE12346,ABCDE12347\r\n
8.Joining (Association): at+rsi_join=RSI_Infrastructure,0,2\r\n
9.IP Address Configuration (Manual): at+rsi_ipconf=0,
192.168.1.175,255.255.255.0,192.168.1.99\r\n