User guide

Redpine Signals, Inc. Proprietary and Confidential.  Page 45 
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
Parameters 
lport – Local port on the RS9110-N-11-2X module 
Response 
Result Code 
Description 
OK<sock_handle> 
Upon successfully opening and 
connecting the UDP socket to the 
host port, a socket handle is 
returned. The socket handle is 
followed after OK. OK is returned 
as ASCII, while <sock_handle> 
as a 1 byte value in hexadecimal. 
ERROR<Error code> 
Failure 
Example: 
at+rsi_ludp=8000\r\n 
…………………………. 
0x61 0x74 0x2B 0x72 0x73 0x69 0x5F  0x6C  0x75 0x64 0x70 0x3D 0x38 
0x30 0x30 0x30 0x0D  0x0A 
For a socket handle of 1 the response, 
OK 1 \r\n 
……………………. 
0x4F 0x4B 0x01 0x0D 0x0A 
3.4.4  Open a UDP Socket 
Description 
This command opens a User Datagram Protocol (UDP) socket and links to the 
remote system„s specific host and port address. The UDP socket is virtually 
connected to the peer specified by the IP and the port. 
Command 
at+rsi_udp 
Usage 
at+rsi_udp=Iphost,rport,lport\r\n 
Parameters 
Iphost – IP Address of the Target server 
rport – Target port (0 to 65535) 










