Neo_WM620 WCDMA Module AT Command Set
Copyright © Neoway Technology Co., Ltd
69
Remarks
This command should have been executed before the
AT+UDPSETUP
command is
executed.
If you do not use this command, the local port ID will be allocated dynamically every
time the UDP link is set up.
9.18 Setting Socket Timeout Parameter: +SSTP
Description
To obtain the port ID of the socket on the module
Format
AT+GETPORT=<socket>
Parameter
<socket>: socket ID
Return
Value
+GETPORT:<n>,<typet> <port>
<n>: socket ID
<typet>: Connection type
<port>: Port ID
Example
AT+GETPORT=0
+GETPORT:0,TCP,42299
OK
Return the port ID of socket
0.
AT+GETPORT=2
+GETPORT:2,UDP,23353
OK
Return the port ID of socket
2.
AT+GETPORT=0
+GETPORT:0,NUL,0
OK
No link has been set up
using socket 0.
Remarks
N/A