GSM/GPRS Module
M35
AT Commands Manual
M35
_AT_Commands_Manual Confidential / Released 124 /
186
1. This command is allowed to establish a TCP/UDP connection only when the state is IP INITIAL or IP
STATUS or IP CLOSE. So it is necessary to process "
AT+QIDEACT
" or "
AT+QICLOSE
" before
establishing a TCP/UDP connection with this command when the state is not IP INITIAL or IP
STATUS or IP CLOSE.
2. If
AT+QIMUX
was set as 0 and the current state is CONNECT OK, which means the connection
channel is used, it will reply "ALREADY CONNECT" after issuing the Write command.
11.2. AT+QISEND Send Data through TCP or UDP Connection
<port>
The port of the remote server
<domain name>
A string parameter which represents the domain name address of the remote server
AT+QISEND Send Data through TCP or UDP Connection
Test Command
AT+QISEND=?
Response
+QISEND: <length>
OK
Execution Command
AT+QISEND
response"> ", then type data to send,
tap CTRL+Z to send, tap ESC to cancel
the operation
Response
This command is used to send changeable length data.
If connection is not established or disconnected:
ERROR
If sending succeeds:
SEND OK
If sending fails:
SEND FAIL
Write Command
AT+QISEND=[<index>,]<length>
Response
This command is used to send fixed-length data or send data
on the given socket (defined by
<index>
).
If connection is not established or disconnected:
ERROR
If sending succeeds:
SEND OK
If sending fails:
SEND FAIL
Reference
NOTES