Technical information
Table Of Contents
- Table of Contents
- List of Figures
- List of Tables
- Preface
- Manual Scope
- Target Audience
- Manual Organization
- Applicable Documents
- Contact Us
- Text Conventions
- Manual Banner Definitions
- Field Service
- General Safety
- Caring for the Environment
- Limitation of Liability
- Warranty Notification
- How to Get Warranty Service?
- Claiming
- Conditions
- What is Not Covered by the Warranty
- Installed Data
- Out of Warranty Repairs
- Revision History
- Chapter 1: Product Features
- Chapter 2: Introduction to AT Commands
- Chapter 3: AT Commands Reference
- Modem ID
- Subscriber Unit Identity
- +CGMI, +GMI, +FMI, Request Manufacturer ID
- +CGMM, +GMM, +FMM, Request Model ID
- +CGMR, +GMR, +FMR, Request Revision
- +CGSN, +GSN, Request Product Serial Number Identification
- +CSCS, Select Terminal Character Set
- +CIMI, Request IMSI
- +CFSN, Read Factory Serial Number
- I, Request Identification Information
- +CNUM, Request MSISDN(s)
- $, List of All Available AT Commands
- +CLAC, List of All Available AT Commands
- Capability Reporting
- Subscriber Unit Identity
- Call Control
- Managing a CSD (Data) Call
- Receiving a Data Call
- Call Control AT Commands
- D, Dial Command
- D>, Direct Dialing from Phone Books
- DL, Dial Last Number
- H, Hang-up Call
- A, Answer Incoming Call
- +CRC, Cellular Result Codes and RING, +CRING - Incoming Call Indication
- +CLIP, Calling Line Identification
- +CCWA, Call Waiting Command
- +CHLD, Call Related Supplementary Services Command
- +CCFC, Call Forwarding Number and Conditions
- +CLIR, Calling Line Identification Restriction
- +CBST, Select Bearer Service Type
- O, Return to Online Data State
- &Q, Asynchronous Mode
- +CHUP, Hang Up Call
- +CSNS, Single Numbering Call Scheme
- +MDC, Selection of Desired Message to Be Displayed Upon Connection of a Voice Call
- +CTFR1, Divert an Incoming Call When User Busy
- +MFIC, Filtering Incomming Calls
- +MVC, Motorola Vocoders Configuration
- Call Status Messages
- Call Advice of Charge Commands
- Supplementary Services
- Phone Books and Clock
- SMS
- SMS Commands
- +CSMS, Select Message Service.
- +CPMS, Preferred Message Storage
- +CMGF, Message Format
- +CSCA, Service Center Address
- +CSMP, Set Text Mode Parameters
- +CSDH, Show Text Mode Parameters
- +CNMI, New Message Indications to Terminal
- +CNMA, New Message Acknowledgment
- +CMTI, Unsolicited Response (New SMS-DELIVER Receipt Indication)
- +CMT, Unsolicited Response (New SMS-DELIVER Receipt)
- +CBM, Unsolicited Response (New CB Message Receipt)
- +CDSI, Unsolicited Response (New SMS-STATUS-REPORT Indication)
- +CDS, Unsolicited Response (New SMS-STATUS-REPORT Receipt)
- +CMGL, +MMGL, List Messages
- +CMGR, +MMGR, Read Message
- +MMAR, Motorola Mark As Read
- +CMSS, Send Message From Storage
- +CMGW, Write Message to Memory
- +CMGD, Delete Message
- +CGSMS, Select Service for MO SMS Messages
- +CMGS, Send SM to Network
- +CSCB, Cell Broadcast Messages
- +MCSAT, Motorola Control SMS Alert Tone
- +MEGA, Email Gateway Address
- +TSMSRET, Control SMS Sending Retry
- DCS handling
- SMS Commands
- Network
- Hardware Information
- Hardware Information Commands
- +CBC, Battery Charger Connection
- +CBAUD, Baud Rate Regulation
- +IPR, Local Terminal/G24 Serial Port Rate
- +GCAP, Request Overall Capabilities
- +MTDTR, DTR Line Test Command
- +MTCTS, CTS Line Test Command
- &K, RTS/CTS Flow Control
- &C, Circuit 109 Behavior
- &D, Circuit 108 Behavior
- +MCWAKE, GPRS Coverage
- +MGGIND, GSM/GPRS Service Indicator
- +CFUN, Shut Down Phone Functionality
- +ICF, DTE-DCE Character Framing
- ATS97, Antenna Diagnostic
- +MRST, Perform Hard Reset
- +TWUS, Wakeup Reason Set
- +TWUR, Wakeup Reason Request
- +TASW, Antenna Switch
- +TADIAG, Query Antennas ADC Value
- READY, Unsolicited Notification (UART Ready Indication)
- +MPSU, Motorola Physical Second Uart
- +MIOC, Motorola I/O Configure
- +MIOD, Motorola I/O Define
- +MMAD, Query and Monitor ADC Value
- +MPCMC, Continuous PCM Clock
- +MVREF, Motorola Voltage Reference
- Hardware Information Commands
- Audio
- Access
- Access Control Commands
- A/, Repeat Last Command
- AT, Check AT Communication
- +CPIN, Enter PIN for Unlocking SIM Card or Enter PUK for Unblocking SIM Card
- +EPIN, Enter SIM PIN2 to Verify PIN2 Indicator
- +TPIN, Query Number of Remaining SIM PIN/PUK Entering Attempts
- +CPWD, Change Password
- +CLCK, Facility Lock
- +EMPC, Unlocking or Locking Subsidy Code
- Access Control Commands
- Modem Configuration and Profile
- Modem Register Commands
- V, G24 Response Format
- Q, Result Code Suppression
- E, Command Echo
- X, Result Code Selection and Call Progress Monitoring Control
- S, Bit Map Registers
- \S, Show the Status of the Commands and S-registers in Effect
- \G, Software Control
- \J, Terminal Auto Rate
- \N, Link Type
- +CBAND, Change Radio Band
- ?, Return the Value of the Last Updated S-register
- &F, Set to Factory Defined Configuration
- Z, Reset to Default Configuration
- Sleep Mode Commands
- Error Handling Commands
- Modem Register Commands
- UI (User Interface)
- GPRS/EDGE
- GPRS Functionality
- GPRS Commands
- +CGCLASS, GPRS Mobile Station Class
- +CGDCONT, Define PDP Context
- +CGQMIN, Quality of Service Profile (Min Acceptable)
- +CGQREQ, Quality of Service Profile (Requested)
- +CGATT, GPRS Attach or Detach
- D*99, Request GPRS Service "D"
- +CGPRS, GPRS Coverage
- +CGACT, PDP Context Activate or Deactivate
- CGPADDR, GPRS ADDResses
- EDGE Commands
- TCP/IP
- +MIPCALL, Create a Wireless Link
- +MIPOPEN, Open a Socket (UDP or TCP)
- +MIPODM, Open a Socket (UDP or TCP) in Online Data Mode
- +MIPCLOSE, Close a Socket
- +MIPSETS, Set Size for Automatic Push
- +MIPSEND, Send Data
- +MIPPUSH, Push Data into Protocol Stack
- +MIPFLUSH, Flush Data from Buffers
- +MIPRUDP, Receive Data from UDP Protocol Stack
- +MIPRTCP, Receive Data from TCP Protocol Stack
- +MIPSTAT, Status Report
- +MIPDATA, Network Incoming Data Unsolicited Indication in Pseudo-command Mode
- MIPXOFF, Flow Control - Xoff
- MIPXON, Flow Control - Xon
- MIPCONF - Configure Internal TCP/IP stack
- +MPING, Start Ping Execution (ICMP Protocol)
- +MPINGSTAT, Status Update for +MPING Execution
- +MSDNS, Set DNS IP Address
- NOP - Compatible
- Fax Class 1
- RS232 Multiplexer Feature
- Modem ID
- Chapter 4: Using the Commands
- Setting Up the G24 (Power On and Initial Actions)
- Recommended G24 Initialization after Powerup
- SMS
- Managing Stored Messages in the G24 Memory
- Setting the Notification Indication for Incoming Messages (Using AT+CNMI)
- Another Possible Option for Setting the CNMI Notification Indication
- Setting TEXT Mode Parameters (Using AT+CMGW and AT+CMGS)
- Writing, Saving and Sending Messages (Using AT+CMGW and AT+CMSS)
- Sending Messages (Using AT+CMGS)
- Deleting Messages (Using AT+CMGD)
- Call Control
- Data Call
- GPRS
- Changing the Character Set
- Sleep Mode
- TCP/IP
- Audio
- Chapter 5: Tools
- Appendix A: Reference Tables
- Appendix B: MUX
- PREMUX State
- MUX-Init State
- MUX State
- Software Procedures Related to RS232 HW Lines
- Acronyms and Abbreviations
- Index

Chapter 3: AT Commands Reference
January 31, 2007 AT Commands Reference Manual 3-307
The following table shows the +MIPOPEN parameters.
Note: Motorola does not recommend using port numbers below 1024. These numbers are
defined to be reserved for operating systems.
Example
AT+MIPOPEN=1,1200,"123.245.213.012",1234,0//Opening socket 1, using TCP protocol, from port 1200,
targeting 123.245.213.012 port 1234
+MIPOPEN=2,1300,"123.133.074.192",1242,1//Opening socket 2, using UDP protocol, from port 1300,
targeting 123.133.074.192 port 1242
AT+MIPOPEN=1,1222,"123.245.213.012",1234,0//Opening socket 1, using TCP protocol, from port 1222,
targeting 123.245.213.012 port 1234
AT+MIPOPEN: //Invalid command
ERROR
AT+MIPOPEN? //Terminal checking the free sockets
+MIPOPEN: 3 4
OK
AT+MIPOPEN=1,0,"WWW.GOOGLE.COM",80,0//TCP
OK
+MIPOPEN: 1,1
AT+MIPOPEN=1,0,"www.google.com",80,0//TCP
OK
+MIPOPEN: 1,1
AT+MIPOPEN=2,0,"www.google.com",80,1//UDP
OK
+MIPOPEN: 2,1
Table 3-201: +MIPOPEN Parameters
<Parameter> Description
Socket ID A unique number that identifies a connection.
Valid socket numbers - 1,2,3 and 4
Source Port Port of source site.
Port range: 1-65535 (decimal digits)
Remote IP IP: IP of the remote site in the format "AAA.BBB.CCC.DDD". The range of each
octet is 0-255. Value can be written in 1, 2, or 3 digits.
Host name: of remote site. The host-name convention should meet the rules as
describe in RFC-1035 section: 2.3 Conventions. Syntax is not validated, except the
maximum length (255 characters).
Remote Port Port of remote site.
Port range: 1-65535 (decimal digits) for outgoing connection.
Port 0 for incoming connection.
Protocol Type of protocol stack.
0TCP
1 UDP
State 0 Inactive
1Active