CDMA-C1 AT Commands Reference Guide
Copyright and Technical Support CDMA C1 AT Commands Reference Guide S000478C, Version C Use this AT Command Guide with the following: SocketModem Cell – MTSMC-C1, MTSMC-C1-V MultiModem iCell – MTSMC-C1-IP MultiModem rCell – MTCBA-C1-EN2 MultiConnect™ AW (MT200A2W-C1) SocketModem iCell –MTSMC-C1-IP, MTSMC-C1-GP MultiModem iCell – MTCMR-C1 MultiModem Cell – MTCBA-C1 Copyright This publication may not be reproduced, in whole or in part, without prior expressed written permission from Multi-Tech Systems
Contents Chapter 1 – Introduction ...........................................................................................................................9 Document Scope ...................................................................................................................................................... 9 Related References ..................................................................................................................................................
Contents Display Configuration &V ................................................................................................................................... 20 Restore Factory Settings &F ............................................................................................................................... 21 Save Configuration &W .......................................................................................................................................
Contents Call Answered +WANS ........................................................................................................................................ 41 Call Connected +WCNT ....................................................................................................................................... 41 Call Ended +WEND ................................................................................................................................................
Contents Programming Successful +WOT2 ..................................................................................................................... 65 Programming Unsuccessful +WOT3................................................................................................................. 66 Commit Successful +WOTC ............................................................................................................................... 66 SPL Unlocked +WOTS ...............................
Contents Initialize Voice Parameters +VIP ........................................................................................................................ 93 Audio Loopback &T ............................................................................................................................................. 94 Chapter 16 – Data Commands................................................................................................................ 95 Quick Net Connect $QCQNC ..............
Contents Subscriber Calling Features .................................................................................................................................. 114 SMS ......................................................................................................................................................................... 114 Mobile Originated (MO) Messages ......................................................................................................................
Chapter 1 – Introduction This CDMA AT command set is designed to cover the following: ● IS707.3 AT commands ● GSM 07.07 when applicable ● GSM 07.05 when applicable ● ITU-T v25 when applicable ● Proprietary AT set ● Customer specific AT commands ● Qualcomm defined AT commands Note that the GSM 7.07 and 7.05 specifications could not be followed in some instances because of differences between CDMA and GSM call processing behaviors.
Chapter 2 – AT Commands Overview Serial Interface Settings A modem serial interface is set with the following default values (factory settings): ● 115,200bps ● 8 bits data ● 1 stop bit ● no parity ● RTS/CTS flow control. Note: Some models may have a different value for the default baud rate. The +IPR, +IFC and +ICF commands can be used to change these settings, if required.
Chapter 2 – AT Commands Overview Terminology Command Types Terminology used to describe AT command communication Term AT Command Definition This is referred to as a command from the host application to modem with a request to perform a service. This is an immediate response to a command, informing the host application whether the execution of the command succeeded or failed. The strings “OK” or “ERROR” are the only two Result Codes available.
Chapter 2 – AT Commands Overview Command-Line Editing The character defined by the command ATS5, (default: backspace [IA5 0x08]) is intended to be interpreted as a request from the host application to the modem to delete the previous character. Any control characters (IA5 0x00 through 0x1F, inclusive) that remain in the command line after receipt of the termination character are ignored by the modem.
Chapter 2 – AT Commands Overview Response with data: AT+CGMI +CGMI: WAVECOM MODEM OK Result code only: AT OK Parameter Defaults When applicable, this document identifies default parameter values. Note that within the modem, parameter values can be either persistent or not persistent.
Chapter 3 – General Commands Provides detailed descriptions of the AT commands supported by CDMA C1 modems. The functionality and syntax as well as expected result codes and responses are documented for each command. Attention AT Description: This two-character command prefix is used to alert the modem software that a command has Syntax: been entered for processing. This prefix must be included in all commands unless otherwise noted.
Chapter 3 – General Commands Enable/Disable Individual Unsolicited Message Mask Bits +WUSLMSK Description: The intent of this AT command is to enable/disable individual unsolicited message mask bits to Syntax: be sent out to the serial port. This is a 64-bit mask that determines which messages are enabled or disabled. The setting is persistent over power cycle. The default setting is to allow all unsolicited messages.
Chapter 3 – General Commands Bit 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Mask Value 0x00008000 0x00010000 0x00020000 0x00040000 0x00080000 0x00100000 0x00200000 0x00400000 0x00800000 0x01000000 0x02000000 0x04000000 0x08000000 0x10000000 0x20000000 0x40000000 0x80000000 Unsolicited Response "+WSPS:" "+WNAM:" "+WIND:" "+WOTA:" "+WUZ:" "+WTS:" "DTMF:" "PINGRING" "BUSY TONE" "+WMGF" "+WDSI: " "+DPRL:" "+WVMI:" “+WAKETA” “RING” “+WANTS” “+WBCI” Response for Enter/Exit Power Save Mode (no service
Chapter 4 – Identification Commands Request Revision Identification +CGMR Description: This command is used to display the operating software version. Syntax: AT+CGMR Command AT+CGMR Possible Responses Note: Get software version AT+CGMR +CGMR: S/W VER: Q26EL001 R6A Sep 23 2011 13:47:48 OK Hardware Version +WHWV Description: This command displays the hardware version number. Syntax: The hardware version number is a factory defined three-digit character string of in the format of X.
Chapter 4 – Identification Commands Manufacturer Identification +CGMI Description: This command gives the manufacturer identification. Syntax: AT+CGMI Command AT+CGMI Note: Get manufacturer identification Possible Responses +CGMI: WAVECOM MODEM OK Note: Command valid, modem Request Model Identification (Frequency Bands) +CGMM Description: This command is used to get the supported frequency bands. With multi-band products the Syntax: response may be a combination of different bands.
Chapter 5 – Query Commands Capabilities List +GCAP Description: This command gets the complete list of capabilities. Syntax: Faxing not supported AT+GCAP Command AT+GCAP Note: Get capabilities list Possible Responses +GCAP: +CIS707-A, +MS, +ES, +DS, +FCLASS OK Subscriber Number +CNUM Description: This command is used to return the subscriber MSISDN for the current NAM.
Chapter 6 – Global Configuration Commands Set Phone Functionality +CFUN Description: This command selects the mobile station’s level of functionality. Syntax: The AT+CFUN=1 command restarts the entire CDMA stack and CDMA functionality: a complete software reset is performed. The OK response will be sent at the last baud rate defined by the +IPR command. Issuing the AT+CFUN with no arguments will act the same as AT+CFUN=1.
Chapter 6 – Global Configuration Commands Restore Factory Settings &F Description: This command is used to restore the factory settings from NV memory. This is a standard Hayes® Syntax: modem AT command. See Appendix "Effects of AT&W, ATZ and AT&F Note: There is a remote chance of NV memory corruption if a reset or power loss occurs during the processing of this command. Only use this command during the initial setup of the operating characteristics.
Chapter 7 – Status Commands General Indicator +WIND Description: This is a general mechanism to send unsolicited non-standardized indications to the application. The identified unsolicited non-standardized indications are: Indication during mobile originated call setup that the calling party is ringing. Syntax: Indication of the availability of the product to receive AT commands after boot.
Chapter 7 – Status Commands 0 ≤ Ind Level ≤ 32767. For example: 128 (network lost indication) + 64 (network service available indication) = 192. The response is OK if the values are in the previous range. +WIND General Indicator Unsolicited Message The unsolicited response indicates a variety of events.
Chapter 7 – Status Commands Note: Value Corresponding 8192 15 16384 16 To see +WIND: xx responses, use the AT+WUSLMSK command to enable +WIND unsolicited messages. Report Mobile Equipment Errors +CMEE Description: This command disables or enables the use of the "Extended" error codes. The extended errors Syntax: are output instead of "ERROR" when +CMEE is enabled.
Chapter 7 – Status Commands 42 43 45 46 47-49 50 51 52 53 54 55-147 148 149 150-239 240 241-299 300-399 400-499 500 502-512 513 514 515 516-518 519 520-530 531 532-599 601 800 801 803 804 805 806 808 830 832 834 835 837 838 840 842 844 850 860 863 Meaning Invalid parameter Non-Volatile Memory failure Invalid WSPC provisioning code OTKSL provisioning code access restricted Reserved Session already in progress Invalid PD parameter PD parameter not supported Tracking mode requires +WPDFR setup No activ
Chapter 7 – Status Commands 864 Meaning WIP: Protocol list error CMS Error Codes: 300-301 302 303 304 305 306-320 321 322-339 340 341 342-399 Meaning Reserved Operation not allowed Operation not supported Invalid mode parameter Invalid text mode parameter Reserved Invalid memory index Reserved No +CNMA acknowledgement expected Non Volatile Memory failure Reserved Cellular Result Codes +CRC Description: This command gives more detailed ring information for an incoming call.
Chapter 7 – Status Commands Command AT+CPAS Note: Current activity status Values: 0 1 2 3 4 5 6 Possible Responses +CPAS: OK ready (allow commands from TA/TE) unavailable (does not allow commands) unknown ringing (ringer is active) call in progress not supported, asleep (low functionality) device not provisioned Non Volatile Memory Unsolicited Message +WNVM Description: This unsolicited response is used to indicate various Non-Volatile Memory (NVM) events.
Chapter 8 – Communication Commands Fixed DTE Rate +IPR Description: This command is used to specify the baud rate for the modem DATA port. The factory default Syntax: value is 115200. Note: Auto-baud (automatic detection of DTE rate) is not supported. At power-up, the interface rate is set to the value that was active when the last AT&W command was used. Note: The use of baud rates below 9600 may affect the operability of some software features; e.g., TCP App.
Chapter 8 – Communication Commands Values: 0 1 None XON/XOFF 2 3 Hardware XON/XOFF 0 1 None XON/XOFF 2 Hardware Transmit data flow control disabled. Not Supported. Remove Xon (0x19) and Xoff (0x17) characters from data stream. Use RTS (Request To Send) signal (default) Not Supported. Leave Xon (0x19) and Xoff (0x17) characters in data stream. Receive data flow control disabled. Not Supported. Remove Xon (0x19) and Xoff (0x17) characters from data stream.
Chapter 8 – Communication Commands Values: 0 1 2 The DTR signal is ignored. Enter online command state following ON-to-OFF transition of circuit 108/2. Data call remains active. Enter AT command state following ON-to-OFF transition of circuit 108/2. Data call is terminated. (Default) Note: All open sockets are automatically closed prior to terminating the data call. Set DSR Signal &S Description: This commands controls the Data Set Ready (DSR) signal on the modem DATA port.
Chapter 8 – Communication Commands 512-2048 6 Specifies the maximum number of dictionary entries that should be negotiated. Default is 2048. Specifies the maximum string length to be negotiated. Default is 6. V.42bis Data Compression Report +DR Description: This command returns the results of data compression capability. If data reporting is enabled, Syntax: this command returns the data compression type of an incoming or outgoing data call. Otherwise, the command returns NONE.
Chapter 8 – Communication Commands Automatic Answer S0 Description: This S0 (zero) S-register parameter determines and controls the product automatic answering Syntax: mode. The setting is not persistent. Use AT&W to save this value to the NVRAM. To restore the default value, use AT&F.
Chapter 8 – Communication Commands Command Edit Character S5 Description: This command sets the value of the defined character for deleting the immediately preceding Syntax: character from the command line. The value is not persistent.
Chapter 8 – Communication Commands Description: This command defines the DTMF pulse width for both burst and continuous DTMF. The value is Syntax: not persistent.
Chapter 9 – Call Control Commands Dial Command D Description: The ATD command is used to originate a voice or data call. For a data call, the application sends the following ASCII string to the product: ATD where is the destination phone number. Note: ATD is followed by PPP session startup and negotiation. Standard PPP packets are HDLC formatted. A packet data call is terminated by de-assertion of the DTR signal to the modem. See the AT&D command.
Chapter 9 – Call Control Commands Direct Dial Syntax: ATD[;] Command ATD18005551212; Note: Attempt a voice call. Possible Responses OK Note: Command executed +WORG:18005551212 Note: Voice call origination sent to Base Station with dial string “18005551212”. +WCNT: 9 Note: Call Connected, CDMA traffic channel established with service option 9. You can now hear audio of the calling party’s phone ringing. However, this event does not mean the other calling party has answered.
Chapter 9 – Call Control Commands Syntax: ATA Command Possible Responses RING Note: Incoming call ATA +WANS:0 Note: Answer to this incoming call +WCNT: 10 Note: Call accepted ATH OK Note: Disconnect call +WEND: 29 Note: Call disconnected To receive +WCNT and +WEND unsolicited responses, use the AT+WUSLMSK command to enable them. Calling Line Identification Presentation +CLIP Description: This command allows control of the incoming Calling Line Identification Presentation (CLIP) supplementary service.
Chapter 9 – Call Control Commands Caller ID Presentation Unsolicited Response +CLIP This response indicates that CLIP (Calling Line Identification Presentation) is enabled for the current incoming call. See +CLIP for enable and disabling this result. Response Syntax: Result Example 1: Result Example 2: +CLIP: , +CLIP: “8585551212”,129 Note: Incoming call with CLIP and CNAP available +CLIP: “”,”” Note: Incoming call with CLIP and CNAP not available.
Chapter 9 – Call Control Commands Set Voice Privacy Level +WPRV Description: This command requests the CDMA voice privacy level. CDMA voice privacy is an optional feature Syntax: of CDMA networks. Therefore, voice privacy will only become enabled during a voice call if the base station supports voice privacy; otherwise this feature is unavailable on your CDMA carrier. This command enables a request from the modem to the base station for voice privacy.
Chapter 9 – Call Control Commands Emergency Mode +WSOS Description: In the event of a user-originated emergency call, the modem will automatically put itself into Emergency callback state. The modem will remain on the same system to be able to receive callbacks from emergency personnel. The modem behavior during Emergency callback state depends on the factory-provisioned mode--Timer Reset Mode or Basic Mode. The mode is carrier-specific.
Chapter 9 – Call Control Commands Call Answered +WANS Description: This response indicates that a voice call has been answered.
Chapter 9 – Call Control Commands Call Ended +WEND Description: This response indicates that a voice call or attempt to establish a voice call has ended. Response Syntax: +WEND: Command ATD18005551212; ATH ATD18005551212; Values: 42 Possible Responses OK +WORG:18005551212 +WCNT:3 OK +WEND:29 Note: Call Ended with a normal release OK +WORG:18005551212 +WEND:22 Note: Call failed because the signal faded.
Chapter 9 – Call Control Commands 48 Call rejected because of redirection or handoff. 49 Access is blocked by base station for all mobiles. (KDDI specific). 50 OTASP SPC Error indication. 202 Call origination on IP Failed. 401 Origination throttled. 402 Unknown Error. To receive +WORG, +WCNT, and +WEND unsolicited responses, set the AT+WUSLMSK command to enable the responses. Call Originated +WORG Description: This response indicates that an attempt to establish a voice call has occurred.
Chapter 9 – Call Control Commands 0 CPHS feature disabled 1 CPHS feature enabled Voice Mail Indicator +WVMI Description: This response indicates the status of the Voicemail Inbox. Response Syntax: +WVMI: , Possible Responses +WVMI: 1,2 OK Note: 2 messages are in your voicemail box. Values: 1 Line 1 The number of messages waiting in the inbox. Maximum value is 99. 0 No message waiting.
Chapter 9 – Call Control Commands List Current Call State +CLCC Description: This command is used to return the current call state of the modem. Note that when dormant Syntax: mode is active, a “no call” status will be returned even though a data call may still be in progress.
Chapter 9 – Call Control Commands Values: The phone number to which all calls are forwarded. To receive unsolicited responses, set the AT+WUSLMSK command to enable the responses. Send Flash to Base Station +WFSH Description: This command sends a flash or flash with information to the base station. The flash command is used to manage call waiting and 3-way calls.
Chapter 9 – Call Control Commands Command Possible Responses ATD858551212 Note: Make a voice call OK +WORG:858551212 +WCNT:3 Note: Conversation... AT+WFSH=6195552121 Note: Place first call on hold, connect to second party. OK +WFSH Note Modem now places first call on hold and attempts connection to second call. AT+WFSH Note: Connect all 3 parties. AT+WFSH ATH OK +WFSH Note: All 3 parties now connected. OK +WFSH Note: Disconnect second party, connected to first party only.
Chapter 9 – Call Control Commands Command ATD858551212 Note: Make a voice call Possible Responses OK +WORG:8585551212 +WCNT: 3 Note: Conversation… AT+VTS=1 Note: Send DTMF tone associated with the value of 1 ATH Note: Release all calls Values: 48 +CCWA:”8582701234”,129 Note: Indication of another incoming call OK OK +WEND: 29 Note: All calls end 0-9, *, # To receive unsolicited responses, set the AT+WUSLMSK command to enable the responses. Multi-Tech Systems, Inc.
Chapter 10 – Network Service Commands Serving System +CSS Description: The numeric parameter is used to query the serving system.
Chapter 10 – Network Service Commands Set Rm Interface Protocol +CRM Description: The numeric parameter is used to set the Rm interface protocol. The Rm interface protocol Syntax: value is affected by the current $QCMIP setting. The Rm interface protocol can be set by the +CRM command only if $QCMIP is set to zero (Mobile IP disabled; Single IP only). AT+CRM= Command AT+CRM? Note: Display the current setting. AT+CRM=? Note: Display the range of setting. AT+CRM=1 Note: Set to 1.
Chapter 10 – Network Service Commands 99 3 - 0.5 to < 1.0% 4 - 1.0 to < 2.0% 5 - 2.0 to < 4.0% 6 - 4.0 to < 8.0% 7 - >= 8.0% is not known or is not detectable. Signal Quality Unsolicited Response for +CSQ: The Signal Quality (CSQ) unsolicited response is reported whenever the signal quality changes by a predetermined threshold. See +CCED for enabling and disabling this result. This unsolicited response may also be suppressed by using the +WUSLMSK command.
Chapter 10 – Network Service Commands Persistence: 0 not registered; MS is not currently searching for a new operator 1 registered; home network 2 not registered; MS currently searching for a base station 4 unknown 5 registered; roaming The unsolicited response mode setting is not persistent unless written using the AT&W command. AT&F resets the CREG mode to the default value. To receive +CREG unsolicited responses, set the AT+WUSLMSK command to enable the response.
Chapter 10 – Network Service Commands Band Preference +WBND Description: The CMDA modem Band Preference governs the basic system acquisition behavior of the PRL Syntax: (Preferring Roaming List). It’s important to note that the PRL takes precedence over band preference when guiding the phone to a band. The PRL must allow a particular band first, before the band preference can take effect. In other words, a band preference change is simply a request; the PRL decides whether or not to allow it.
Chapter 10 – Network Service Commands Roam Preference +WRMP Description: The CMDA modem Roam Preference informs the MS whether it is allowed to roam on foreign Syntax: CDMA networks or if it is only allowed to operate on home networks. Foreign and home network determination is programmed into the PRL. This command enables or disables the mobile station’s ability to roam, based on the PRL configuration.
Chapter 10 – Network Service Commands Default Cell Band +WDCB Description: This command allows the user to display or override the Auto-A or Auto-B selection made by a Syntax: prior AT+WRMP command or an OTASP session. The Auto-A/Auto-B selection determines which cell bands, if any, are scanned when the channels listed in the PRL are not found. If the AutoA/Auto-B feature is enabled, the default cell band is set based on the value of the home SID.
Chapter 10 – Network Service Commands 7 8 9 10 11 12 13 - 63 64 - 127 128 - 255 Roaming - Alliance Partner Roaming - Premium Partner Roaming - Full Service Functionality Roaming - Partial Service Functionality Roaming Banner On Roaming Banner Off Reserved for Standard Enhanced Roaming Indicator Numbers Reserved for Non-Standard Enhanced Roaming Indicator Numbers Reserved Enhanced Roaming Indication +WERI Description: Indicates that the enhanced roaming status has changed.
Chapter 10 – Network Service Commands 0-31 Character Encoding Type identifies the character code table used for the field. (Usually set to 2.) Type 0 1 2 3 4 5 6 7 8 9 10-31 Bit Length 8 see IS-91 7 7 16 8 or 16 8 or 16 8 8 7 X Character Encoding Octet, unspecified IS-91 Extended Protocol Message 7-bit ASCII (ANSI x3.4) IA5 (Table 11 of ITU-T T.
Chapter 10 – Network Service Commands Command AT+CCED=0,9 AT+CCED=1,8 Note: Start automatic snapshots and dump . AT+CCED=2 AT+CCED=,,1 AT+CCED=1,9 Note: Start automatic snapshots and dump cell environment and Values: Notes: Possible Responses +CSQ: 15, 99 +CCED: 0,160,69,101,6,144,2690,2,18,-85,-51,-63 OK OK +CSQ: 18, 99 Note: +CSQ response output every 5 seconds. OK Note: Stop automatic snapshots.
Chapter 11 – Provisioning Control Commands Change NAM Selection +WNAM Description: This command is used to request a change in the NAM (Number Assignment Modem) selection. Syntax: The modem supports up to 2 NAMs. However, if a NAM is not fully programmed, the modem will not switch to the requested NAM. The default NAM for the modem is 1. The response to this command is only OK, and there is no guarantee that the NAM will change.
Chapter 11 – Provisioning Control Commands Service Programming Code +WSPC Description: This command allows for entry of the service programming code (either MSL or OTKSL). Upon successful entry of this code, all other service provisioning AT commands may be used. If this code is not properly entered prior to attempting other provisioning AT commands, all provisioning commands will return ERROR. If the OTKSL is used to enter provisioning mode, only the +WIMI, +WMDN, and +WCMT commands will be allowed.
Chapter 11 – Provisioning Control Commands Request PRL Version Information +WPRL Description: This command requests PRL Version information for the currently selected NAM. Notes: Syntax: The range for PRL is a 16-bit type. The module service programming code must be successfully entered before using this command. See +WSPC. AT+WPRL? Command AT+WPRL? Note: Request current NAM’s PRL version AT+WPRL? Note: Request current NAM’s PRL version AT+WSPC=1,000000 Note: Enter service programming code.
Chapter 11 – Provisioning Control Commands Set IMSI +WIMI Description: This command is used to set the IMSI. S valid IMSI is 15 digits in length: MCC (3), MNC (2), MIN2 Syntax: (3), MIN1 (7). For support of Wireless Number Portability, changes to the IMSI will NOT update the MDN.
Chapter 11 – Provisioning Control Commands Primary CDMA Channels +WPCC Description: This command is used to set the primary CDMA channels for 800Mhz CDMA operation only. Syntax: Values entered must be valid CDMA 800Mhz Channel numbers. If an invalid channel number is entered, the number will be automatically set to the appropriate default value at restart. The module service programming code must be successfully entered before using this command. See +WSPC.
Chapter 11 – Provisioning Control Commands Syntax: AT+ WSID=,, Command AT+WSPC=1,000000 Note: Enter service programming code. The SPC code for your modem may be different AT+WSID? Note: Get all modified SID/NID pairs. If no pairs have been modified, the first entry in location 0 will be retrieved. AT+WSID=3, 4145, 2102 AT+WSID? Note: Set SID to 4145 and NID to 2102. Store in location 3 of the SID/NID list. AT+WSID=2 AT+WSID? Note: Set SID to 0 and NID to 0.
Chapter 12 – OTASP/OTAPA Indications OTASP Over the Air Service Programming gives a wireless carrier the ability to provision new services over the network, rather than requiring the customers to bring the terminal device into a store for programming. For example, an automatic update in internal software parameters PRL can be performed.
Chapter 12 – OTASP/OTAPA Indications Programming Unsuccessful +WOT3 Description: This Over-The-Air Service Provisioning (OTASP) response indicates that device programming has been completed unsuccessfully Response Syntax: +WOT3: “Programming Unsuccessful” Possible Responses +WOT3: “Programming Unsuccessful” Commit Successful +WOTC Description: This Over-The-Air Service Provisioning (OTASP) response indicates that the programmed parameters have been successfully committed to NV memory.
Chapter 12 – OTASP/OTAPA Indications MDM Download OK +WOTM Description: This Over-The-Air Service Provisioning (OTASP) response indicates that the MDM download has been completed successfully. Response Syntax: +WOTM: “MDM Download OK” Possible Responses +WOTM: “MDM Download OK” IMSI Download OK +WOTI Description: This Over-The-Air Service Provisioning (OTASP) response indicates that the IMSI download has been completed successfully.
Chapter 13– OMA/DM Control Commands Device Services Session +WDSS Description: This command allows a user to configure a dedicated Network Access Point (NAP) and to initiate Syntax: a connection to the OMA/DM server.
Chapter 13– OMA/DM Control Commands Values: 100 101 200 201 202 203 204 205 206 300 301 302 303 304 305 307 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 500 501 502 503 504 505 Last HTTP response received by the device.
Chapter 13– OMA/DM Control Commands Device Services Reply +WDSR Description: This command allows a user to respond to the Device Services server request when user agreement is requested for connection, download and/or package install (see +WDSI command). Notes: It is not possible to refuse an install request. AT+WDSR=5,0 will return a +CME ERROR: 3 response.
Chapter 13– OMA/DM Control Commands Device Services Wireless +WDSW Description: This command allows carrier- or customer-specific configuration of Device Services. Note: Syntax: The auto-registration operation is available for only for modem configured for the Sprint network.
Chapter 13– OMA/DM Control Commands Values: 72 Indications level, bit field (default value = 0) bit set to 0: indication deactivated bit set to 1: indication activated 0 No indication 1 (bit 0) Reserved 2 (bit 1) Reserved 4 (bit 2) Activate the authentication indications ( = 4 & 5) 8 (bit 3) Activate the session start indication ( = 6, 7 & 8) 16 (bit 4) Activate the package download indications ( = 9, 10 & 11) 32 (bit 5) Reserved 64 (bit 6) Activate the update indications (<
Chapter 13– OMA/DM Control Commands 18 19 20 21 22 Parameter Storage: Command Availability: Results: Example 1: Example 2: Download progress. This event is returned without parameter to indicate that a download starts. During the download, progress in total number of bytes downloaded and download size is indicated in parameter.
Chapter 13– OMA/DM Control Commands Device Services Configuration +WDSC Description: This command allows a user to configure: Syntax: The user agreement for connection, package download and package install The mode of automatic registration to the IDS server AT+WDSS=,[ || ] Command = 0, 1, 2, 3 AT+WDSC=, = 5 AT+WDSC=, AT+WDSC? AT+WDSC=? Values: 0 1 2 3 4 5 0 1 0 1 Parameter Storage: 74 Possible Responses
Chapter 14 – Short Message Service Control Commands Send Message +CMGS Description: This command is used to send an SMS message. The field is the address of the terminal to which the message is sent. To send the text message, type (0x1A) as the final character of the message. This command can be aborted using the (0x1B) character while entering the message text. The parameter is optional, it is used to set the length of the text string.
Chapter 14 – Short Message Service Control Commands Values: 0 1 2 3 0 1 2 3 0 1 2 3 Destination address value in string format. Length of the text message (in bytes). The priority level of the message. Normal (Default) Interactive Not currently supported Urgent Emergency Not currently supported The privacy level of the message. Normal (Default) Restricted Confidential Secret The reply options for the message.
Chapter 14 – Short Message Service Control Commands Values: 0-99 Status of message in memory. Possible values are as follows: 0 1 2 3 4 5 6 7 0 1 2 3 4 0 1 2 3 Text Mode Possible Values Status of Messages in Memory “REC UNREAD” received unread messages “REC READ” received read messages Origination/destination address value in string format.
Chapter 14 – Short Message Service Control Commands Command AT+CMGL=“UREAD” Note: List unread messages in text mode Possible Responses +CMGL: 1,”REC UNREAD”,”8585551212”,1,2,15 Unread message! +CMGL: 3,”REC UNREAD”, “8585551212”, 1,2,5Hello AT+CMGL=”READ” Note: List read messages in text mode AT+CMGL=”ALL” OK +CMGL: 2,”REC READ”,”8585551212”,1,2,9 Keep cool OK +CMGL: 1,”REC UNREAD”,”8585551212”, 1,2,15Unread message! +CMGL: 2,”REC READ”,”8585551212”, 1,2,9Keep coo
Chapter 14 – Short Message Service Control Commands Delete Message +CMGD Description: This command is used to delete one or several messages from preferred message storage.
Chapter 14 – Short Message Service Control Commands Values: “MT” Memory area to be used to list, read and delete messages. It can be: SMS Mobile Terminated message storage in NV (default) Each reported memory area includes information about current used & total storage locations. When is selected, all following +CMGL, +CMGR and +CMGD commands are related to the type of SMS stored in this memory. The number of used storage locations in the reported area.
Chapter 14 – Short Message Service Control Commands Command AT+CNMI=2,1,0,0,0 Note: =1 AT+CNMI=2,2,0,0,0 Note: =2 AT+CNMI=2,0,0,1,0 Note: =1 AT+CMGS=”8585551212” Message to send Note: Send a message in text mode Values: 2 0 1 2 or 3 0 2 or 3 0 1 0 1 Possible Responses OK AT+CMTI : “MT”,1 Note: message received OK +CMT : “8585551212”,”98/10/01,12 :30 00”, 129,1,2,0,5 Hello Note: message received OK +CMGS : 7 OK Note: Successful transmissi
Chapter 14 – Short Message Service Control Commands Incoming Message Directly Displayed +CMT Description: This response indicates that an incoming message has been received and according to the message storage preferences (+CNMI), is to be directly displayed.
Chapter 14 – Short Message Service Control Commands SMS Status Report Indication Directly Displayed +CDS Description: This response indicates an SMS status report has been received and according to the message storage preferences (+CNMI), is to be directly displayed. Status report messages are not saved to NV; the host application must be communicating with the modem by either the UART or USB channel. In addition, there is not RI pulse.
Chapter 14 – Short Message Service Control Commands Code 96 97 98 99 100 101 102 103 104 105 106 107-255 32768 32770 32771 32772 32773 32774 32775 32776 Description Unexpected parameter size SMS Origination denied SMS Termination denied Supplementary service not supported SMS not supported Reserved Missing expected parameters Missing mandatory parameters Unrecognized parameter value Unexpected parameter value User data size error No acknowledgement / Unknown error General Codes SMS OK.
Chapter 15 – Audio Commands Use these audio commands only with the SocketModem model MTSMC-C1-V, which includes microphone input and speaker output. Audio Subsystem Overview The audio sub-system block diagram below indicates where the various gains and AT commands take effect. Since the AT command values are saved separately for each audio path, the audio gains should be tuned independently for each audio path.
Chapter 15 – Audio Commands Speaker & Microphone Selection +SPEAKER Description: This command is used to select the voice path, and activates a speaker/microphone audio path. Syntax: The modem supports one audio path: analog1. An audio path is functional only with appropriate external hardware. Voice paths may be changed while a call is in progress as well as in the idle state. AT+SPEAKER= Command AT+SPEAKER=0 Note: Select analog1 audio path. AT+SPEAKER Note: Select analog1 audio path.
Chapter 15 – Audio Commands Microphone Gain +VGT Description: This command sets the voice gain in the transmit direction (microphone gain) of the audio path.
Chapter 15 – Audio Commands Speaker Gain Control +VGR Description: This command sets the voice gain in the receiver direction (speaker gain) of the audio path.
Chapter 15 – Audio Commands Digital Gain Transmit +WDGT Description: This command sets the digital gain in the transmit direction (microphone gain) of the audio Syntax: path.
Chapter 15 – Audio Commands Digital Gain Receive +WDGR Description: This command sets the digital gain in the receive direction (speaker gain) of the audio path.
Chapter 15 – Audio Commands Side Tone Modification +SIDET Description: This command is used to set the level of audio feedback in the speaker (microphone feedback in Syntax: the speaker).
Chapter 15 – Audio Commands Echo Cancellation +ECHO Description: This command is used to enable, disable or configure the Echo Cancellation functions for voice Syntax: calls (in rooms, in cars, etc.). The +SPEAKER function automatically sets echo cancellation based upon audio path choice and this command allows non-standard operation.
Chapter 15 – Audio Commands Values: 0 -84dB (no output) 1 -32dB 2 -28dB 3 -24dB 4 -20dB 5 -16dB 6 -12dB 7 -8dB 8 -4dB 9 0dB (default) 10 4dB 11 8dB 12 12dB If no argument is supplied to the command, the default value is assumed. The configuration is saved immediately. See the Audio Overview section for more information. Special Considerations: Example: The +CLVL gain value is added onto the +WDGR gain.
Chapter 15 – Audio Commands Audio Loopback &T Description: This command is used to perform audio loop back of the current audio path. This command can Syntax: be used to validate the audio loop. This is a standard Hayes modem AT command. AT&T Command AT&T0 AT&T1 Values: 94 0 1 2 3 Possible Responses OK Note: Audio loopback is off. OK Note: Audio loopback is on. Audio loopback of off. Audio loopback for PCM interface is enabled. Audio loopback for DSP interface is enabled.
Chapter 16 – Data Commands Quick Net Connect $QCQNC Description: This command is used to enable or disable the Quick Net Connect (QNC) feature.
Chapter 16 – Data Commands R-SCH Selection $QCMIP Description: This command is used to enable or disable mobile IP. Syntax: The default value is carrier-specific. This command is for test purposes only and should not be issued by the mobile phone user.
Chapter 16 – Data Commands Current Active Profile $QCMIPEP Description: This command is used to enable or disable the currently active profile.
Chapter 16 – Data Commands Set NAI for Active Profile $QCMIPNAI Description: This command is used to set the network access identifier (NAI) for the currently active profile. Note: Syntax: Writing the NAI is not allowed for a Verizon configuration. Command will return ERROR if the modem is configured for Verizon. AT$QCMIPNAI=, Command AT$QCMIPNAI? Note: Display the current setting AT$QCMIPNAI=? Note: Display the range of accepted character values. AT$QCMIPNAI="myName@myDomain.
Chapter 17 – TCP App AT Commands These commands are available with the TCP App feature. TCP App allows for multiple TCP and UDP compliant non-blocking socket connections over an IP network while retaining AT command level modem control. TCP App includes AT commands and unsolicited responses for host application initialization and control. Note: These commands are not available on UIP modems.
Chapter 17 – TCP App AT Commands 0 Stop TCP/IP stack 1 Start TCP/IP stack 2 Configure TCP/IP stack 4 Save/Restore Configuration to/from NV memory when = 2 0 Default TTL of outgoing data grams. This option is a limit on the period of time or number of iterations or transmissions that a unit of data can experience before it should be discarded. The time to live (TTL) is an 8-bit field in the Internet Protocol (IP) header. It is the 9th octet of 20.
Chapter 17 – TCP App AT Commands Bearer Configuration +WIPBR Description: Used to open or close a PPP session with the carrier and to read PPP session options. Originates Syntax: a CDMA 1xRTT data call when a PPP session is started and terminated the call when a PPP session is closed. The modem must be in the idle state (no call in progress) when a new PPP session is requested; otherwise, an error will be returned.
Chapter 17 – TCP App AT Commands Bearer Status +WIPBR Description: This unsolicited response indicates the status of the bearer. Response Syntax: +WIPBR: , Possible Responses +WIPBR: 6,1 Note: PPP is active Response Values: 6 1xRTT/PPP Bearer Id 1 Session active 0 Session not active Service Creation +WIPCREATE Description: The +WIPCREATE command is used to create UDP, TCP client, and TCP server sockets associated with the specified index and service.
Chapter 17 – TCP App AT Commands Command AT+WIPCREATE=1,,[] [,,] AT+WIPCREATE=2,,, AT+WIPCREATE=3,, ,, AT+WIPCREATE? Values: 1 2 3 1-8 0 – 65535 0 – 65535 1-4 1-8 1-8: Notes: Possible Responses OK +WIPREADY: 1, OK +WIPREADY: 2, OK Lists all open sockets.
Chapter 17 – TCP App AT Commands Service Status Unsolicited Response 1 +WIPREADY Description: This unsolicited response indicates the status of the created service.
Chapter 17 – TCP App AT Commands Response Values: 1 UDP 2 TCP client 1-8 Socket or session identifier +WIPERROR error codes and their descriptions are shown below.
Chapter 17 – TCP App AT Commands Socket Data Exchange +WIPDATA Description: The +WIPDATA command is used to read from or write to a socket. On successful execution of Syntax: the command, the UART switches to online data mode. The UART can be switched back to online command mode (AT mode with PPP data call established) by sending an escape sequence (“+++”) within a 1 second guard time before and after the sequence.
Chapter 17 – TCP App AT Commands TCP/IP Service Option Handling +WIPOPT Description: The +WIPOPT command is used to read and/or configure different parameters on sockets.
Chapter 17 – TCP App AT Commands Optnum 8 9 Notes: Value Format Description UDP TCP TCP Client Server When set to FALSE, the packets will be sent either, a) by combining several small packets into a bigger packet b) when the data is ready to send and the stack is idle. default: 0 0-255 Time-to-live for IP packets RW RW RW default: 64 0-255 Type of Service RW RW RW default: 0 The +WIPOPT command will return ERROR if the socket is not active.
Chapter 17 – TCP App AT Commands Response Syntax: AT+WIPPEERCLOSE=, Possible Responses +WIPPEERCLOSE: 2,3 Note: TCP socket index 3 is closed Response Values: 2 1-8 TCP Client Socket or session identifier Enable Relay Mode for SIP Dial-Up +WRLY Description: The +WRLY command is used to enable user-provided userid/password from Dial-Up client for Syntax: SIP data call in relay mode. This mainly applies to RUIM variants.
Chapter 18 – Sleep Commands 32kHz Sleep Mode +W32K Description: This specific command allows the 32kHz sleep mode to be enabled or disabled. When sleep Syntax: mode is entered, the product uses a 32kHz internal clock during inactivity stages.
Chapter 18 – Sleep Commands Query Scan Sleep State +WSPS Description: This specific command queries the state of the service scan. It returns the same data as the Syntax: +WSPS unsolicited message.
Chapter 18 – Sleep Commands Read CDMA Network Time +WNETTIMEGET Description: This command returns the time as defined in the CDMA network. For time to be returned, the Syntax: modem must have CDMA service. Time will be returned in seconds from 1/6/80. If CDMA service is not present, GMTTime format returns 16 zeros and Julian time returns ERROR. The use of CDMA time when handling E911 location data is strongly discouraged since the CDMA time does not reflect the time the GPS data was retrieved.
Chapter 19 – Host Application Scenarios Introduction This chapter described how to use many of the features supported by CDMA C1 devices. Earlier chapters focused on AT command syntax and function. This chapter focuses on using the commands and how they relate to each other. Each scenario lists the AT commands that are used in the examples. You should be familiar with the command descriptions before studying examples.
Chapter 19 – Host Application Scenarios Call Processing Call Origination Use the ATD command to originate calls. Answer Incoming Call To answer incoming calls either use the ATA command or set the Automatic Answer S0 register value to a nonzero value. Hang Up Call To terminate calls either use the ATH command or negate the modem signal DTR on UART1. See the AT&D command for more information. Subscriber Calling Features Subscriber Calling Features provides voice call services beyond making a single call.
Chapter 19 – Host Application Scenarios Mobile Originated (MO) Messages Use the AT+CMGS command to originate SMS messages. You can send up to 140 characters in a text message. Note that ctrl-Z terminates the message text entry. Refer to SMS Control Commands for more information. Example: AT+CMGS="9195551212" > hi, there. +CMGS: 150 OK +WORG: +WCNT: 6 +WEND: 29 We recommend that you enable ASCII mode for text messages using the AT+WSCL command.
Chapter 19 – Host Application Scenarios +WCNT: 6 +WEND: 29 Mobile Terminated (MT) Messages The device uses the +CMT unsolicited response to report receipt of messages. The +CNMI command determines the content of the +CMT unsolicited response and the disposition of the received short. The message can be transmitted to the TE or can be stored in NVRAM on the device.
Chapter 19 – Host Application Scenarios on-line data mode, allowing the single serial channel to carry both AT commands and application data. The device allows both TCP and UDP connections. TCP Client Socket Connection Example, establishes a TCP connection with a remote echo server application. AT+WIPBR=4,6 // open PPP bearer OK +WORG: #777 +WCNT: 33 +WIPBR: 6,1 +WEND: 25 AT+WIPCREATE=2,1,"1.2.3.
Chapter 19 – Host Application Scenarios AT+WIPBR=4,6 // open PPP bearer OK +WORG: #777 +WCNT: 33 +WIPBR: 6,1 +WEND: 25 AT+WIPBR=3,6,15 // find our IP address +WIPBR: 6,15,"75.251.5.204" OK AT+WIPCREATE=3,1,80,5,8 // create TCP listen socket on port 80 as connection 1 OK +WANS: 2 +WCNT: 33 +WIPACCEPT: 1,5 // incoming connection request. Connection 5 active. +WEND: 29 +WANS: 2 +WCNT: 33 +WIPDATA: 2,5,8 // 8 bytes available on TCP connection 5.
Chapter 20 – Effects of AT&W, ATZ, and AT&F The below table shows what impact AT&W, ATZ, and AT&F has on the various commands. ● AT&W – Save Configuration. This command writes the current configuration to NV. ● ATZ – Reset to Default Configuration. This command restores the configuration last saved by AT&W. ● AT&F – Restore Factory Settings. This command restores the factory default setting.
Chapter 20 – Effects of AT&W, ATZ, and AT&F Command Name +DR +DS +ECHO +GCAP +IFC +IPR +MGE +SIDET +SPEAKER +VGR +VGT +VIP +VTS +W32K +WAKY +WANT +WBND +WCHD +WCMT +WDSI +WDSS +WFSH +WHWV +WIMI Saved Directly to NV No No Yes No No Yes Yes Yes Yes Yes Yes Yes No No No Yes Yes No Yes Yes Yes No No No +WIND +WIPBR +WIPCFG +WIPCLOSE +WIPCREATE +WIPDATA +WIPOPT +WMDN +WMSN +WNAM +WNETTIMEFMT +WNETTIMEGET +WPCC +WGPSPARAM +WPDR Yes No No No No No No No No Yes No No Yes Yes No +WPDUC +WGPSFIX +WPRL +WPRV +WRI
Chapter 20 – Effects of AT&W, ATZ, and AT&F Command Name +WSCL +WSID Saved Directly to NV Yes No +WSPS +WSOS +WSPC +WTBMPRS +WUSLMSK No No Yes Yes Yes Saved to NV with &W Yes No (+WCMT) No No No Yes Yes +WWAKE A D E H I L M S0 S10 S11 S3 S4 S5 S6 S7 S8 S9 T Z No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No Affected by Z Affected by &F Yes (Set to NV) No Yes (Set to 0,0) No No No No Yes (Set to NV) Yes (Set to NV) No No No
Chapter 21 – CDMA Terminology and Acronyms This is an alphabetical list of the CDMA cellular industry’s terminology and acronyms. 2G 3G AFLT CDMA cdmaONE cdma2000 cdma2000 1xRTT DCE DTE DTMF ESN Handset (Path) Headset (Path) IMSI IOTA 122 Second Generation. This is an all digital cellular systems developed to replace the first analog cellular systems. (GSM and CDMA). Third Generation.
Chapter 21 – CDMA Terminology and Acronyms IS-95 IS-95A IS-95B IS-2000 IS-707 IWF LAPM MCC MDN MIN MNC MO MS MT MSM NAM NID NVRAM OTAPA OTASP OTKSL PD IS-95 is the first CDMA standard published by Qualcomm in 1993. It is a TIA standard for North American cellular systems based on CDMA. It is widely deployed in North America and Asia. IS-95A is a CDMA standard with improved voice quality. IS-95A defines what generally is known as cdmaOne, which supports voice and 14.4 Kbps data rates.
Chapter 21 – CDMA Terminology and Acronyms PDU PN Offset P-REV PRI PRL PSTN RF RSSI R-UIM SID SIM SMS SREJ TA/TE TON/NPI V24-V25 V42 124 Protocol Data Unit. It is a GSM SMS standard whereby any type of binary data can be transported via an SMS message. In the CDMA system, the PDU mode will not be supported; instead, the Unicode format message is supported. Pseudorandom Noise Offset.
Index $ +CNMI New Message Indication .................................... 80 $QCMIP R-SCH IP Selection ............................................96 +CNUM Subscriber Number .......................................... 19 $QCMIPEP Current Active Profile ..................................97 +CPAS Phone Activity Status .......................................... 26 $QCMIPGETP Return Profile Information ......................97 +CPHS CPHS Command ..................................................
Chapter 21 – CDMA Terminology and Acronyms +WFSH Flash Indication for +WFSH ...............................47 +WSCL SMS Language and Encoding ............................. 80 +WFSH Send Flash to Base Station ................................46 +WSOS Emergency Mode .............................................. 40 +WHWV Hardware Version ...........................................17 +WSPC Service Programming Code ............................... 60 +WIND General Indicator ................................
Index DTE ............................................................................122 V24-V25 .................................................................... 124 DTMF .........................................................................122 V42 ............................................................................ 124 ESN ............................................................................122 Cell Environment & RxLev Indication +CCED ................. 57 Handset Path .......
Chapter 21 – CDMA Terminology and Acronyms F PRL Download OK +WOTP ............................................. 67 Fixed DTE Rate +IPR .......................................................28 Programming in Progress +WOT1 .................................. 65 Flash Indication for +WFSH .............................................47 Programming Successful +WOT2 ................................... 65 G Programming Unsuccessful +WOT3 .............................. 66 General Indicator +WIND .......
Index Set Data Service Option $QCSO .....................................95 Subscriber Number +CNUM .......................................... 19 Set Data Set Ready (DSR) Signal &S ...............................30 T Set More Preferred Rescans +WTBMPRS ......................52 TCP/IP Service Option Handling +WIPOPT ................... 107 Set NAI for Active Profile $QCMIPNAI ...........................98 Traffic channel ................................................................