Neo_WM620 WCDMA Module AT Command Set
Copyright © Neoway Technology Co., Ltd
64
+UDPCLOSE:1,OK
AT+UDPCLOSE=?
+UDPCLOSE: (0-5)
OK
Query the value range of socket numbers
that UDP link is closed.
AT+UDPCLOSE=2
+UDPCLOSE:ERROR
No UDP link is set up on socket 2.
AT+UDPCLOSE=55
+UDPCLOSE: ERROR
Socket number error
Remarks
This querying format is supported by E9C33424 and later versions.
9.12 Querying TCP/UDP Connection Status: +IPSTATUS
Description
To query the TCP/UDP connection status
Format
AT+IPSTATUS=<n><CR>
Parameter
<n>: Socket number, ranging from 0 to 5
Return
Value
+IPSTATUS:<n>,< status>,<type>:
<n>: Socket number, ranging from 0 to 5
<status>: Connection status, value: CONNECT, DISCONNECT, or LISTENING
<type>: Connection type, TCP, UDP, SVR
Example
AT+IPSTATUS=0
+IPSTATUS:0,CONNECT,TCP
OK
A TCP connection has been set up on
socket 0.
AT+IPSTATUS=2
+IPSTATUS:2,DISCONNECT
OK
Link 2 has been closed and no
connection has been set up on it.
AT+IPSTATUS=1
+IPSTATUS:1,CONNECT,UDP
OK
A UDP connection has been set up on
link 1.
AT+IPSTATUS=2
+IPSTATUS:2,LISTENING,SVR
OK
TCP service listening has been enabled
on socket 2.
Remarks
N/A