
W7500S2E serial to Ethernet module
W7500S2E user manual
20
Ty
pe
Command
Function
At
tr
ib
ut
e
Max
length
Parameters
D
at
a
tr
an
sf
er
c
om
m
an
d
LINK
PHY link status
R
-
0: PHY link not connect
1: PHY link connected
LISTEN
Listening on TCP
W
-
-
CONNECT
Initiate TCP connection
W
-
-
TCP_STATUS
TCP connection status
R
-
0: TCP closed
1: TCP connected
UDP
Establish UDP
W
-
-
SEND
Send the length
W
4
Range: 0 ~ 2048
Default: 0 (any length)
RCV
Receive the length
W
4
Range: 0 ~ 2048
Default: 0 (any length)
RLEN
Receive data length
R
-
Remaining length to be received
DISCON
Close socket
W
-
-
CLEAR
Clear network receiving
buffer
W
-
-