LPWA  Module  Series 
   BG95&BG77&BG600L  Series  TCP/IP  Application  Note 
BG95&BG77&BG600L_Series_TCP/IP_Application_Note            22 / 56 
 
 
 
2.3.7.  AT+QISEND    Send Data 
In buffer access mode (<access_mode>=0) or direct push mode (<access_mode>=1), the data can be 
sent with AT+QISEND. If the data is sent to the module successfully, SEND OK is returned. Otherwise 
SEND FAIL or ERROR is returned.   
  SEND FAIL indicates the sending buffer is full. In this case, data can be resent.   
  ERROR indicates there is an error in the process of sending data. In this case, wait for some time 
before you resend the data.   
  SEND OK does not mean the data has been sent to the peer successfully. You can query whether 
the data has reached the peer with AT+QISEND=<connectID>,0. 
Response 
+QISEND:  (range  of  supported  <connectID>s),(range  of 
supported <send_length>s) 
 
OK 
Write Command   
Send  variable-length  data  when 
<service_type>  is  "TCP",  "UDP"  or 
"TCP INCOMING" 
AT+QISEND=<connectID> 
 
Response 
> 
After the response >, input the data to be sent. Tap Ctrl+Z to 
send, and tap Esc to cancel the operation 
 
If  the  connection  is  established  and  the  data  is  sent 
successfully: 
SEND OK 
 
If the connection is established but the sending buffer is full: 
SEND FAIL 
 
If the connection is not established, abnormally closed, or any 
parameter is incorrect, response: 
ERROR 
Write Command 
Send  fixed-length  data  when   
<service_type>  is  "TCP",  "UDP"  or 
"TCP INCOMING" 
AT+QISEND=<connectID>,<send_len
gth> 
 
Response 
> 
After  the  response  >,  input  the  data  until  the  data  length 
equals <send_length> 
 
If  the  connection  is  established  and  the  data  is  sent 
successfully: 
SEND OK 
 
If the connection is established but the sending buffer is full: 
SEND FAIL