WizFi210
Programmers’ Guide
(WIZnet Co., Ltd.)
2-17
Meaning
Open an UDP Socket with destination address and port number.
Use this command whenever you already know peer’s IP address
and port number.
You can specify source port optionally if you want this socket has a
specific port number.
<Dest Address>
: Peer’s IP address
<Port>
: Peer’s port number
[<,Src.Port>]
: Local port number
ex)
AT+NCUDP=
192.168.3.200,5000
Response
AT+NSTCP
Format
AT+NSTCP=
<Port>
Meaning
Create a TCP server socket and Listen for peer system to connect.
If a connection is established with this server socket, you will get
another <CID> for communication with the peer system
.
<Port>
: Local Listen port number
ex) AT+NSTCP=
5000
Response
AT+NSUDP
Format
AT+NSUDP=
<Port>
Meaning
Open an UDP Socket with source port. You can use this command
for application which many unknown devices send UDP data to
your already known socket first.
<Port>
: Local port number
ex)
AT+NSUDP=
5000
Response
AT+CID
Format
AT+CID=
?
Meaning
Get the current connection status with CID
Response
In case of
some
Connections
CID TYPE MODE LOCAL PORT REMOTE PORT REMOTE IP
0 TCP CLIENT 52388
35001 192.168. 3.105
[OK]
In case of
no
No valid Cids