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

Access
3-214 AT Commands Reference Manual January 31, 2007
+CPIN, Enter PIN for Unlocking SIM Card or Enter PUK for
Unblocking SIM Card
This command locks the SIM card, and therefore is only relevant for phones that use SIM cards.
It unlocks the SIM card when the proper SIM PIN is provided and unblocks the SIM card when
the proper SIM PUK is provided.
The SIM card is unlocked only once the provided pin is verified as the SIM PIN. If the required
PIN (determined by the error code returned from the requested operation or the Read command)
is SIM PUK or SIM PUK2, the second pin is required. This second pin, <newpin>, is used to
replace the old pin in the SIM card. When entering the pin, a <new pin> is not required.
Note: For a list of commands that can be given when the G24 is awaiting the SIM PIN or SIM
PUK, refer to Table 2-1, “Core AT Commands” on Page 2-9.
Note: The SIM card lock is another level of security independent of the phone lock (See
“Access Control Commands” on page 3-213 for more information).
Figure 3-8 presents a diagram of what occurs when using the SIM card. Note that if an incorrect
password is entered three times, the G24 requires that a master password be entered, If this also
fails three times, the SIM will be blocked, and you will have to go to your provider to unblock it.
Figure 3-8: SIM States
A SIM card related error is returned if an AT command operation is unsuccessful due to a SIM
card problem. The following table shows the SIM card errors.
Table 3-148:
SIM Card Errors
Error Description
10 SIM not inserted SIM Card is not inserted
11 SIM PIN required SIM Card waiting for SIM PIN to be entered
12 SIM PUK required SIM PIN is blocked
13 SIM failure SIM Card is permanently blocked
17 SIM PIN2 required SIM Card is waiting for SIM PIN2 to be entered
18 SIM PUK2 required SIM PIN2 is blocked
Bad SIM
No SIM
Password
Needed
Master
Password
Needed
Blocked SIM
SIM OKGo to Manufacturer
Security enabled
Inserted
Removed
Good codeGood code
Bad code x3
Bad code x3