Mipsend, send data, Mipsend, send data -284, Mipsend parameters -284 – PIONEERPOS AT Commands G24-LC User Manual
Page 348

GPRS
3-284
G24-L AT Commands Reference Manual
April 15, 2008
+MIPSETS: (1-4),(1-1372)
OK
AT+MIPSETS?
+MIPSETS: 1,100
//Information provided only for active sockets
+MIPSETS: 2,1372
//Information provided only for active sockets
OK
+MIPSEND, Send Data
This command causes the G24-L to store the data that the terminal provides in the accumulating
buffer, and then send this data using an existing protocol stack when the amount of data reaches
the predefined amount (see
“+MIPSETS, Set Size for Automatic Push” on page 3-283
). Before
sending data, a valid connection must be created using the +MIPCALL and +MIPOPEN
commands.
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.
Command Type
Syntax
Response/Action
Remarks
Set
+MIPSEND =
ERROR
Or:
+MIPSEND=
Size>
Data in the
+MIPSEND
command is limited
to 80 characters
(160 in coded
form).
0 - Success
1 - Socket is
flowed off
Read
+MIPSEND?
+MIPSEND
Size>>[
For all ACTIVE sockets.
Test
+MIPSEND=?
ERROR
Table 3-200: +MIPSEND Parameters
Description
1,2,3,4
Number of valid socket
Free space in current buffer. Free size is calculated from the 1372.
0
< Free Size < 1372
User data string is sent encoded with 0-F hexadecimal digits (String ends with a