User guide

Redpine Signals, Inc. Proprietary and Confidential. Page 48
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
NOTE: Redpine module has total of 7 sockets for UART modules and 6
sockets for SPI modules. User must use the socket handle returned from the
socket creation commands.
Apart from these user provided sockets there are internal sockets reserved
for HTTP client,DNS client, Wireless firmware upgrade/configuration, ARP
and DHCP client.
3.4.6 Open a Multicast socket
1
Description
This command opens a multicast socket.
Command
at+rsi_multicast
Usage
at+rsi_ multicast=Iphost,rport,lport\r\n
Parameters
Iphost Multicast IP address
Rport Target port (0 to 65535)
2
Lport Local port on the RS9110-N-11-2X module
Response
Result Code
Description
OK<sock_handle>
Upon successfully opening a multicast
socket, a socket handle (1 byte, hex) is
returned.
ERROR<Error code>
Failure
at+rsi_multicast=239.0.0.0,8000,8001\r\n
………………………………………………………………….
0x61 0x74 0x2B 0x72 0x73 0x69 0x5F 0x6D 0x75 0x6C 0x74 0x69 0x63 0x61
0x73 0x74 0x3D 0x32 0x33 0x39 0x2E 0x30 0x2E 0x30 0x2E 0x30 0x2C 0x38
0x30 0x30 0x30 0x2C 0x38 0x30 0x30 0x31 0x0D 0x0A
For a socket handle of 1 the response,
OK 1 \r\n
1
Not supported in RS9110-N-11-28-04
2
To Receive Multicast packets from any peer in multicast group the Rport of the
module should be always 00