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

GPRS/EDGE
3-328 AT Commands Reference Manual January 31, 2007
+MSDNS, Set DNS IP Address
This command set/read DNS (Domain Name Server) IP address (primary/secondary) for each
socket. If the user doesn't specify DNS servers by AT+MSDNS, G24 will use default DNS from
NW. The defined value(s) will be saved during disconnect PDP context (can be used in next PDP
context), but will reset after power cycle.
The following table shows the +MSDNS parameters.
Command Type Syntax Response/Action Remarks
Set
AT+MSDNS=[<Socket_id>[,
<Primary DNS server IP>
[,<Secondary DNS server
IP>]]]
OK
or:
+CME ERROR: <err>
Read
AT+MSDNS? +MSDNS: 1,<Primary DNS server
IP>,< Secondary DNS server
IP><CR><LF>
+MSDNS: 2,<Primary DNS server
IP>,< Secondary DNS server
IP><CR><LF>
+MSDNS: 3,<Primary DNS server
IP>,< Secondary DNS server
IP><CR><LF>
+MSDNS: 4,<Primary DNS server
IP>,< Secondary DNS server
IP><CR><LF>
+MSDNS: 5,<Primary DNS server
IP>,< Secondary DNS server
IP><CR><LF>
<CR><LF>
OK
Test
AT+MSDNS=? +MSDNS: (List of supported
<Socket_id>s),(<IP>),(<IP>)
Table 3-216: +MSDNS Parameters
<Parameter> Description
<Socket_id> A unique number that identifies a connection (provided
by the terminal application).
0 - Invalid socket number
1,2,3,4 - Valid socket number
5 - Valid socket number dedicated to +MPING.
<Primary DNS server IP>, <Secondary
DNS server IP>
IP of the destination site in the format
"AAA.BBB.CCC.DDD". The range of each octant is
0-255. The value can be written in 1, 2, or 3 digits.