GPRS/EDGE
3-404 AT Commands Reference Manual June 30, 2008
Motorola recommends that the terminal sets the watermark in the accumulating buffer prior to this command, using the +MIPSETS command. By default, the watermark is set to 1372 bytes of data.The following table shows the +MIPSEND parameters.
Example
(Socket 4 was not opened using +MIPOPEN AT command)
AT+MIPSEND=4,"4444"
ERROR
AT+MIPSEND=1,"4444"
+MIPSEND: 1,1370 //1372- 2 chars 'DD' = 1370
OK
AT+MIPSEND=?
ERROR
AT+MI PSE ND?
+MIPSEND: 1,1372 //Sockets 1 and 2 were opened using + MIPOPEN AT command
+MIPSEND: 2,1372 //Sockets 1 and 2 were opened using + MIPOPEN AT command
OK
Command Type Syntax Response/Action Remarks
Set +MIPSEND =
<Socket
ID>,<Data>
ERROR
+MIPSEND: <Socket ID>,<Status>,<Free
Size>
Data in the
+MIPSEND
command is limited
to 80 characters
(160 in coded
form).
<Status>:
0 - Success
1 - Socket is
flowed off
Read +MIPSEND? +MIPSEND <Socket ID>,<Free
Size>>[<Socket ID> <Free
Size>]<CR><LF>
For all ACTIVE sockets.
Test +MIPSEND=? ERROR
Table 3-267:+MIPSEND Parameters
<Parameter> Description
<socket ID> 1,2,3,4 Number of valid socket
<Free Size> Free space in current buffer. Free size is calculated from the 1372.
0 < Free Size < 1372
<Data> User data string is sent encoded with 0-F hexadecimal digits (String ends with a
<CR>)