Neo_M590E V1 GPRS Module AT Command Set
Copyright © Neoway Technology Co., Ltd
36
(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 UDP transparent transmission
connection is set up successfully.
AT+UDPTRANS=neowayjsr.oicp.net,60010
OK
+UDPTRANS:OK
A UDP transparent transmission
connection 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 UDP transparent
transmission connection.
AT+UDPTRANS=220.199.66.56,6800
ERROR
ERROR
is returned after the command is
executed because a transparent
transmission (TCP, UDP, TCP server)
connection has been set up.
Remarks
The UART does not display the data transmitted to the server after the transparent
transmission UDP connection is set up successfully.
Use +++ to switch the server to the command mode and ATO to switch it to the data
mode.
The module will exit from the transparent transmission connection if a call or
message is incoming.
At most 4096-byte data can be sent or received in transparent transmission mode.
UDP data can be transparently transmitted after the UDP connection is set up
successfully and
+UDPTRANS:OK
is returned.
3.14
Setting Automatic TCP Data Sending: +TCPAUTO
Description
To set automatic TCP data sending
Format
AT+TCPAUTO=<socket>,<operation>[,<mode>,<time>,<length>]<CR>
AT+TCPAUTO=?<CR>
Parameter
<socket>: socket number, ranging from 0 to 5.
<operation>: Operation, ranging from 0 to 3.
0: restore to the default setting
1: set automatic sending
2: start automatic sending
3: stop automatic sending
<mode>: return value mode, which is valid only when <operation> is set to 1.
0: No return value is displayed after the TCP data is (or not) sent successfully.