AT Command Reference Guide PDF
AT Command Reference Guide PDF
Command Descriptions
The following sections provide detailed descriptions about the commands that the GSM Data Module supports.
AT Commands
+++ Description: AT Escape Command When the GSM Data Module has established a connection with a remote modem, you can use the +++ command to switch the GSM Data Module from Data Mode to Command Mode while maintaining the connection with the remote modem. Issuing this command stops the flow of data on the AT command interface. Do not precede this command with the AT prefix, nor end it with a termination character. To return to Data Mode and resume data flow, use the On command (see page 65). +++ None +++ OK When issuing the +++ command, there must be a 0.5-second pause before and after issuing the command. Repeat Last Command Line Executed The A/ command instructs the GSM Data Module to re-execute the last command line executed. Do not precede this command with the AT prefix, nor
A/ Description:
55
Chapter 3 AT Command Interface end it with a termination character. The command executes as soon as the / character us typed. This command is useful when you want the GSM Data Module to re-execute a lengthy command line. Syntax: Parameters: Example: Possible Response: Notes: A/ None A/ OK The last-executed command line stays in the GSM Data Modules until it is turned off or reset with the Z command. Either action invalidates the A/ command, since there is no command in memory to re-execute. Answer Incoming Call The A command instructs the GSM Data Module to answer an incoming call. ATA <cr> None ATA <cr> CONNECT <text> if the call is accepted. <text> appears if the X1, X2, X3, X4 command is in effect. OK when the GSM Data Module returns to Command Mode. NO CARRIER if there is no connection. This command must be the only command or the final command on the command line. This command aborts if a character is received during execution. However, in some connection states
Notes:
56
Chapter 3 AT Command Interface A Answer Incoming Call (such as during handshaking), the command cannot be aborted. Bell/CCITT Compatibility The Bn command lets you choose between the Bell and CCITT protocols when the GSM Data Module is operating at 300 or 1200 bps. ATB<n> <n> = 0 or 1 B0 = use the CCITT V.22 protocol at 1200 bps. B1 = use the Bell 103J protocol at 300 bps and the Bell 212A protocol at 1200 bps. (DEFAULT) ATB0 <cr> ATB1 <cr> OK if the command is accepted. ERROR if the command is rejected because the GSM Data Module is not operating at 300 or 1200 bps. Carrier Option The Cn command is provided for compatibility purposes only; no action is taken. ATC<n> <cr> <n> = 0 or 1 C0 = not supported. C1 = guarantees backward compatibility with communications software that issue the C1 command. (DEFAULT) ATC0 <cr> ATC1 <cr>
Bn Description:
Syntax: Parameters:
Examples:
57
Chapter 3 AT Command Interface Possible Response: D Description: OK acknowledges the change of state. Dial Command The D command lets you originate a voice, data, or fax call to a dialed number, or dial a number stored in memory. The D command also controls supplementary services. Originating a Call ATD<n>[;] string of dialing digits and optionally V.25ter and GSM modifier characters: Dialing digits: 0 through 9 *, # only for supplementary service calls + only as first character of call A, B, C ignored ; voice call, return to Command Mode > direct dial from phonebook v.25ter parameters: T Tone (DTMF) dialing P Pulse (rotary) dialing comma, ! ignored W, @ ignored GSM parameters: I, #31# CLIR invocation i, *31# CLIR suppression G,g CUG info, uses set with +CCUG Examples: Possible Responses: ATD9495551212 <cr> ATD1 <cr> OK if voice call connects successfully. OK when the GSM Data Module releases the call and returns to Command Mode. NO DIALTONE if no dial tone is detected with the X2 or X4 command in effect. <n>
Syntax: Parameters:
58
Chapter 3 AT Command Interface D Dial Command BUSY if a busy tone is detected with the X3 or X4 command in effect. NO CARRIER if a connection cannot be set up. +CME ERROR: <err> if error is related to Data Module functionality. Up to 20 dialing digits and GSM modifiers can follow the ATD command. Dialing a Stored Number from Memory Syntax: Parameters: ATD><mem> <n>[<I>][<G>][;] <mem> phone book FD = SIM fixed-dialing memory feature. LD = SIM last-dialing-phonebook SM = SIM phonebook ME = ME phonebook <n> integer-type memory location, should be in the range of locations available in the memory used. <I> = CLIR invocation (restrict CLI presentation). <I> = CLIR suppression (allow CLI presentation). <G> and <g> = Control CUG. Used with the +CCUG command to control the CUG supplementary service. <;> = voice call, return to Command Mode Examples: ATD>34; <cr> Places a voice call to the number from PB entry 34. ATD>"DDC"; <cr> Places a voice call to the name in PB matching the string. ATD>SM34: <cr> Places a voice call to entry 34 in the PB storage SM
Notes:
59
Chapter 3 AT Command Interface D Possible Responses: Dial Command If semicolon (;) is omitted, places a data call. OK if voice call connects successfully. OK when Data Module releases the call and returns to Command Mode. NO DIALTONE if no dial tone is detected with the X2 or X4 command in effect. BUSY if a busy tone is detected with the X3 or X4 command in effect. NO CARRIER if a connection cannot be set up. +CME ERROR: <err> if error is related to Data Module functionality. Dialing a Supplemental Service String When <n> is a supplementary service string, the Data Module tries to call the supplementary service entered in the dialed string. The Data Module returns result of the supplementary service AT command issued. For a list of the supplementary service strings supported, refer to Appendix B. Notes: The D command for dialed or supplementary service calls can usually be aborted by receiving a character during execution. This command cannot be aborted in some connection setup states, such as handshaking. Enable Command Echo The En command determines whether the GSM Data Module echoes command characters received during Command Mode. ATE<n> <cr> <n> = 0 or 1 E0 = do not echo command characters. E1 = echo command characters. ATE1 <cr> ATE0 <cr>
En Description:
Syntax: Parameters:
Examples:
60
Chapter 3 AT Command Interface En Possible Response: Fn Description: Enable Command Echo OK acknowledges the change of state.
Line Modulation The Fn command selects the line modulation. The line modulation is fixed, unless automode (F0) is selected. ATF<n> <cr> <n> = 0, 1, 3, 4, 5, 6, 7, 8,9, or 10 F0 = enable auto-detect mode. All connect speeds are possible, based on the remote modem's preference. (DEFAULT) F1 = select V.21 or Bell 103 modulation, based on the Bn command in effect, as the only acceptable line speed that can result in a data connection. F3 = select V.23 modulation as the only acceptable line speed that can result in a data connection. Originating modem operates at 75 bps and answering modem operates at 1200 bps. F4 = select V.22 1200 or Bell 211A modulation, based on the Bn command in effect, as the only acceptable line speed that can result in a data connection. F5 = select V.22bis as the only acceptable line modulation that can result in a data connection. F6 = select V.32bis 4800 or V.32 4800 as the only acceptable line modulation that can result in a data connection. F7 = select V.32bis 7200 as the only acceptable line modulation that can result in a data connection. F8 = select V.32bis 9600 or V.32 9600 as the only acceptable line modulation that can result in a data connection.
Syntax: Parameters:
61
Chapter 3 AT Command Interface Fn Line Modulation F9 = select V.32bis 12,000 as the only acceptable line modulation that can result in a data connection. F10 = select V.32bis 14,400 as the only acceptable line modulation that can result in a data connection. ATF0 <cr> ATF8 <cr> OK acknowledges the change of state.
Hook Switch - Disconnect Existing Connection The Hn command terminates the current call. ATH<n> <cr> <n> = 0 H0 = terminate the call and disconnect from line. ATH0 <cr> OK acknowledges the change of state. OK is issued after circuit 109 (DCD) turns OFF (if it was ON). Display Product Identification Information The In command retrieves the product information text. ATI<n> <cr> <n> = 0, 1, or 3 I0 = return manufacturer followed by model
62
Chapter 3 AT Command Interface In Display Product Identification Information identification. I1 = return 3 digit ROM checksum code. I3 = return modem ROM version. ATI0 <cr> ATI2 <cr> If the ATI0 command is issued: Conexant OK If the ATI1 command is issued: Conexant GSMDM100DB OK If the ATI3 command is issued: DAC19281 OK Notes: Ln Description: Syntax: Parameters: Same response for ATI1..ATI9 and +CGMI Speaker Volume The Ln command is provided for compatibility purposes only; no action is taken. ATL<n> <cr> <n> = 0, 1, 2, or 3 L0 = low volume. L1 = low volume. (DEFAULT) L2 = medium volume. L3 = high volume. ATL0 <cr> ATL3 <cr> OK acknowledges the change of state.
Examples:
Possible Response:
63
Chapter 3 AT Command Interface Mn Description: Syntax: Parameters: Speaker ON/OFF The Mn command controls the status of the GSM Data Module speaker. ATM<n> <cr> <n> = 0, 1, 2, or 3 M0 = speaker turned off. M1 = speaker off when remote carrier received. (DEFAULT) M2 = speaker always turned on. M3 = speaker off when remote carrier is received and when the GSM Data Module is dialing. ATM0 <cr> ATM3 <cr> OK acknowledges the change of state.
Examples:
Automode Enable/Disable The Nn command can be used to ensure that a data connection is made only at a specified speed. ATN<n> <cr> <n> = 0 or 1 N0 = disable automode detection. When originating or answering, handshake only at the DTE-to-modem data rate. N1 = enable automode detection. Handshake with remote modem at the highest speed supported by both modems. (DEFAULT) ATN0 <cr> ATN1 <cr> OK acknowledges the change of state.
Examples:
Possible
64
Return to Data Mode The On command returns the GSM Data Module to Data Mode from Command Mode. ATO<n> <cr> <n> = 0 O0 = switch from Command Mode to Data Mode ATO0 <cr> NO CARRIER if connection is not successfully resumed. CONNECT <text> if the module successfully returns to Data Mode from Command Mode. <text> is returned only if parameter setting is greater than 0. Pulse Dial The P modifier instructs the GSM Data Module to use the pulse (rotary) dialing method to dial calls that follow the P modifier in the Dial command line. ATDP<dialing digits> <cr> ATDP9495551212 <cr> OK if voice call connects successfully. OK when Data Module releases the call and returns to Command Mode. NO DIALTONE if no dial tone is detected with the X2 or X4 command in effect. BUSY if a busy tone is detected with the X3 or X4
Notes:
P Description:
65
Chapter 3 AT Command Interface P Pulse Dial command in effect. NO CARRIER if a connection cannot be set up. +CME ERROR: <err> if error is related to Data Module functionality. The P modifier can be used along with the T modifier if both pulse and tone dialing are required in the same Dial command line. For example: ATDP5551212,,T2468 Suppress Result Codes The Qn command determines whether the GSM Data Module transmits result codes. ATQ<n> <cr> <n> = 0 or 1 Q0 = transmit result codes. Q1 = do not transmit result codes. ATQ0 <cr> ATQ1 <cr> If <n>=0: OK If <n>=1: no response
Notes:
S0 Description:
Set Number of Rings The S0 command determines the number of rings that must occur before the GSM Data Module automatically answers an incoming call. ATS0=<n> <cr> <n> = 1 to 255 rings. ATS0=1 <cr>
66
Carriage Return Character The S3 command sets the ASCII value of the carriage return character used to end the command line and the character that appears after a modem response. The default value is 13, although you can change it to another ASCII value between 0 and 127. ATS3=<n> <cr> <n> = 0 to 127 ASCII. (DEFAULT = 13 [CTRLM]) ATS3=4 <cr> OK
Line Feed Character The S4 command sets the ASCII value of the line feed character. The default value is 10, although you can change it to another ASCII value between 0 and 127. The GSM Data Module sends the line feed character after sending a carriage return character when the V1 command is in effect, enabling English result codes. However, it is not sent with most numeric result codes. If you do not want to receive a line feed character, you can change the value in this register to a null character, but you cannot disable line feed characters.
Syntax:
ATS4=<n> <cr>
67
Chapter 3 AT Command Interface S4 Parameters: Example: Possible Response: S5 Description: Line Feed Character <n> = 0 to 127 ASCII (DEFAULT = 10 [CTRLJ]) ATS4=6 <cr> OK
Backspace Character The S5 command sets the ASCII value of the backspace character. This character is the character created by pressing the Backspace key and the character echoed to move the cursor to the left. The default value is 8. If you want to change this value, do not enter a value between 33 and 126 because these values are equivalent to a printable ASCII character and your modem will not recognize the character as a backspace character. ATS5=<n> <cr> <n> = 0 to 32 ASCII ATS5=28 <cr> OK
Set Number of Seconds to Wait for Connection to Complete The S7 command determines the amount of time that the GSM Data Module waits for a call to complete after originating or answering the call before the Module disconnects. ATS7=<n> <cr>
Syntax:
68
Chapter 3 AT Command Interface S7 Parameters: Example: Possible Response: S8 Description: Set Number of Seconds to Wait for Connection to Complete <n> = 0 to 60, 255 seconds. ATS7=15 <cr> OK
Set Number of Seconds to Wait for Comma Modifier The S8 command determines how long the GSM Data Module waits when it encounters a comma in a Dial command before processing the rest of the command line. ATS8=<n> <cr> <n> = 1-255 seconds. (DEFAULT is 2 seconds) ATS7=15 <cr> OK
Set Disconnect Delay After Indicating the Absence of Data Carrier The S10 command determines the amount of time that the GSM Data Module remains connected in the absence of a data carrier. If the data carrier is detected before disconnect, the Data Module remains connected. ATS10=<n> <cr> <n> = 1-15-255 tenths of a second. ATS10=8 <cr>
69
Chapter 3 AT Command Interface S10 Possible Response: T Description: Set Disconnect Delay After Indicating the Absence of Data Carrier OK
Tone Dial The T modifier instructs the GSM Data Module to use the tone (DTMF) dialing method to dial calls that follow the T modifier in the Dial command line. ATDT<dialing digits> <cr> ATDT9495551212 <cr> OK if voice call connects successfully. OK when Data Module releases the call and returns to Command Mode. NO DIALTONE if no dial tone is detected with the X2 or X4 command in effect. BUSY if a busy tone is detected with the X3 or X4 command in effect. NO CARRIER if a connection cannot be set up. +CME ERROR: <err> if error is related to Data Module functionality. The T modifier can be used along with the P modifier if both tone and pulse dialing are required in the same Dial command line. For example: ATDP5551212,,T2468 Result Code Format Set result code format mode. This parameter setting determines the contents of the header and trailer transmitted with result codes and information responses. ATV<n> <cr> <n> = 0 or 1
Notes:
Vn Description:
Syntax: Parameters:
70
Chapter 3 AT Command Interface Vn Result Code Format V0 = use numeric result codes followed by <cr><lf>. V1 = use word result codes preceded and followed by <cr><lf>. ATV0 <cr> ATV1 <cr> OK
Examples:
Correction Message Control The Wn command controls the format of CONNECT messages. ATW<n> <cr> <n> = 0, 1, or 2 W0 = upon connection, the GSM Data Module reports only the DTE speed (for example, CONNECT 9600). Subsequent responses are disabled. (DEFAULT) W1 = upon connection, the GSM Data Module reports the line speed, the error correction protocol, and the DTE speed, respectively. Subsequent responses are disabled. W2 = upon connection, the GSM Data Module reports the DCE speed (for example, CONNECT 2400). Subsequent responses are disabled. ATW0 <cr> ATW1 <cr> OK
Examples:
Possible Response: Xn
71
Chapter 3 AT Command Interface Xn Description: Extended Result Code The Xn command sets the CONNECT result code format and call monitoring. This parameter setting determines whether or not the GSM Data Module detects the presence of dial tone and busy signal, and whether the module transmits particular result codes. ATX<n> <cr> <n> = 0, 1, 2, 3, 4, or 5 X0 = CONNECT result code only returned, dial tone and busy detection are both disabled. X1 = CONNECT<text> result code only returned, dial tone and busy detection are both disabled. X2 = CONNECT< text > result code returned, dial tone detection is enabled, busy detection is disabled. X3 = CONNECT< text > result code returned, dial tone detection is disabled, busy detection is enabled. X4 = CONNECT< text > result code returned, dial tone and busy detection are both enabled. ATX0 <cr> ATX4 <cr> OK
Syntax: Parameters:
Long Space Disconnect The Yn command is provided for compatibility purposes only; no action is taken. ATY<n> <cr> <n> = 0 or 1 Y0 = disable long-space disconnect. Y1 = enable long-space disconnect.
72
Chapter 3 AT Command Interface Yn Examples: Possible Response: Zn Description: Long Space Disconnect ATY0 <cr> ATY1 <cr> OK
Soft Reset The Zn command resets the GSM Data Module and sets all current parameters to the user-defined profile. ATZ<n> <cr> <n> = 0 or 1 0 = reset to profile number 0. 1 = reset to profile number 1. ATZ0 <cr> OK The user-defined profile is stored in non-volatile memory. If the user-profile is invalid, the GSM Data Module uses the factory-default profile. The GSM Data Module ignores any additional commands that follow this command on the command line. A delay of 300ms is required before the next command can be sent, otherwise the OK response may be corrupted. Break Control The \Kn command determines the number of bits between the data characters. AT\K<n> <cr>
Syntax: Parameters:
73
Chapter 3 AT Command Interface \Kn Parameters: Example: Possible Response: \Nn Description: Syntax: Parameters: Break Control <n> = 0-7 AT\K=1 <cr> OK
Error Correction The \Nn command controls the preferred errorcorrecting mode in a data connection. AT\N<n> <cr> <n> = 0, 2, 4, or 5 \N0 = disable error-correction mode. \N2 = auto-reliable mode (LAPM connection, then MNP connection). \N4 = select LAPM error-correction mode. \N5 = select MNP error-correction mode. AT\N2 <cr> OK
DCD Control The &Cn command controls the Data Carrier Detect (DCD) signal. AT&C<n> <cr> <n> = 0 or 1 &C0 = DCD is always ON. &C1 = DCD is ON only when the remote modems data carrier is present.
74
Chapter 3 AT Command Interface &Cn Examples: Possible Response: &Dn Description: DCD Control AT&C0 <cr> AT&C1 <cr> OK
DTR Control The &Dn command determines how the GSM Data Module reacts when an ON-to-OFF Data Terminal Ready (DTR) transition occurs. AT&D<n> <cr> <n> = 0, 1, or 2 &D0 = GSM Data Module ignores DTR transitions. &D 1 = ON-to-OFF DTR transition causes the GSM Data Module to change to Command Mode while retaining the connected call. &D 2 = ON-to-OFF DTR transition causes the GSM Data Module to disconnect call and change to Command Mode. AT&D0 <cr> AT&D2 <cr> OK
Syntax: Parameters:
Restore Factory Defaults The &Fn command sets all current parameters to manufacturer defaults. The GSM Data Module resets all current parameters to the manufacturerdefined profile. AT&F<n> <cr>
Syntax:
75
Chapter 3 AT Command Interface &Fn Parameters: Restore Factory Defaults <n> = 0 &F0 = sets all GSM Data Module parameters to the manufacturer defaults. AT&F0 <cr> OK If the &Fn command is the only command on the command line, a delay of 300ms is needed before issuing the next AT command line. Otherwise, the OK response may be corrupted. There are no restrictions for using &Fn within a command string. (for example:AT&FS0=1&W+cbst=7,0,1) Flow Control The &Kn command sets the DTE/DCE flow control type or disables flow control. AT&K<n> <cr> <n> = 0, 1, 2, 3, 4, or 5 &K0 = disable local flow control. &K1 = enable RTS/CTS hardware local flow control. &K2 = enable XON/XOFF software local flow control. &K3 = same as &K1. &K4 = same as &K2. &K5 = enable transparent XON/XOFF flow control. AT&K0 <cr> AT&F2 <cr> OK
76
Chapter 3 AT Command Interface &Qn Description: Operational (Sync/Async) The &Qn command allows the GSM Data Module to operate asynchronously or synchronously. AT&Q<n> <cr> <n> = 0, 1, 2, or 3 &Q0 = asynchronous mode. &Q1 = asynchronous in Command Mode, synchronous in Data Mode. &Q2 = when DTR goes ON, GSM Data Module dials number stored using the &Z0 command and switches to synchronous mode. &Q3 = synchronous when DTR is ON; Command Mode when DTR is OFF. AT&Q0 <cr> AT&Q3 <cr> OK
Syntax: Parameters:
RTS/CTS Control The &Rn command lets you determine the relationship between the Clear To Send (CTS) and Request To Send (RTS) signals. AT&R<n> <cr> <n> = 0 or 1 &R0 = CTS mimics the state of the RTS signal. &R1 = CTS is always ON. (DEFAULT) AT&R0 <cr> AT&R1 <cr> OK
Syntax: Parameters:
Examples: Possible
77
Chapter 3 AT Command Interface &Rn Response: &Sn Description: Syntax: Parameters: RTS/CTS Control
DSR Control The &Sn command controls the Data Set Ready (DSR) signal. AT&S<n> <cr> <n> = 0 or 1 &S0 = DSR is always ON. (DEFAULT) &S1 = DSR is OFF when the GSM Data Module is in Command Mode and ON when the GSM Data Module is in Data Mode. AT&S0 <cr> AT&S1 <cr> OK
Loopback Test Mode The &Tn command puts the GSM Data Module into one of several diagnostic test modes or exits a test mode. AT&T<n> <cr> <n> = 0, 1, 3, 4, 5, 6, 7, or 8 &T0 = end any test in progress. &T1 = local analog loopback test. &T3 = local digital loopback test. &T4 = grant remote digital loopback from remote modem. &T5 = deny remote digital loopback from remote modem. &T6 = remote digital loopback test. &T7 = remote digital loopback test with self-test. &T8 = local digital loopback test with self-test.
Syntax: Parameters:
78
Chapter 3 AT Command Interface &Tn Examples: Possible Response: &Wn Description: Loopback Test Mode AT&T1 <cr> AT&T0 <cr> OK
Store Current Configuration The &Wn command stores the current parameter settings to one of two user-defined profiles. The profiles are maintained in the GSM Data Modules nonvolatile memory. AT&W<n> <cr> <n> = 0 or 1 0 = store settings in profile 0. (DEFAULT) 1 = store settings in profile 1. AT&W0 <cr> AT&W1 <cr> OK Use the &Yn command to specify which profile the GSM Data Module is to use when it is first turned on or reset using the Zn command (see page 81). Display Current Configuration The &V command display the GSM Data Modules current parameter settings. AT&V<n> <cr> <n> = 0 or 1 0 = profile number 0. 1 = profile number 1.
Syntax: Parameters:
79
Chapter 3 AT Command Interface &V Example: Possible Responses: Display Current Configuration AT&V0 <cr> ACTIVE PROFILE: &C1 &D0 &S0 S0= 1 S1= 0 S2= 43 S3= 13 S4= 10 S5= 8 S14= 138 S21= 36 S31= 6 S32= 17 S33= 19 +CBST: 0, 0, 1 +CRLP: 61,61,48,6,7 +CRC: 0 +CR: 0 +FCLASS:0 +IFC: 2, 2 +ICF: 0, 3 +CMGF: 1 +CSDH: 0 +ILRR: 0 +IPR: 0 +DS: 0, 0, 512, 6 +DR: 0 +CFUN: 0 +CSCS: "IRA" +CMEE: 0 +CMOD: 0 +CREG: 0 $ICB: 1 $ABRT: 1 +CLIP: 0 +COLP: 0 +CMEC: 2,2,2 +CIND: 0,0 +CMER: 0,0,0,0,1 +CALM: 0 +CRSL: 4 +CVIB: 0 +CLVL: 4 +CMUT: 0 +CNMI: 0,0,0,0,0 $UIND: 0 +CLIR: 0 +CSMS: 0,1,1,1
80
Chapter 3 AT Command Interface &V Display Current Configuration NPB_ME_C1_: +1949483119491 (first four PB entries in ME) DDC_ME_C2_: 1972870219722 NPB_ME_C3_: +1949483319493 DDC_ME_C4_: 1972870419724 OK
&Yn Description:
Designate User Profile The &Yn command designates the stored profile that the GSM Data Module is to use when it is first turned on or reset with the Zn command. AT&Y<n> <cr> <n> = 0 or 1 &Y0 = use parameter settings from profile 0. &Y1 = use parameter settings from profile 1. AT&Y0 <cr> AT&Y1 <cr> OK
Syntax: Parameters:
V.42bis Data Compression Reporting The +DR command determines whether or not the intermediate result code of the current data compression is reported by TA to TE after a connection setup. AT+DR=<value> <cr> <value> = 0 or 1 0 = enable reporting. (DEFAULT) 1 = disable reporting.
Syntax: Parameters:
81
Chapter 3 AT Command Interface +DR Examples: Possible Response: +DR? Description: Syntax: Parameters: Examples: Possible Response: +DR=? Description: Syntax: Parameters: Example: Possible Response: +DS Description: V.42bis Data Compression Reporting AT+DR=0 <cr> AT+DR=1 <cr> OK
Report Current +DR Command The +DR? command reports the current +DR command in effect. AT+DR? <cr> None AT+DR? <cr> +DR: <value> OK List Supported Data Compression Values The +DR=? command lists the supported v.42bis data compression values. AT+DR=? <cr> None AT+DR=? <cr> +DR: (list of supported <value>s) OK V.42bis Data Compression Control The +DS command enables or disablesV.42bis
82
Chapter 3 AT Command Interface +DS Syntax: Parameters: V.42bis Data Compression Control data compression. AT+DS=[<p0>[,<n>[,<p1>[,<p2>]]]] <cr> <p0> = 0, 1, 2, or 3 0 = no compression. 1 = transmit only. 2 = receive only. 3 = both directions, accept any direction. <n> = 0 or 1 0 = do not disconnect if V.42bis is not negotiated by the remote DCE as specified by <p0>. 1 = disconnect if V.42bis is not negotiated by the remote DCE as specified by <p0>. <p1> the maximum number of dictionary entries that should be negotiated, from 512 to 2048. (DEFAULT is 512.) <p2> the maximum string length to be negotiated, from 6 to 20. (DEFAULT is 6) Examples: Possible Responses: +DS? Description: Syntax: Parameters: AT+DS=0 <cr> AT+DS=1,0,512,6 <cr> OK
Report Current +DS Command The +DS? command reports the current +DS command in effect. AT+DS? <cr> None
83
Chapter 3 AT Command Interface +DS? Examples: Possible Response: +DS=? Description: Syntax: Parameters: Example: Possible Response: +ICF Description: Report Current +DS Command AT+DS=0 <cr> AT+DS=1,0,512250 <cr> +DS: 1,0,512,6 OK Test +DS Command The +DS=? command tests the V.42bis data compression mode of the GSM Data Module. AT+DS=? <cr> None AT+DS=? <cr> +DS: 1,0,5,12,6 OK DTE-to-DCE Character Framing The +ICF command determines the serial interface character framing format and parity received by the GSM Data Module from the transmitting device. AT+ICF=[<format>,[<parity>]] <cr> <format> = 0, 1, 3, 4, or 5 0 = auto-detect. 1 = 8 data bits, 0 parity bit, 2 stop bits. 3 = 8 data bits, 0 parity bit, 1 stop bit. (DEFAULT) 4 = 7 data bits, 0 parity bit, 2 stop bits. 5 = 7 data bits, 1 parity bit, 1 stop bit. <parity> = 0, 1, or 3 0 = odd. 1 = even. 3 = space (0).
Syntax: Parameters:
84
Chapter 3 AT Command Interface +ICF Examples: Possible Response: Notes: +ICF=? Description: DTE-to-DCE Character Framing AT+ICF=1 <cr> AT+ICF=2,1 <cr> OK Wait 300 ms after receiving the OK response before issuing the next AT command line. List Supported Format and Parity Settings The +ICF=? command lists the character formats and parity settings that the GSM Data Module supports. AT+ICF=? <cr> None AT+ICF=? <cr> +ICF: (0,3-5),(0,1,3) OK Report Current Format and Parity Settings The +ICF? command reports the current format and parity settings in effect. AT+ICF? <cr> None AT+ICF? <cr> +ICF:0,3 OK Set Local Data Flow Control The IFC command determines whether flow
Syntax: Parameters: Example: Possible Response: +ICF? Description: Syntax: Parameters: Example: Possible Response: +IFC Description:
85
Chapter 3 AT Command Interface +IFC Set Local Data Flow Control control is used on the GSM Data Modules serial port when the Module is in Data Mode. Flow control stops the flow of data from the DTE to avoid data loss during buffering. AT+IFC=[<dce_by_dte>[,<dte_by_dce>]] <cr> <dce_by_dte> = one of the following flow control methods from the DTEs point of view: 0 = none. 1 = XON/XOFF, dont pass characters to data stack. 2 = line 133: ready for receiving. (DEFAULT) <dte_by_dce> = one of the following flow control methods from the GSM Data Modules point of view: 0 = none. 1 = XON/XOFF. 2 = line 106, Clear to Send. (DEFAULT) Examples: Possible Response: +IFC=? Description: Syntax: Parameters: Example: Possible Response: AT+IFC=0,0 <cr> AT+IFC=1,1 <cr> OK
Syntax: Parameters:
List Supported Flow Control Methods The +IFC=? command lists the flow control methods that the GSM Data Module supports. AT+IFC=? <cr> None AT+IFC=? <cr> +IFF: (0-2),(0-2) OK
86
Chapter 3 AT Command Interface +IFC? Description: Syntax: Parameters: Example: Possible Response: +ILRR Description: Report Current +Flow Control Method The +IFC? command reports the current flow control method in effect. AT+IFC? <cr> None AT+IFC? <cr> IFC: 2,2 OK Report Local Port Rate The ILRR command determines whether an intermediate result code of local rate is reported from the DCE to the DTE during connection setup. The rate reported represents the current negotiated or renegotiated DTE-DCE rate. AT+ILRR=<value> <cr> <value> = 0 or 1 0 = disable reporting or local port rate. (DEFAULT) 1 = enable reporting or local port rate. AT+ILRR=0 <cr> AT+ILRR=1 <cr> +ILLR: <rate> OK Where <rate> is the port rate setting on call connection in bauds per second 300 1200 2400 4800 9600 19200 (DEFAULT) 28800
Syntax: Parameters:
87
Chapter 3 AT Command Interface +ILRR Report Local Port Rate 38400 57600 List Supported Local Port Rate Values The ILRR=? command lists the supported local port rate values. AT+ILRR=? <cr> None AT+ILRR=? <cr> +ILRR: (list of supported <value>s) OK Report Current Port Rate Value The +ILRR? command reports the current port rate value in effect. AT+ILRR? <cr> None AT+ILRR? <cr> ILRR: <value> OK Set Terminal Equipment Rate The IPR command sets the data rate on the GSM Data Modules serial interface. The Module accepts rates from 300 to 57,600 bps. The rate takes effect following the result code issued after this command executes. AT+IPR=<rate> <cr> <rate> = one of the following baud rates:
+ILRR=? Description: Syntax: Parameters: Example: Possible Response: +ILRR? Description: Syntax: Parameters: Example: Possible Response: +IPR Description:
Syntax: Parameters:
88
Chapter 3 AT Command Interface +IPR Set Terminal Equipment Rate 300 1200 2400 4800 9600 (DEFAULT) 19200 28800 38400 57600 115200 AT+IPR=9600 <cr> AT+IPR=57600 <cr> OK If this command is the only one on the command line, wait 300 ms before issuing the next AT command line. Otherwise the OK response may be corrupted. However, there are no restrictions on using this command in a command string. (e.g., AT&Fs0=1+ipr=9600&W+cbst=7,0,1) The GSM Data Module does not support autobauding. List Supported Fixed-Only Rates The +IPR=? command lists the fixed-only rates that are supported on the GSM Data Modules serial interface. AT+IPR=? <cr> None AT+IPR=? <cr> +IPR: (list of supported autodetectable <rate> values)[,list of fixed-only <rate>values)] OK
+IPR=? Description:
89
Chapter 3 AT Command Interface +IPR? Description: Syntax: Parameters: Example: Possible Response: Report Current Serial Interface Rate The +IPR? command reports the current rate on the GSM Data Modules serial interface. AT+IPR? <cr> None AT+IPR? <cr> +IPR: (0,2400,4800,9600,19200,38400, 57600,115200),(300,600,1200,14400,76800) OK
Fax Commands
+FCLASS Description: Set Service Class to Fax or Data Mode The +FCLASS command specifies data or fax operation and prepares the GSM Data Module to process information accordingly. AT+FCLASS=<n> <cr> <n> = 0, 1, or 8 0 = data operation. (DEFAULT) 1 = fax operation. 8 = voice operation. AT+FCLASS=0 <cr> AT+FCLASS=1 <cr> OK if syntax is satisfactory; otherwise, ERROR. List Supported Service Classes The +FCLASS=? command lists the
Syntax: Parameters:
90
Chapter 3 AT Command Interface +FCLASS=? Syntax: Parameters: Example: Possible Responses: List Supported Service Classes supported service classes. AT+FCLASS=? <cr> None AT+FCLASS=? <cr> +FCLASS: (0, 1, 8) OK Otherwise, ERROR +FCLASS? Description: Syntax: Parameters: Example: Possible Responses: Report Current Service Class The +FCLASS? command reports the current service class in effect. AT+FCLASS? <cr> None AT+FCLASS? <cr> +FCLASS: <n> where <n> = 0, 1, or 8 (DEFAULT is 0) OK Otherwise, ERROR +FRH Description: Receive Data with HDLC The +FRH command lets the GSM Data Module receive data using the HDLC protocol and the defined modulation. AT+FRH=<n> <cr> <n> = 3 3 = V.21 channel 2 300 bps.
Syntax: Parameters:
91
Chapter 3 AT Command Interface +FRH Example: Possible Responses: Receive Data with HDLC AT+FRH=3 <cr> +FRH: OK if GSM Data Module is off-hook. ERROR if GSM Data Module is on-hook. +FRH=? Description: Syntax: Parameters: Example: Possible Responses: Report Current +FRH Command The +FRH=? command reports the current +FRH command in effect. AT+FRH=? <cr> None AT+FRH=? <cr> +FRH: (3) OK for V.21 channel 2 300 bps. ERROR if GSM Data Module is on-hook. +FRM Description: Syntax: Parameters: Receive Data According to the Defined Modulation The +FRM command receives data according to the defined data rate. AT+FRM=<n> <cr> <n> = 24, 48, 72, 73, 74, 96, 97, 121, 122, 145, or 146 24 = V.27ter 2400 bps. 48 = V.27ter 4800 bps. 72 = V.29 7200 bps long. 73 = V.17 7200 bps short.
92
Chapter 3 AT Command Interface +FRM Receive Data According to the Defined Modulation 96 = V.29 9600 bps. 97 = V.17 9600 bps long. 121 = V.17 12000 bps long. 122 = V.17 12000 bps short. 145 = V.17 14400 bps long. 146 = V.17 14400 bps short. AT+FRM=24 <cr> AT+FRM=146 <cr> OK if GSM Data Module is off-hook. ERROR if GSM Data Module is on-hook. +FRM=? Description: Syntax: Parameters: Example: Possible Responses: Report Current +FRM Command The +FRM=? command reports the current +FRM command in effect. AT+FRM=? <cr> None AT+FRM=? <cr> +FRM: (24, 28, 72, 73, 96, 97, 121, 122, 145, 146) OK ERROR if the GSM Data Module is onhook. +FRS Description: Syntax: Receive Silence The +FRS command defines the wait for silence <time>*10ms intervals. AT+FRS=<time> <cr>
93
Chapter 3 AT Command Interface +FRS Parameters: Examples: Possible Responses: Notes: Receive Silence <time> = 0-255 AT+FRS=50 <cr> AT+FRS=1125 <cr> OK after <time>*10ms silence interval elapses. ERROR if the GSM Data Module is on-hook. The command aborts if any character is received from the DTE (the response will still be OK). Report Current +FRS Command The +FRS=? command reports the current +FRS command in effect. AT+FRS=? <cr> None AT+FRS=? <cr> OK after <time>*10ms silence interval elapses. ERROR if the GSM Data Module is on-hook. The command aborts if any character is received from the DTE (The response will still be OK). Transmit Data with HDLC The +FTH command transmits data using the HDLC protocol and the defined modulation. AT+FTH=<n> <cr>
+FTH Description:
Syntax:
94
Chapter 3 AT Command Interface +FTH Parameters: Example: Possible Responses: +FTH=? Description: Syntax: Parameters: Example: Possible Responses: +FTS Description: Transmit Data with HDLC <n> = 3 3 = V.21 channel 2 300 bps. AT+FTH=3 <cr> +FTH: (3) OK for V.21 channel 2 300 bps. ERROR if GSM Data Module is on-hook. Report Current FTH Command The +FTH=? command reports the current +FTH command in effect. AT+FTH=? <cr> None AT+FTH=? <cr> +FTH: (3) OK for V.21 channel 2 300 bps. ERROR if GSM Data Module is on-hook. Stop Transmission and Wait The +FTS command stops any current transmission and waits for <time>*10ms intervals. AT+FTS=<time> <cr> <time> = 0-255 AT+FTS=50 <cr> AT+FTS=1125 <cr> OK after <time>*10ms silence interval elapses. ERROR if the GSM Data Module is on-hook. The command aborts if any character is
95
Chapter 3 AT Command Interface +FTS Stop Transmission and Wait received from the DTE (The response will still be OK). Report Current +FTS Command The +FTS=? command reports the current +FTS command in effect. AT+FTS=? <cr> None AT+FTS=? <cr> OK after <time>*10ms silence interval elapses. ERROR if the GSM Data Module is on-hook. The command aborts if any character is received from the DTE (The response will still be OK).
GSM Commands
+CACM Description: Accumulated Call Meter (ACM) Reset or Query The +CACM command resets the Advice of Charge related to the accumulated call meter (ACM) value in SIM file EF(ACM). ACM contains the total number of home units for both the current and preceding calls. AT+CACM=[<passwd>] <passwd>
Syntax: Parameters:
96
Chapter 3 AT Command Interface +CACM Accumulated Call Meter (ACM) Reset or Query string type: SIM PIN2 AT+CACM=1234 <cr> OK If error is related to ME functionality: +CME ERROR: <err> See subclause 9.2 for <err> values.
+CACM? Description:
Return Current ACM Value The +CACM ? command returns the GSM Data Modules current accumulated call meter value. AT+CACM? <cr> None AT+CACM? <cr> +CACM: <acm> OK Where <acm> is a string-type; accumulated call meter value similarly coded as <ccm> under +CAOC. +CME ERROR: <err> See subclause 9.2 for <err> values.
+CALA Description:
Alarm The +CALA command sets an alarm time in the ME. There can be an array of different types of alarms. AT+CALA=<time>[,<n>[,<type>
Syntax:
97
Chapter 3 AT Command Interface +CALA Alarm [,<text>[,<recurr>[,<silent>]]]]] <cr> <time> String-type value; format is yy/MM/dd,hh:mm:sszz, where characters indicate year (two last digits), month, day, hour, minutes, seconds, and time zone (indicates the difference, expressed in quarters of an hour, between the local time and GMT; range -47...+48); e.g., 6th of May 1994, 22:10:00 GMT+2 hours equals 94/05/06,22:10:00+08. <n>, <n1>, <n2> integer-type value indicating the index of the alarm; default is manufacturer specific. <type> integer-type value indicating the type of the alarm (e.g., sound, volume, LED); values and default are manufacturer specific. <text> string-type value indicating the text to be displayed when alarm time is reached; maximum length <tlength>. <tlength> integer-type value indicating the maximum length of <text>. <recurr> string-type value indicating day of week for the alarm in one of the following formats: <1..7>[,<1..7>[]] Sets a recurrent alarm for one or more days in the week. The digits 1 to 7 corresponds to the days in the week, Monday (1), , Sunday (7). Example: The string 1,2,3,4,5 may be used to set an alarm for all weekdays. 0 = sets a recurrent alarm for all days in the week.
Parameters:
98
Chapter 3 AT Command Interface +CALA Alarm <rlength> integer-type value indicating the maximum length of <recurr> <silent> = 0 or 1 integer-type value indicating if the alarm is silent or not. 0 = the alarm will not be silent. 1 = the alarm will be silent and the only result from the alarm is the unsolicited result code +CALV. Examples: AT+CALA=<time>[,<n>[,<type> [,<text>[,<recurr>[,<silent>]]]]] <cr> Example of text alarm result code: AT+CALA="01/05/25,16:01:00-08",1,0, "Conexant Alarm Test" OK Example of LED alarm result code: AT+CALA=01/05/25,16:03:00-08,1,1 OK If invalid value is entered: +CME ERROR: <err> See subclause 9.2 for <err> values. +CALA=? Description: List Supported Alarm Settings The +CALA=? command lists supported array index values, alarm types, and maximum length of the text to be displayed. AT+CALA=? <cr> None ATCALA=? <cr>
Possible Responses:
99
Chapter 3 AT Command Interface +CALA=? Possible Responses: List Supported Alarm Settings +CALA: (list of supported <n>s),(list of supported <type>s),<tlength> OK If invalid value is entered: +CME ERROR: <err> See subclause 9.2 for <err> values. +CALA? Description: Syntax: Parameters: Example: Possible Responses: List Current Alarm Settings The +CALA? command returns the list of current active alarm settings in the ME. AT+CALA? <cr> None AT+CALA? <cr> If alarm has expired: +CALA: OK If a problem is encountered: +CME ERROR: <err> See subclause 9.2 for <err> values. +CALM Description: Syntax: Parameters: Alert Sound Mode The +CALM command selects the general alert sound mode of the ME. AT+CALM=<mode> <cr> <mode> = 0 or 1 0 = normal mode. 1 = silent mode (all sounds from ME are prevented). AT+CALM=0 <cr>
Example:
100
Chapter 3 AT Command Interface +CALM Possible Response: Alert Sound Mode OK If invalid value is entered: +CME ERROR: <err> See subclause 9.2 for <err> values. +CALM=? Description: Syntax: Parameters: Example: Possible Responses: Report Supported Alert Sound Modes The +CALM=? command returns supported values as compound value. ATCALM=? <cr> None ATCALM=? <cr> +CALM: (list of supported <mode>s) +CME ERROR: <err> See subclause 9.2 for <err> values. +CALM? Description: Syntax: Parameters: Example: Possible Responses: Report Current Alert Sound Mode The +CALM? command shows the current alert sound mode. AT+CALM? <cr> None AT+CALM? <cr> +CALM: <mode> +CME ERROR: <err> See subclause 9.2 for <err> values.
101
Chapter 3 AT Command Interface +CAMM Description: Accumulated Call Meter Maximum The +CAMM command sets the Advice of Charge related to the accumulated call meter maximum value in SIM file EF(ACMmax). ACMmax contains the maximum number of home units allowed to be consumed by the subscriber. AT+CAMM=[<acmmax>[,<passwd>]] <cr> <acmmax> string type; accumulated call meter maximum value similarly coded as <ccm> under +CAOC; 0 = disables ACMmax feature. <passwd> string type; SIM PIN2 Example: Possible Responses: AT+CAMM=0,password <cr> OK If error is related to ME functionality: +CME ERROR: <err> See subclause 9.2 for <err> values. +CAMM? Description: Syntax: Parameters: Example: Possible Responses: Report Current ACMmax Value The +CAMM? command returns the current value of ACMmax. AT+CAMM? <cr> None AT+CAMM=? <cr> +CAMM: <acmmax> OK where <acmmax> is the max. ACM value in
Syntax: Parameters:
102
Chapter 3 AT Command Interface +CAMM? Report Current ACMmax Value hexadecimal format (e.g., 00001E indicates decimal value 30). +CME ERROR: <err> See subclause 9.2 for <err> values. +CAOC Description: Advice of Charge Command The +CAOC command sets the Advice of Charge supplementary service function mode. This mode lets subscribers obtain information about a calls cost. AT+CAOC=<mode> <cr> <mode> = 0, 1, or 2 0 = query CCM value. 1 = deactivate the unsolicited reporting of CCM value. 2 = activate the unsolicited reporting of CCM value. <ccm> string type; three bytes of the current CCM value in hexadecimal format (e.g., 00001E indicates decimal value 30); bytes are similarly coded as ACMmax value in the SIM 000000-FFFFFF Example: Possible Responses: AT+CAOC=2 <cr> If error is related to ME functionality: +CME ERROR: <err> If <mode>=0, TA returns the current call meter (CCM) value +CAOC: <ccm> OK If <mode>=1, TA deactivates the unsolicited reporting of CCM value
Syntax: Parameters:
103
Chapter 3 AT Command Interface +CAOC Advice of Charge Command OK If <mode>=2, TA activates the unsolicited reporting of CCM value OK +CAOC=? Description: List Supported Advice of Charge Modes The +CAOC=? command lists the Advice of Charge modes that the GSM Data Module supports. AT+CAOC=? <cr> None AT+CAOC=? <cr> +CAOC: (list of supported <mode>s) OK Report Current Advice of Charge Mode The +CAOC? command reports the GSM Data Modules current Advice of Charge mode. AT+CAOC? <cr> None
+CAOC: <mode> OK Battery Charge The +CBC command allows the TA to return battery connection status <bcs> and battery
104
Chapter 3 AT Command Interface +CBC Syntax: Parameters: Example: Possible Responses: Battery Charge charge level <bcl> values. AT+CBC <cr> None AT+CBC <cr> +CBC: <bcs>,<bcl> OK where <bcs> = 0 or 1 0 = ME is powered by the battery. 1 = ME has a battery connected, but is not powered by it <bcl> = 0 or 100 0 = battery is exhausted. 100 = battery has full capacity remaining.
+CBC=? Description:
List Supported Battery Charge Values The +CBC=? command lists the battery charge values that the GSM Data Module supports. AT+CBC=? <cr> None AT+CBC=? <cr> +CBC: (list of supported <bes>s),(list of supported <bcl>s) OK Select Bearer Service The +CBST command selects the bearer service <name> with data rate <speed> and
+CBST Description:
105
Chapter 3 AT Command Interface +CBST Select Bearer Service the connection element <ce> to be used when data calls are originated. Values may also be used during mobile terminated data call setup, especially in case of single numbering scheme calls. AT+CBST=[<speed>] [,<name> [,<ce>]]] <cr> <speed> =0-2, 4-7, 14, 65, 66, 68, 70, 71, or 75 0 = autobauding. (DEFAULT) 1 = 300 bps (V.21). 2 = 1200 bps (V.22). 4 = 2400 bps (V.22bis). 5 = 2400 bps (V.26ter). 6 = 4800 bps (V.32). 7 = 9600 bps (V.32). 65 = 300 bps (V.110). 66 = 1200 bps (V.110). 68 = 2400 bps (V.110). 70 = 4800 bps (V.110). 71 = 9600 bps (V.110). 75 = 14400 bps (V.110). <name> = 0 or 2 0 = data circuit asynchronous modem. (DEFAULT) 2 = PAD Access (asynchronous) <ce> = 0 or 1 0 = transparent. 1 = non-transparent. (DEFAULT) Example: Possible Response: +CBST=? Description: AT+CBST=1,0,0 <cr> OK
Syntax: Parameters:
List Supported Bearer Services The +CBST=? command lists the bearer
106
Chapter 3 AT Command Interface +CBST=? Syntax: Parameters: Example: Possible Response: +CBST? Description: Syntax: Parameters: Example: Possible Responses: List Supported Bearer Services services that the GSM Data Module supports. AT+CBST=? <cr> None AT+CBST=? <cr> +CBST: (list of supported <speeds>, list of supported <names>, list of supported <ces>) OK Report Current Bearer Service The +CBST? command reports the current bearer service. AT+CBST? <cr> None AT+CBST? <cr> +CBST: <speed>,<name>,<ce> OK
+CCED Description:
Cell Environment Description The +CCED command can be used by the application to retrieve the cell parameters of the main cell and of up to six neighbor cells. Two ways may exist for the external application to know these cell parameters: on request of the application, or automatically by the module every 5 seconds. The automatic mode is not supported during communication or registration. AT+CCED=<m>[,<n>] <cr>
Syntax:
107
Chapter 3 AT Command Interface +CCED Parameters: Cell Environment Description <m> = 0, 1, or 2 0 = one shot requested. 1 = automatic shots requested. 2 = stop automatic shots. <n> = 1, 2, or 3 1 = main cell. MCC, MNC, LAC, CellId, BSIC, ARFCN, RxLev, RxLev Full, RxLevSub, RxQual, RxQual Full, RxQual Sub, Idle TS 2 = neighbor cell. MCC, MNC, LAC, CellId, BSIC, ARFCN, RxLev 3 = all cell. MCC, MNC, LAC, CellId, BSIC, ARFCN, RxLev, RxLev Full, RxLevSub, RxQual, RxQual Full, RxQual Sub, Idle TS, MCC, MNC, LAC, CellId, BSIC, ARFCN, RxLev Combination (addition of the values) of the requested dumped are supported. Notice that in idle mode, only RxLev measures (one the main cell and on the neighbor cells) are done. The value of these RxLev is set in the RxLev Full field for the main cell. Example: Possible Response: +CCFC Description: AT+CCED=0,1 <cr> +CCED:<value>, ... , <value> OK Call Forwarding and Conditions The +CCFC command allows control of the call forwarding supplementary service according to 3GPP TS 22.082 [4]. Registration, erasure, activation, deactivation, and status query are supported.
108
Chapter 3 AT Command Interface +CCFC Call Forwarding and Conditions When querying the status of a network service (<mode>=2) the response line for 'not active' case (<status>=0) should be returned only if service is not active for any <class>. AT+CCFC=<reas>, <mode>[, <number> [, <type>[,<class> [,<subaddr> [,<satype>[,<time>]]]]]] <cr> <reas> = 0, 1, 2, 3, 4, or 5 0 = unconditional. (DEFAULT) 1 = mobile busy. 2 = no reply. 3 = not reachable. 4 = all call forwarding (0-3). 5 = all conditional call forwarding (1-3). <mode> = 0, 1, 2, 3, or 4 0 = disable. (DEFAULT) 1 = enable. 2 = query status. 3 = registration. 4 = erasure. <number> string type phone number of forwarding address in format specified by <type> <type> type of address in integer format; DEFAULT is 145 when dialing string includes international access code character +; otherwise, 129. <subaddr> string type subaddress of format specified by <satype>. <satype> type of subaddress in integer; DEFAULT is 128. <class> = 1, 2, 4, or 7
Syntax:
Parameters:
109
Chapter 3 AT Command Interface +CCFC Call Forwarding and Conditions 1 = voice. 2 = data. 4 = fax. 7 = all classes. (DEFAULT) <time> time to wait before call is forwarded, rounded to a multiple of 5 sec. DEFAULT is 20. 1...20...30 (only for <reas> = no reply) <status> = 0 or 1 0 = not active. 1 = active. Example: Possible Response: +CCFC=? Description: AT+CCFC=1,1,5551212 <cr> OK
List Supported Call Forwarding Reasons The +CCFC=? command lists the call forwarding reasons that the GSM Data Module supports. AT+CCFC=? <cr> None AT+CCFC=? <cr> +CCFC: (list of supported <reas> OK Clock The +CCLK command sets the real-time clock of the ME. AT+CCLK=<time> <cr>
110
Chapter 3 AT Command Interface +CCLK Parameters: Clock <time> String-type value; format is yy/MM/dd,hh:mm:sszz, where characters indicate year (two last digits), month, day, hour, minutes, seconds, and time zone (indicates the difference, expressed in quarters of an hour, between the local time and GMT; range 47...+48); e.g. 6th of May 1994, 22:10:00 GMT+2 hours equals 94/05/06,22:10:00+08. AT+CCLK=01/05/25,15:00:00-08 <cr> OK If setting fails in an ME error: +CME ERROR: <err> See subclause 9.2 for <err> values. +CCLK? Description: Syntax: Parameters: Example: Possible Responses: Read Current Clock Setting The +CCLK? command reads the current clock setting. AT+CCLK=? <cr> None AT+CCLK? <cr> +CCLK:01/05/25.16:01:00-08 OK If an ME error occurs: +CME ERROR: <err> See subclause 9.2 for <err> values. If the ME does not support time zone information, the three last characters of <time> are not returned. The format of
111
Chapter 3 AT Command Interface +CCLK? Read Current Clock Setting <time> is specified by use of the +CSDF command.
+CCUG Description:
Closed User Group The +CCUG command sets the closed user group supplementary service parameters as a default adjustment for all following calls. AT+CCUG=[<n>] [,<index> [,<info>]]] <cr> <n> = 0 or 1 0 = disable CUG. (DEFAULT) 1 = enable CUG. <index> = 09, or 10 0...9 = CUG index. (DEFAULT = 0) 10 = no index (preferred CUG taken from subscriber data). <info> = 0, 1, 2, or 3 0 = no information. (DEFAULT) 1 = suppress OA (Outgoing Access). 2 = suppress preferential CUG. 3 = suppress OA and preferential CUG.
Syntax: Parameters:
AT+CCUG=1,9,2 <cr> OK
List Supported Closed User Groups The +CCUG=? command lists the closed user groups that the GSM Data Module supports. AT+CCUG=? <cr>
Syntax:
112
Chapter 3 AT Command Interface +CCUG=? Parameters: Example: Possible Responses: +CCUG? Description: List Supported Closed User Groups None AT+CCUG=? <cr> OK Report Current Closed User Group The +CCUG? command reports the current closed user group configured for the GSM Data Module. AT+CCUG? <cr> None AT+CCUG? <cr> +CCUG: <n>,<index>,<info> OK If error is related to ME functionality: +CME ERROR: <err>
+CCWA Description:
Call Waiting The +CCWA command controls the call waiting supplementary service. Activation, deactivation and status query are supported. It should be possible to abort the command when network is interrogated. AT+CCWA=[<n>][,<mode>[,<class >]]] <cr> <n> = 0 or 1 0 = disable presentation of unsolicited result code. (DEFAULT) 1 = enable presentation of unsolicited result code.
Syntax: Parameters:
113
Chapter 3 AT Command Interface +CCWA Call Waiting <mode> = 0, 1, or 2 when <mode> parameter not given, network is not interrogated 0 = disable. 1 = enable. 2 = query status. <class> = 1, 2, 4, or 7 a sum of integers each representing a class of information 1 = voice (telephony) 2 = data (usually refers to all bearer services, if <mode>=2, this may refer only to some bearer services). 4 = fax. 7 = all classes. (DEFAULT) <status> = 0 or 1 0 = not active. 1 = enable. Examples: Possible Response: +CCWA=? Description: AT+CCWA=1,1,1 <cr> AT+CCWA=1,2 <cr> OK
List Supported Call Waiting Values The +CCWA=? command returns a list of the call waiting values that the GSM Data Module supports. AT+CCWA=? <cr> None AT+CCWA=? <cr>
114
Chapter 3 AT Command Interface +CCWA=? Possible Responses: +CCWA? Description: Syntax: Parameters: Example: Possible Response: +CCWE Description: List Supported Call Waiting Values +CCWA: <n> OK Report Current Call Waiting Status The +CCWA? command shows whether current call waiting is enabled or disabled. AT+CCWA? <cr> None AT+CCWA? <cr> +CCWA: <n> OK Call Meter Maximum Event Shortly before the ACM (Accumulated Call Meter) maximum value is reached, an unsolicited result code +CCWV is sent, if enabled by this command. The warning is issued approximately when 30 seconds call time remains. It is also issued when starting a call if less than 30 s call time remains. If setting fails in an ME error, +CME ERROR: <err> is returned. Refer subclause 9.2 for <err> values. AT+CCWE=<mode> <cr> <mode> = 0 or 1 0 = disable the call meter warning event. (DEFAULT) 1 = enable the call meter warning event. AT+CCWE=1 <cr> AT+CCWE=2 <cr> OK
Syntax: Parameters:
Examples: Possible
115
Chapter 3 AT Command Interface +CCWE Response: +CCWE=? Description: Call Meter Maximum Event
List Supported Call Meter Maximum Modes The +CCWE=? command returns a list of the supported call meter maximum event modes. AT+CCWE=? <cr> None AT+CCWE=? <cr> +CCWE: <mode> OK Report Current Call Meter Maximum Event Mode The +CCWE? command shows the current call meter maximum event mode. AT+CCWE? <cr> None AT+CCWE? <cr> +CCWE: <mode> OK Display Control The +CDIS command writes the contents of ME text type display elements. An element can consist of one character or several characters. The order of element parameters <text> should be as follows: first
Syntax: Parameters: Example: Possible Responses: +CCWE? Description: Syntax: Parameters: Example: Possible Response: +CDIS Description:
116
Chapter 3 AT Command Interface +CDIS Display Control is the element in upper-left corner, second is the next element to the right, and so on. The last element is the element in lower-right corner. The number of elements is ME specific. If element parameter is empty, element will remain in the previous value. AT+CDIS=[<text>[,<text>[,...]]] <cr> <text> String type parameter using character set specified by the command +CSCS. AT+CDIS="RADIOGSM <cr> OK If the ME does not allow writing to its display or if the ME is not currently reachable: +CME ERROR: <err> See subclause 9.2 for <err> values. +CDIS=? Description: Syntax: Parameters: Example: Possible Responses: List Supported Character Sets The +CDIS=? command returns the contents of ME display elements. AT+CDIS=? <cr> None AT+CDIS=? <cr> +CDIS: <length>[,<length>[,...]] OK where <length> = integer type parameter giving the maximum length of corresponding <text> parameter. If the ME does not allow writing to its
Syntax: Parameters:
117
Chapter 3 AT Command Interface +CDIS=? List Supported Character Sets display or if the ME is not currently reachable: +CME ERROR: <err> See subclause 9.2 for <err> values. Report Current Character Set The +CDIS? command returns the maximum length of each display element. If the ME does not offer the length of elements, the <length> field should be empty. AT+CDIS? <cr> None AT+CDIS? <cr> +CDIS: <text>[,<text>[,...]] OK where <text> is a string-type parameter using character set specified by the command +CSCS. If the ME does not allow writing to its display or if the ME is not currently reachable: +CME ERROR: <I> See subclause 9.2 for <err> values. +CEER Description: Extended Error Reporting The +CEER command returns an extended report for the reason of the failure in the last unsuccessful call setup (originating or answering). Typically, the text consists of a single line containing the failure information given by GSM network in textual format. AT+CEER <cr>
+CDIS? Description:
Syntax:
118
Chapter 3 AT Command Interface +CEER Parameter: Example: Possible Response: Extended Error Reporting None AT+CEER <cr> +CEER: <report> OK where <report> is the reason for last call release as number code. Test Extended Error Reporting The +CEER=? command is a test command. AT+CEER=? <cr> None AT+CEER=? <cr> OK Set Phone Functionality The +CFUN command selects the level of functionality in the mobile station. AT+CFUN=<L> <cr> <L> the ID to be set, as described in the examples. When the application wants to stop the module to make a power off, or if the application wants to force the module to execute an IMSI DETACH procedure, it has to send: AT+CFUN=0 <cr> This command executes an IMSI DETACH and makes a backup of some internal
+CEER =? Description: Syntax: Parameters: Example: Possible Response: +CFUN Description: Syntax: Parameters: Examples:
119
Chapter 3 AT Command Interface +CFUN Set Phone Functionality parameters in the SIM and the EEPROM. Then no access to the SIM card is possible. If the mobile is not powered off after this command, it shall receive another command to re-start the whole GSM process. If the mobile is turned off after this command, the power-on automatically executes the start of the whole GSM process. When the application wants to re-start the module (after having done a AT+CFUN=0 command, and without having cut the power supply), it must send: AT+CFUN=1 This command starts again all the GSM stack and GSM functionality and a complete software reset is done. All parameters are reset to their previous E2P value if AT&W was not used. If you write entries in phonebook (+CPBW) and then reset the module directly (AT+CFUN=1, without any AT+CFUN=0 before), some entries may not be written (SIM task did not have enough time to write the entries in SIM card) Also, the OK response will be sent at the last defined baud rate defined by +IPR command. With autobauding the response can be at a different baud rate, so it is better to save the defined baud rate with AT&W before directly send the AT+CFUN=1 command. Possible Response: +CFUN? Description: OK
Report Current Phone Functionality The +CFUN? command reports the GSM
120
Chapter 3 AT Command Interface +CFUN? Syntax: Parameters: Example: Possible Response: +CFUN=? Description: Syntax: Parameters: Example: Possible Response: Report Current Phone Functionality Data Modules current phone functionality. AT+CFUN? <cr> None AT+CFUN? <cr> +CFUN: 1 OK List Supported Phone Functionality The +CFUN=? command is a test command. AT+CFUN=? <cr> None AT+CFUN=? <cr> +CFUN: 1 OK
Report Manufacturer Identification The +CGMI command reports the GSM Data Modules manufacturer identification. AT+CGMI <cr> None AT+CGMI <cr> CONEXANT OK
121
Chapter 3 AT Command Interface +CGMM Description: Syntax: Parameters: Example: Possible Response: +CGMR Description: Syntax: Parameters: Example: Possible Response: +CGSN Description: Request Module ID The +CGMM command reports the specific model of the GSM Data Module. AT+CGMM <cr> None AT+CGMM <cr> +GSMDM100DB OK Request Revision ID The +CGMR command reports the GSM Data Modules software version. AT+CGMR <cr> None AT+CGMR <cr> Revision x.yy OK Request Product Serial Number Identification The +CGSN command allows the user application to ascertain the GSM modules International Mobile Equipment Identify (IMEI). AT+CGSN <cr> None AT+CGSN <cr>
122
Chapter 3 AT Command Interface +CGSN Possible Response: +CHLD Description: Request Product Serial Number Identification 135790248939 OK Call Hold The +CHLD command allows the control of the following call-related services: