User guide

Redpine Signals, Inc. Proprietary and Confidential. Page 52
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
Result Code
Description
ERROR<Error code>
Failure.
On a failure while sending the
data on the TCP socket, if the
error code indicates “TCP
connection closed”, then the
RS9110-N-11-2X module closes
the socket.
Input parameter delimiter
The input parameters are delimited by commas (0x2C in ASCII format) in this
command.
For example to send a stream “abcdefghij” over a TCP socket
at+rsi_snd=1,0,0,0,abcdefghij\r\n
………………………………………………..
0x61 0x74 0x2B 0x72 0x73 0x69 0x5F 0x73 0x6E 0x64 0x3D
0x31 0x2C 0x30 0x2C 0x30 0x2C 0x30 0x2C 0x61 0x62 0x63 0x64
0x65 0x66 0x67 0x68 0x69 0x6A 0x0D 0x0A
For example, for 250 bytes sent, the response is
OK 250\r\n
………………….
0x4F 0x4B 0xFA 0x00 0x0D 0x0A
For example to send a stream “abcdefghij” over a Multicast socket
at+rsi_snd=1,239.0.0.0,1900,2100,abcdefghij\r\n
………………………………………………..
0x61 0x74 0x2B 0x72 0x73 0x69 0x5F 0x73 0x6E 0x64 0x3D 0x31 0x2C 0x32
0x33 0x39 0x2E 0x30 0x2E 0x30 0x2E 0x30 0x2C 0x31 0x39 0x30 0x30 0x2C
0x32 0x31 0x30 0x30 0x2C 0x61 0x62 0x63 0x64 0x65 0x66 0x67 0x68 0x69
0x6A 0x0D 0x0A
For example, for 250 bytes sent, the response is
OK 250\r\n
………………….
0x4F 0x4B 0xFA 0x00 0x0D 0x0A