EasyManua.ls Logo

Motorola G24 Guide - MIPPUSH, Push Data into Protocol Stack

Motorola G24 Guide
642 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 3: AT Commands Reference
December 31, 2007 AT Commands Reference Manual 3-397
+MIPPUSH, Push Data into Protocol Stack
This command causes the G24 to push the data accumulated in its accumulating buffers into the
protocol stack. It is assumed that before using this command, some data should exist due to
previous +MIPSEND commands.
The following table shows the +MIPPUSH parameters.
Example
AT+MIPPUSH=1 //Terminal asks the G24 to flush the buffer in socket 1 (was opened using the
+MIPOPEN command)
+MIPPUSH: 0
OK
Command
Type Syntax Response/Action Remarks
Set
+MIPPUSH =
<Socket
ID>[,<"Destinatio
n
IP">,<Destination
Port>]
+MIPPUSH:
<Socket_ID>,<Status>[
,<accumulated_sent_le
ngth>]
OK
Or:
ERROR
Optional parameters are used only for UDP
connections. If the Destination IP and
Destination Port are not provided by the user,
a datagram is sent to the last target (or the
default target provided by the +MIPOPEN
command).
<accumulated_sent_length> - this parameter
counts how many bytes were sent to the
remote side by the G24 TCP/IP stack.
When user open socket,
<accumulated_sent_length> initialized to
zero.
Size of <accumulated_sent_length> is four
octets unsigned digit (0-4294967295).
<Status>:
0 - Success
1 - socket is flowed off
2 - there is no data in socket to send
Read
+MIPPUSH? MIPPUSH:[<socket
ID>]
Test
+MIPPUSH=? MIPPUSH=<socket
ID>,<IP>,<Port>
Table 3-266: +MIPPUSH Parameters
<Parameter> Description
Socket ID 1,2,3,4Number of valid socket
Destination IP IP of destination site in the format AAA.BBB.CCC.DDD. The value can be written in
1, 2 or 3 digits.
Destination
Port
0-65535Port of destination site. Written in decimal digits.

Table of Contents

Related product manuals