N11 V2
AT Command Manual
Copyright © Neoway Technology Co., Ltd
70
mode.
TCP data can be transparently transmitted after the TCP link is set up
successfully and
+TCPTRANS:OK
is returned.
9.2 Setting Up Transparent UDP Link: +UDPTRANS
Description
To transparently transmit UDP data
Format
AT+UDPTRANS=<ip>,<port><CR>
Parameter
<ip>: Destination IP address, in xx.xx.xx.xx format or in domain name format
(www.
XXXXX
.com).
<port>: Destination port ID in decimal ASCII code
Return Value
See the Example.
Example
AT+UDPTRANS =220.199.66.56,6800
OK
+UDPTRANS:OK
A transparent UDP link is set up
successfully.
AT+UDPTRANS=neowayjsr.oicp.net,60010
OK
+UDPTRANS:OK
A transparent UDP link is set up
by
using
domain
name
successfully.
AT+UDPTRANS=220.199.66.56,
+UDPTRANS:ERROR
The command format is
incorrect.
AT+UDPTRANS=220.199.66.56,6800
OK
+UDPTRANS:FAIL
Failed to set up a transparent
UDP link.
AT+UDPTRANS=220.199.66.56,6800
ERROR
ERROR
is returned after the
command is executed because
a transparent (TCP, UDP, TCP
server) link has been set up.
Remarks
The UART does not display the data transmitted to the server after the
transparent UDP link is set up successfully.
Use +++ to switch the server to the command mode and ATO to switch it to