EasyManuals Logo

Motorola G24 Guide User Manual

Motorola G24 Guide
642 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #569 background imageLoading...
Page #569 background image
Chapter 4: Using the Commands
December 31, 2007 AT Commands Reference Manual 4-31
+MIPOPEN: 1,1
AT+MIPOPEN=2,1111,"172.17.238.44",1111,0
OK
+MIPOPEN: 2,1
+MIPSETS=1,200 //Asking the G24 to accumulate 200 bytes on socket 1 prior to sending
+MIPSETS: 0
OK
+MIPSETS=2,400 //Asking the G24 to accumulate 400 bytes on socket 2 prior to sending
+MIPSETS: 0
OK
+MIPSEND=1,"444444"
+MIPSEND:1,1497
OK
+MIPSEND=2,"DD" //Passing data to the G24 socket 2
+MIPSEND:2,1499
OK
+MIPPUSH=1 //Terminal asks the G24 to flush the buffer in sockets 1 and 2
+MIPPUSH:0
+MIPPUSH=2
+MIPPUSH:0
+MIPCLOSE=1 //Terminal closes sockets 1 and 2
+MIPCLOSE:1
OK
+MIPCLOSE=2
+MIPCLOSE:2
OK
+MIPCALL=0 //Terminal hangs up the link
OK
+MIPSETS=1,120 //Asking the G24 to accumulate 120 bytes on socket 1 prior to sending
+MIPSETS: 0
OK
+MIPSEND=1,"444444" //Passing 3 bytes of data to the G24 socket 1
Note: Size remaining in socket 1 buffer is 1497 bytes.
+MIPSEND:1,1497
+MIPPUSH=1 //At this point, the terminal can decide on flushing the remainder to
the stack
Xoff and Xon Example
In this example, it is assumed that the buffer size is 1500 and that some kind of error happened on
the protocol stack.
+MIPSEND=1,"A344343ABC343438980BC...AB4" //Passing data to G24 socket 1
+MIPSEND:1,1200 //(Note: Size remaining in socket 1 accumulating buffer is 1200 bytes.)
+MIPSEND=1,"A344343ABC343438980BC...A23"
+MIPSEND:1,0 //(Note: No free space in buffer.)
+MIPXOFF: 1 //The G24 detects that the accumulating buffer on socket 1 has no free
space to accumulate data and data cannot be sent to the protocol stack.
From this point on, the terminal is not allowed to send data until it receives the +MIPXON
command.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Motorola G24 Guide and is the answer not in the manual?

Motorola G24 Guide Specifications

General IconGeneral
BrandMotorola
ModelG24 Guide
CategoryTelephone Accessories
LanguageEnglish

Related product manuals