GSM/GPRS Module
M35 AT Commands Manual
M35_AT_Commands_Manual Confidential / Released 125 /
186
Parameter
1. This command is used to send data on the TCP or UDP connection that has been established
already. Ctrl+Z is used as a termination symbol. ESC is used to cancel sending data.
2. The maximum length of the data to input at a time is 1460.
3. This command is invalid when QIMUX is 1 (refer to
AT+QIMUX
).
4. There are at most 1460 bytes that can be sent each time.
5. Only send data at the status of connection, otherwise respond with
ERROR
.
6.
SEND OK
means the data have been put into the send window to send rather than it has received
the ACK message for the data from the remote node. To check whether the data has been sent to the
remote note, it is necessary to execute the command
AT+QISACK
to query it.
11.3. AT+QICLOSE Close TCP or UDP Connection
Parameter
<index>
The index of the socket for sending data. This parameter is necessary only if
AT+QIMUX
was set as 1 (refer to
AT+QIMUX
). When
AT+QIMUX
was set as 0, the parameter MUST
be omitted
<length>
A numeric parameter which indicates the length of data to be sent, it MUST be less than
1460
AT+QICLOSE Close TCP or UDP Connection
Test Command
AT+QICLOSE=?
Response
OK
Execution Command
AT+QICLOSE
Response
If close succeeds:
CLOSE OK
If close fails:
ERROR
Write Command
AT+QICLOSE=<index>
Response
If close succeeds:
<index>, CLOSE OK
If close fails:
ERROR
Reference
<index>
The index of the socket for sending data. This parameter is necessary only if
AT+QIMUX
NOTES