Contents Short form list of AT commands 3–8 ....................List of AT -commands 9–175 ..........................General commands 10–17 ............................ Call Control commands 18–25 ........................Network service commands 26–33 ......................Security commands 34–40 ........................... Phonebook commands 41–52 .......................... Short Messages commands 53–74 ......................
Short form list of AT commands S-registers Description Direct +CSAS &W &F Default Save value Ring signals before auto answer General commands Command Description Direct +CSAS &W &F Default Save value +CGMI Manufacturer identification – – – – – +CGMM Request model identification –...
Page 4
Network service commands Command Description Direct +CSAS &W &F Default Save value +CSQ Signal Quality – – – – – +COPS Operator selection – +CREG Network registration – – +WOPN Read operator name – – – – – +CPOL Preferred operator list –...
Page 5
Short Messages commands Command Description Direct +CSAS &W &F Default Save value +CSMS Select message service – – – +CNMA New Message Acknowledgement – – – – – +CPMS Preferred Message Storage – – – – – +CMGF Preferred Message Format –...
Page 6
Data commands Command Description Direct +CSAS &W &F Default Save value +CBST Bearer type selection – – 0,0,1 +FCLASS Select mode – – – – – Service reporting control – – +CRC Cellular result codes – – +ILRR DTE–DCE local rate reporting –...
Page 7
V24-V25 commands Command Description Direct +CSAS &W &F Default Save value +IPR Fixed DTE rate – – – 9600 +ICF DTE–DCE character framing – – – +IFC DTE–DCE local flow control – – – &C Set DCD signal – – –...
Page 8
AT commands for GPRS Command Description Direct +CSAS &W &F Default Save value +CGDCONT Define PDP Context – – – – – +CGQREQ Requested Quality of Service Profile – – – – – +CGQMIN (Minimum acceptable) Quality of Service Profile –...
List of AT -commands Commands always start with AT (which means ATtention) and finish with a <CR> character. Information responses and result codes Responses normally start and end with <CR><LF>, except when the modem is set to “short result code format” with the command ATV0, or when the ATQ1 (no result codes) command is used.
General commands +CGMI – Manufacturer identification Description: This command gives the GSM engine manufacturer identification. Syntax: AT+CGMI Command example Possible responses Note AT+CGMI WAVECOM MODEM Module manufacturer +CGMM – Request model identification Description: This command is used to get the supported frequency bands.With multi-band products the response may be a combination of different bands.
Page 11
+CGSN – Product Serial Number Description: This command allows the user application to get the IMEI (International Mobile Equipment Identifier) of the product. Syntax: AT+CGSN Command example Possible responses Note AT+CGSN 135790248939 IMEI read from EEPROM AT+CGSN +CME ERROR: 22 IMEI not found in EEPROM +CSCS –...
Page 12
+WPCS – Phonebook Character Set Description: This specific command informs the ME which character set is used by the TE for the phonebooks.The ME can convert each character of entered or displayed strings. This is used to read or write phonebook entries. See also +CSCS for the short messages character sets.
Page 13
+CCID – Card Identification Description: This command orders the product to read the EF-CCID file on the SIM card. If there is no EF-CCID file present on the SIM, the +CCID answer will not be sent, but the OK message will be returned. Syntax: AT+CCID Command example...
Page 14
+CFUN – Set phone functionality Description: This command selects the mobile station’s level of functionality.When the application wants to stop the product with a power off, or if the application wants to force the product to execute an IMSI DETACH procedure, then it must send: AT+CFUN=0 (equivalent to AT+CPOF) This command executes an IMSI DETACH and makes a backup copy of some internal parameters in SIM and in EEPROM.The SIM card cannot then be accessed.
Page 15
+CPAS – Phone activity status Description: This command returns the activity status of the mobile equipment. Syntax: AT+CPAS Command example Possible responses Note AT+CPAS +CPAS: <pas> Current activity status OK Defined values: <pas> may be one of the following parameters ready (allow commands from TA/TE) unavailable (does not allow commands) unknown...
Page 16
+CKPD – Keypad control Description: This command emulates the ME keypad by sending each keystroke as a character in a <keys> string.The supported GSM sequences are listed below in this manual. If emulation fails, a +CME ERROR: <err> is returned. If emulation succeeds, the result depends on the GSM sequence activated.
Page 17
+CALA – Alarm Management Description: This command is used to set alarms date/time in the ME. The maximum number of alarms is 16. Seconds are not taken into account. Syntax: AT+CALA=<date and time string> (set alarm) AT+CALA=””,<index> (delete alarm) <date and time string> is a string with the following format: “yy/MM/dd,hh:mm:ss”...
Please note that for an international number, the local international prefix does not need to be set (usually 00) but does need to be replaced by the ‘+’ character. Example: to set up a data call to the Westermo Sweden office from another country, the AT command is: “ATD+4616428000”...
Page 19
Direct dialling from a phonebook (stored in the SIM card) Direct dialling can be performed with the following command: ATD> <index>; to call <index> from the selected phonebook (by the +CPBS command) ATD> “BILL”; to call “BILL” from the selected phonebook ATD>...
Page 20
GSM sequences As per GSM 02.30, GSM sequences may be controlled using dial commands.These sequences can contain “*”, “#”, but “;” is forbidden. If the sequence is not supported or fails, +CME ERROR: <err> is returned. In the case where the FDN phonebook is activat- ed, the sequences concerning call forwarding are allowed only if there are written in the FDN.
Page 21
A – Answer a call Description: When the product receives a call, it sets the RingInd signal and sends the ASCII “RING” or “+CRING: <type>” string to the application (+CRING if the cellular result code +CRC is enabled).Then it waits for the application to accept the call with the ATA com- mand.
Page 22
+VTD, +VTS – DTMF signals +VTD Description: The product enables the user application to send DTMF tones over the GSM network. This command is used to define tone duration (the default value is 300 ms). +VTD Syntax: AT+VTD=<n> where <n>*100 gives the duration in ms. If n <...
Page 23
AT%Dn – Automatic dialing with DTR Description: This command enables and disables • automatic dialling of the phone number stored in the first location of the ADN phonebook, • automatic sending of the short message (SMS) stored in the first location of the SIM. The number is dialled when DTR OFF switches ON.
Page 24
+CICB – Incoming Call Bearer Description: This specific command is used to set the type of incoming calls when no incoming bearer is given (see +CSNS). NOTE: setting the +CICB command affects the current value of +CSNS. Syntax: AT+CICB=<mode> Command example Possible responses Note AT+CICB=1...
Page 25
+CSNS – Single Numbering Scheme Description: This command selects the bearer to be used when an MT single numbering scheme call is set up (see +CICB). NOTE: setting the +CSNS command affects the current value of +CICB. Syntax: AT+CSNS Command example Possible responses Note AT+CSNS=2...
Network service commands +CSQ – Signal Quality Description: This command is used to ascertain the received signal strength indication (<rssi>) and the channel bit error rate (<ber>) with or without a SIM card inserted. Syntax: AT+CSQ Command example Possible responses Note AT+CSQ +CSQ: <rssi>,<ber>...
Page 27
+COPS – Operator selection Description: There are three possible ways of selecting an operator (PLMN): • The product is in manual mode. It then tries to find the operator specified by the appli- cation and if found, tries to register. •...
Page 28
Command example Possible responses Note AT+COPS? +COPS: 0,2,20801 Ask for current PLMN, reported PLMN is France Telecom Orange AT+COPS=? +COPS: Ask for PLMN list, home (2, ” F Itinéris”, ” Itline”, ” 20801”), PLMN is France (3,”FSFR”,”SFR”,”20810”) Telecom, SFR network has been detected AT+COPS=1,2,20810 +CME ERROR: 32...
Page 29
Defined values: The parameters values are the following ones: <mode> automatic (default value) manual deregistration ; ME will be unregistered until <mode>=0 or 1 is selected. set only <format> (for read command AT+COPS?) manual / automatic (<oper> shall be present), if manual selection fails, auto- matic mode is entered.
Page 30
+CREG – Network registration Description: This command is used by the application to ascertain the registration status of the product. Syntax: AT+CREG= <mode> Response Syntax +CREG: <mode>, <stat> [ ,<lac>,<ci> ] for AT+CREG? Command only Command example Possible responses Note AT+CREG? +CREG: <mode>,<stat>...
Page 31
<lac> string type; two byte location area code in hexadecimal format (e.g. “00C3” equals 195 in decimal). <ci> string type; two byte cell ID in hexadecimal format. +WOPN – Read operator name Description: This specific command returns the operator name in alphanumeric format when given the numeric format.
Page 32
+CPOL – Preferred operator list Description: This command is used to edit the SIM preferred list of networks. Syntax: AT+CPOL= [ <index> ][ , <format> [ , <oper> ] ] The different possibilities are: • AT+CPOL = <index> to delete an entry. •...
Page 33
Command example Possible responses Note AT+CPOL? +CPOL:1,2,26201 Ask for preferred list of +CPOL: 6,2,20810 networks, preferred list of networks in numeric format AT+CPOL=,0 Select long alphanumeric format AT+CPOL? +CPOL: 1,0,”D1-TELEKOM” Ask for preferred list of +CPOL: 6,0,”F SFR” network, Preferred list of networks in long alphanumeric format AT+CPOL=7,2,20801...
Security commands +CPIN – Enter PIN Description: This command is used to enter the ME passwords (CHV1 / CHV2 / PUK1 / PUK2, etc.), that are required before any ME functionality can be used. CHV1/CHV2 is between 4 and 8 digits long, PUK1/PUK2 is only 8 digits long. If the user application tries to make an outgoing call before the SIM PIN code (CHV1) has been confirmed, then the product will refuse the “ATD”...
Page 35
Please note that in this case the mobile equipment does not end its response with the OK string.The response +CME ERROR: 13 (SIM failure) is returned after 10 unsuccessful PUK attempts.The SIM card is then out of order and must be replaced by a new one. Example: 3 failed PIN validations + 1 successful PUK validation Command...
Page 36
+CPIN2 – Enter PIN2 Description: This specific command is used to validate the PIN2 code (CHV2), or to validate the PUK2 code (UNBLOCK CHV2) and to define a new PIN2 code. Of course, the +CPIN command allows PIN2 or PUK2 codes to be validated, but only when the last command executed resulted in PIN2 authentication failure.
Page 37
+CPINC – PIN remaining attempt number Description: This specific command is used to get the number of valid attempts for PIN1 (CHV1), PIN2 (CHV2), PUK1 (UNBLOCK CHV1) and PUK2 (UNBLOCK CHV2) identifiers. Syntax: AT+CPINC Response Syntax +CPINC: <n1>,<n2>,<k1>,<k2> Command example Possible responses Note AT+CPINC...
Page 38
+CLCK – Facility lock Description: This command is used by the application to lock, unlock or interrogate an ME or network facility <fac>. NOTE: Test SIM cards (with MCC=001 & MNC=01) doesn’t check “PS”, “PN”, “PU”, “PP” and “PC” locks. Syntax: AT+CLCK= <fac>,<mode>[,<passwd>[,<class>] ] Response syntax:...
Page 39
Defined values: <fac> “PS”: SIM lock facility with a 8 digits password. “SC“: PIN enabled (<mode> = 1) / disabled (<mode> = 0) “AO”: BAOC (Barr All Outgoing Calls) “OI”: BOIC (Barr Outgoing International Calls) “OX”: BOIC-exHC (Barr Outgoing. International Calls except to Home Country) “AI”: BAIC (Barr All Incoming Calls) “IR”:...
Page 40
+CPWD – Change password Description: This command is used by the application to change a password (PIN, call barring, NCK, etc.).The facility values <fac>) are the same as for the +CLCK command with a “P2” facility to manage SIM PIN2. For the network lock (“PN”), unlocking is forbidden after 10 failed attempts to disable (unlock) the network lock with an incorrect password.
Phonebook commands +CPBS – Select phonebook memory storage Description: This command selects phonebook memory storage.The available phonebooks are: “SM“: ADN (SIM phonebook) “FD”: FDN (SIM Fix Dialling, restricted phonebook) “ON”: MSISDN (SIM own numbers) “EN”: EN (SIM emergency number) “LD”: LND (combined ME and SIM last dialing phonebook) “MC”: MSD (ME missed calls list)
Page 42
+CPBR – Read phonebook entries Description: This command returns phonebook entries for a range of locations from the current phonebook memory storage selected with +CPBS. NOTE: for all phonebook read commands (+CPBR, +CPBF, +CPBN, +CPBP, +CNUM), the TON/NPI MSB of each number is set to 1 (ex: a TON/NPI stored as 17 is displayed as 145).
Page 43
+CPBF – Find phonebook entries Description: This command returns phonebook entries with alphanumeric fields starting with a given string.The AT+CPBF= “” command can be used to display all phonebook entries sorted in alphabetical order.This command is not allowed for "LD", "RC", "MC", "SN" phone- books and for the “EN”...
Page 44
Write at location 7 a 01234567890”,129, phone number ”WAVE” +CME ERROR: 26 exceeding the limit (21 digits), phone number too long AT+CPBW=7,”012233 Write at location 7 along 4455”,129,”WESTERMO text (11 TEL” characters),Text too long +CME ERROR: 24 6196-2220 B A C K...
Page 45
AT+CPBW=8,”01292349”, Write location, location 129,”80xyz” 8 is written.The string has a wrong UCS2 format, it is therefore considered as an ASCII string When the fixed dialling phonebook (FDN) is locked, this command is not allowed. Moreover, when the FDN is unlocked, PIN2 is required to write in the FDN phonebook. But if PIN2 authentication has been performed during the current session, the +CPBW command with FDN is allowed.
Page 46
+CPBP – Phonebook phone search Description: This specific command orders the product to search the phonebook for an item with the same phone number as that defined in the parameter. Syntax: AT+CPBP=<PhoneNumber> <PhoneNumber> is coded like any GSM 07.07 or GSM 07.05 phone number. Command example Possible responses Note...
Page 47
+CPBN – Move action in phonebook Description This specific command instructs the product to make a forward or backward move in the phonebook (in alphabetical order).This command is not allowed for the “EN” phone- book – which does not contain alphanumeric fields. Syntax: AT+CPBN=<mode>...
Page 48
Using mode 4 and 5 with +CPBF command and CPBW: Command example Possible responses Note AT+CPBF=”Er” +CPBF: 15,”+331290101”, Find ”Er” in phonebook, 145, ”Eric” Display the location AT+CPBN=2 +CPBN: 5,”+33147658987”, Read the next location, 145, ”Frank” display the following location AT+CPBF=”Er”...
Page 49
+CNUM – Subscriber number Description: This command returns the subscriber MSISDN(s). If the subscriber has different MSISDNs for different services, each MSISDN is returned in a separate line. Syntax: AT+CNUM Response syntax: +CNUM: <alpha1>, <number1>, <type1> <CR><LF> +CNUM: <alpha2>, <number2>, <type2> ..Command example Possible responses Note...
Page 50
+WAIP – Avoid phonebook init Description: This specific command allows the initialization of all phonebooks to be inhibited during subsequent boots. Syntax: AT+WAIP=<mode> Command example Possible responses Note AT+WAIP? +WAIP:0 Current values? AT+WAIP=? +WAIP: (0,1) Possible values? AT+WAIP =1 Inhibit initialization of phonebooks (next boot) AT&W Save modifications...
Page 51
+WDCP – Delete Calls Phonebook Description: This specific command allows to delete the calls listed in some phonebooks. Syntax: AT+WDCP=<calls phonebook> Command example Possible responses Note AT+WDCP? AT+WDCP=? +WDCP: ("LD","MC","RC") Possible values? The result is the identi- fiers of the a list of calls AT+WDCP=”LD”...
Page 52
+CSVM Set Voice Mail Number Description: This commands allows to set/get and enable/disable the voice mail number in memory. Syntax: AT+CSVM=<mode>[,<number>[,<type>]] Command example Possible responses Note AT+CSVM? +CSVM: 1,”660”,129 Get mail number, result: voice mail number “660” is activated AT+CSVM=? +CSVM: (0-1),(129,145) Possible values? AT+CSVM=0,”888”,129...
Short Messages commands Parameters definition The parameters below are used in the short message commands. <da> Destination Address, coded like GSM 03.40 TP-DA Data Coding Scheme, coded like in document [5]. <dcs> Discharge Time in string format: “yy/MM/dd,hh:mm:ss±zz” <dt> (Year [00-99], Month [01-12], Day [01-31], Hour, Minute, Second and Time Zone [quarters of an hour] ) <fo>...
Page 54
+CSMS Select message service Description: The supported services are originated (SMS-MO) and terminated short message (SMS- MT) + Cell Broadcast Message (SMS-CB) services. Syntax: AT+CSMS=<service> Command example Possible responses Note AT+CSMS=0 +CSMS: 1,1,1 SMS AT command Phase 2 version 4.7.0, SMS-MO, SMS-MT and SMS-CB supported AT+CSMS=1...
Page 55
+CNMA New Message Acknowledgement Description: This command allows reception of a new message routed directly to the TE to be acknowledged. In TEXT mode, only positive acknowledgement to the network (RP-ACK) is possible. In PDU mode, either positive (RP-ACK) or negative (RP-ERROR) acknowl- edgement to the network is possible.
Page 56
Example of acknowledgement of a new message in PDU mode: Command example Possible responses Note AT+CMGF=0 Set PDU mode +CMT: Message received ,2907913366003000F 1240B913366920547F3000 0003003419404800B50621 5D42ECFE7E17319 AT+CNMA=2,<length><CR> Negative acknowledge- ...Pdu message...<Ctrl-Z/ESC> ment for the message. Send a negative acknowledgement to the network (RP-ERROR) with PDU message (<ackpdu>...
Page 57
+CPMS Preferred Message Storage Description: This command allows the message storage area to be selected (for reading, writing, etc). Syntax: AT+CPMS=<mem1>,[<mem2>] Command example Possible responses Note AT+CPMS=? +CPMS: ((“SM”,”BM”,”SR”), Possible message (“SM”)) storages. AT+CPMS? +CPMS: “SM”, 3, 10, Read, write...SMS ”SM”, 3,10 from/to SIM 3 SMS are stored in SIM.
Page 58
+CMGF – Preferred Message Format Description: The message formats supported are text mode and PDU mode. In PDU mode, a com- plete SMS Message including all header information is given as a binary string (in hexa- decimal format).Therefore, only the following set of characters is allowed: {‘0’,’1’,’2’,’3’,’4’,’5’,’6’,’7’,’8’,’9’, ‘A’, ‘B’,’C’,’D’,’E’,’F’}.
Page 59
+CSAS – Save Settings Description: All settings specified by the +CSCA and +CSMP commands are stored in EEPROM if the SIM card is a Phase 1 card or in the SIM card if it is a Phase 2 SIM card. Syntax: AT+CSAS Command example...
Page 60
+CNMI – New message indication Description: This command selects the procedure for message reception from the network. Syntax: AT+CNMI=<mode>,<mt>,<bm>,<ds>,<bfr> Command example Possible responses Note AT+CNMI=2,1,0,0,0 <mt>=1 AT+CMTI: “SM”,1 message received AT+CNMI=2,2,0,0,0 <mt>=2 +CMT: “123456”, ”98/10/01, message received 12:30 00+00”, 129,4,32,240, “15379”, 129,5<CR><LF>...
Page 61
<mt> sets the result code indication routing for SMS-DELIVERs. Default is 0. Possible values: No SMS-DELIVER indications are routed. SMS-DELIVERs are routed using unsolicited code: +CMTI: “SM”,<index> SMS-DELIVERs (except class 2 messages) are routed using unsolicited code: +CMT: [<alpha>,] <length> <CR> <LF> <pdu> (PDU mode) or +CMT: <oa>,[<alpha>,] <scts>...
Page 62
<bfr> Default is 0. Possible values: TA buffer of unsolicited result codes defined within this command is flushed to the TE when <mode> 1...3 is entered (OK response shall be given before flushing the codes) TA buffer of unsolicited result codes defined within this command is cleared when <mode>...
Page 63
Example: Command example Possible responses Note AT+CMTI: “SM”,1 New message received AT+CMGR=1 +CMGR: “REC UNREAD”, ”0146290800”, Read the message ”98/10/01,18:22:11+00”, <CR><LF> ABCdefGHI AT+CMGR=1 +CMGR: “REC UNREAD”, Read the message again, ”0146290800”, note that the message is ”98/10/01,18:22:11+00”, read now <CR><LF> ABCdefGHI AT+CMGR=2 +CMS ERROR: 321...
Page 64
+CMGL – List message Description: This command allows the application to read stored messages, by indicating the type of the message to read.The messages are read from the memory selected by the +CPMS command. Syntax: AT+CMGL=<stat> Response syntax for text mode: +CMGL: <index>,<stat>,<da/oa>[,<alpha>], [<scts>, <tooa/toda>, <length>] <CR><LF><data>...
Page 65
Defined values: <stat> possible values (status of messages in memory): Text mode PDU mode Status of messages possible values possible values in memory “REC UNREAD” received unread messages “REC READ” received read messages “STO UNSENT” stored unsent messages “STO SENT” stored sent messages “ALL”...
Page 66
+CMGW – Write Message to Memory Description: This command stores a message in memory (either SMS-SUBMIT or SMS-DELIVERS). The memory location <index> is returned (no choice possible as with phonebooks +CPBW).Text or PDU is entered as described for the Send Message +CMGS command. Command syntax in text mode: AT+CMGW= <oa/da>...
Page 67
+CMSS – Send Message From Storage Description: This command sends a message stored at location value <index>. Command syntax: AT+CMSS=<index>[,<da> [,<toda>] ] Response syntax: +CMSS: <mr> or +CMS ERROR: <err> if sending fails If a new recipient address <da> is given, it will be used instead of the one stored with the message Command example Possible responses...
Page 68
+CSMP – Set Text Mode Parameters Description: This command is used to select a value for <vp>, <pid>, and <dcs>. Syntax: AT+CSMP=<fo>, <vp>, <pid>,<dcs> Command example Possible responses Note AT+CSMP? +CSMP: 0,0,0,0 Current values, result no validity period <dcs>= PCCP437 alphabet (8 bits ‡...
Page 69
In text mode <vp> is only coded in “relative” format.The default value is 167 (24 hours). This means that one octet can describe different values: VP value Validity period value 0 to 143 (VP + 1) x 5 minutes (up to 12 hours) 144 to 167 12 hours + ( (VP –...
Page 70
+CMGD – Delete message Description: This command is used to delete one or several messages from preferred message storage (“BM” SMS CB ‘RAM storage’, “SM” SMSPP storage ‘SIM storage’ or “SR” SMS Status-Report storage). Syntax: AT+CMGD=<Index> [,<DelFalg>] Command example Possible responses Note +CMTI:”SM”,3 New message received...
Page 71
Defined values: <index> 1-20:When the preferred message storage is “BM”. Integer type values in the range of location numbers of SIM Message memory when the preferred message storage is “SM” or “SR”. <DelFlag> Delete message at location <index>. Delete All READ messages Delete All READ and SENT messages Delete All READ, SENT and UNSENT messages Delete All messages.
Page 72
+CSCB – Select Cell Broadcast Message Types Description: This command selects which types of CBMs are to be received by the ME,This command is allowed in both PDU and text modes. Syntax: AT+CSCB= <mode>, [ <mids>, [ <dcss> ] ] The <bm>...
Page 73
+WCBM – Cell Broadcast Message Identifiers Description: This command is used to read the EF-CBMI SIM file. Remark:The EF-CBMI file is not used with the +CSCB command.The application should read this file (using AT+WCBM?) and combine the Message Identifiers with those required by the application.
Page 74
+WMGO – Message overwriting Description: The +CMGW command writes an SMS to the first location available.To write an SMS to a specified location, the +WMGO command forces the product to write an SMS (with the +CMGW command) to the location specified with +WMGO, but for just one +CMGW command.
Page 76
<mode> Disable Enable Interrogate Registration Erasure <class> Voice Data Short Messages All classes NOTE: The combination of different classes is not supported, it will only result in the activation / deactivation / status request of all classes. In the case where the FDN phonebook is activated, the registration is restricted to the phone numbers written in the FDN.
Page 77
Defined values: <fac> Barring for outgoing calls “AO” BAOC (Barr All Outgoing Calls) “OI” BOIC (Barr Outgoing International Calls) “OX” BOIC-exHC (Barr Outgoing International Calls except to Home Country) Barring for incoming calls “AI” BAIC (Barr All Incoming Calls) “IR” BIC-Roam (Barr Incoming Calls when Roaming outside the home country) For all calls barring (<mode>=0 only)
Page 78
+CPWD – Modify SS password Description: This command is used by the application to change the supplementary service password. Syntax: AT+CPWD=<fac>,<OldPassword>, <NewPassword> for <fac> see +CLCK command with only “P2” facility added (SIM PIN2). Command example Possible responses Note AT+CPWD=”AO”,1234,5555 Change Call Barring password, result: Password changed...
Page 79
Command example Possible responses Note AT+CCWA=1,1,1 Enable call waiting for voice calls AT+CCWA=1,2 +CCWA:1,1 Interrogate call waiting, result: Call waiting active for voice calls. +CCWA:”0146290800”, Number and name of the 145,1, ”FREDDY” waiting voice call +CCWA:”0146290800”, (UCS2 format), 145,1, ”8023459678FFFF” AT+CCWA=1,0,7 Erase call waiting voice call waiting (no number)
Page 80
+CLIR – Calling line identification restriction Description: This command allows control of the calling line identification restriction supplementary service. Syntax: AT+CLIR=<n> Response Syntax: +CLIR :<n>,<m> (for AT+CLIR ?) Command example Possible responses Note AT+CLIR=2 AT+CLIR ? +CLIR :<n>,<m> Ask for current functionality, result: <n>...
Page 81
+CLIP – Calling line identification presentation Description: This command allows control of the calling line identification presentation supplementary service.When presentation of the CLI (Calling Line Identification) is enabled (and calling subscriber allows), +CLIP response is returned after every RING (or +CRING) result code.
Page 82
+COLP – Connected line identification presentation Description: This command allows control of the connected line identification presentation supplementary service – useful for call forwarding of the connected line. Syntax: AT+COLP=<n> Response syntax: +COLP: <n>,<m> for AT+COLP? +COLP: <number>,<type> [ ,<subaddr>, <satype>, <alpha> ] after ATD command, before OK or CONNECT <speed>...
Page 83
+CAOC – Advice of charge Description: This refers to the Advice of Charge supplementary service (GSM 02.24 and GSM 02.86) which enables the subscriber to obtain information on call cost.With <mode>=0, the command returns the current call meter value (CCM) from the ME. If AOC is supported, the command can also enable unsolicited event reporting on CCM information.
Page 84
+CACM – Accumulated call meter Description: This command resets the Advice of Charge for accumulated call meter value in SIM file EFACM.The ACM contains the total number of home units for both the current and pre- ceding calls. SIM PIN2 is required to reset the value. If setting fails in an ME error, +CME ERROR: <err>...
Page 85
+CAMM – Accumulated call meter maximum Description: The set command sets the Advice of Charge related to accumulated call meter maximum value in SIM file EFACMmax . ACMmax contains the maximum number of home units the subscriber is allowed to consume.When ACM (see +CACM) reaches ACMmax, calls are prohibited.
Page 86
+CPUC – Price per unit and currency table Description: The set command sets the parameters for Advice of Charge related to price per unit and the currency table in SIM file EFPUCT. PUCT information can be used to convert the home units (as used in +CAOC, +CACM and +CAMM) into currency units.
Page 87
+CHLD – Call related supplementary services Description: This command is used to manage call hold and multiparty conversation (conference call). Calls can be put on hold, recovered, released or added to a conversation. Syntax: AT+CHLD= < n > Response syntax: +CHLD: (0-4, 11-17, 21-27) for AT+CHLD=? Defined values: <n>...
Page 88
+CLCC – List current calls Description: This command is used to return a list of current calls. Syntax: AT+CLCC Response syntax: OK if no calls are available +CLCC: <id1>, <dir>, <stat>, <mode>, <mpty> [ ,<number>, <type> [<alpha> ] ][ <CR><LF> +CLCC: <id2>, <dir>, <stat>, <mode>, <mpty>...
Page 89
+CSSN – Supplementary service notifications Description: This command refers to supplementary service related network initiated notifications. When <n>=1 and a supplementary service notification is received after a mobile origi- nated call setup, intermediate result code +CSSI:<code1>[,<index>] is sent before any other MO call setup result codes.When <m>=1 and a supplementary service notification is received during a call, unsolicited result code +CSSU:<code2>[,<index>[,<number>,<type>]] is sent.
Page 90
<code2> closed User Group call, with CUG <index> call has been put on hold (during a voice call, <number> & <type> fields may be present) call has been retrieved (during a voice call, <number> & <type> fields may be present) multiparty call entered (during a voice call, <number>...
Page 91
+CUSD – Unstructured supplementary service data Description: The USSD supplementary service is described in GSM 02.90. It is based on sequences of digits which may be entered by a mobile user with a handset. A sequence entered is sent to the network which replies with an alphanumerical string, for display only, or for display plus request for the next sequence.
Page 92
+CCUG – Closed user group Description: The Closed User Group Supplementary Service enables subscribers to form closed user groups with restricted access (both access to and from).The CUG supplementary serv- ice is described in GSM 02.85.This service is provided on prior arrangement with the service provider.
Data commands +CBST – Bearer type selection Description: This command applies to both outgoing and incoming data calls, but in a different way. For an outgoing call, the two parameters (e.g. <speed> and <ce>) apply, whereas for an incoming call, only the <ce> parameter applies. NOTE 1: For incoming calls, if <ce>...
+FCLASS – Select mode Description: This command puts the product into a particular operating mode (data or fax). Syntax: AT+FCLASS= <n> Command example Possible responses Note AT+FCLASS=? +FCLASS: (0,1) Test command, result: Fax class 2 not supported AT+FCLASS=? +FCLASS: (0,1,2) Test command, result: Fax class 2 supported AT+FCLASS=0...
+CR – Service reporting control Description: This command enables a more detailed type of service reporting in the case of incoming or outgoing data calls. Before sending the CONNECT response to the application, the product will specify the type of data connection that has been set up. These report types are: +CR: ASYNC For asynchronous transparent...
+CRC – Cellular result codes Description: This command gives more detailed ring information for an incoming call (voice or data). Instead of the string “RING”, an extended string is used to indicate which type of call is ringing (e.g. +CRING:VOICE). These extended indications are: +CRING: ASYNC for asynchronous transparent...
+CRLP – Radio link protocol parameters Description: This command allows the radio link protocol parameters used for non transparent data transmission to be changed. Syntax: AT+CRLP=<iws>,<mws>,<T1>,<N2>, <ver> Command example Possible responses Note AT+CRLP=? +CRLP: (0-61),(0-61), Test command (40-255),(1,255),(0,1) AT+CRLP=61,61,48,6,0 Set new parameters AT+CRLP? AT+CRLP: 61,61,48,6,0 Current values...
+DOPT – Others radio link parameters Description: This command allows some supplementary radio link protocol parameters to be changed. Syntax: AT+DOPT=<reset_allowed>,<dtx_allowed> Command example Possible responses Note AT+DOPT=1 Set new parameters AT+DOPT=? (0,1),(0,1) Test command, result: DTX is supported AT+DOPT=1,1 Set new parameters AT+DOPT? Current values Defined values:...
%C – Select data compression Description: This command enables or disables data compression negotiation if this feature is sup- ported on the product. Syntax: AT%C<n> Command example Possible responses Note AT%C0 Feature supported AT%C2 V.42bis supported AT%C? Current value Defined values: <n>...
+DS – V.42 bis data compression Description: This command enables or disables V.42bis data compression if this feature is supported on the product. Syntax: AT+DS=<dir>,<neg>,<P1>,<P2> Command example Possible responses Note AT+DS=? +DS: (0-3),(0,1), Test command (512-4096),(6-250) AT+DS=3,0,4096,250 Set new parameters AT+DS? +DS: 3,0,4096,20 Current values...
+DR – V42 bis data compression report Description: If this feature is provided by the product this command determines whether or not the use of V.42bis is given in an incoming or outgoing data call.The intermediate result code represents current DCE-DCE data compression type. The format of this result code is as follows: •...
\N – Select data error correcting mode Description: If this feature is provided by the product, this command controls the preferred error correcting mode for a data connection. It can only be used for transparent data transmis- sion. If the MNP2 feature is provided, the product authorizes MNP error correction mode.
Fax commands The fax service provided by the product is class 1 compatible. However, only the core commands defined by ITU T.31 are supported.This means that commands such as AT+FAR, +FCC, etc. are not supported. Autobauding must be enabled to set up the prod- uct for fax.
+FRM – Receive speed Description: This command sets the fax receive speed. Syntax: AT+FRM=<speed> Command example Possible responses Note AT+FRM=? (24,48,72,73,74,96,97,98, 121,122,145,146) Test command Note: Fax 14.4 kbps supported Defined values: The speed values are identical to those of the +FTM command (see above). +FTH –...
+FRH – HDLC receive speed Description: This command sets the fax receive speed, using the HDLC protocol. Syntax: AT+FRH=<speed> Command example Possible responses Note AT+FRH=? Test command Defined values: <speed> can only take the value 3, which corresponds to V.21 channels 300 bps. +FTS –...
+FRS – Receive silence Description: This command causes the modem to stop listening to the network and report back to the DTE after the specified period. It is aborted if any character is received from the application. Syntax: AT+FRS=<n> Command example Possible responses Note AT+FRS=?
Fax class 2 commands and indication messages If the feature is supported, the commands +FDT, +FDR, +FET, +FPTS and +FK must be used during communication only. The other commands, +FBOR, +FBUF, +FCQ, +FCR, +FDCC, +FDIS, +FLID and +FPHC- TO, cannot be used during communication. The following messages are used to indicate DCE Responses.
<cause> Normal end of connection. Unspecified transmit phase A error. Unspecified transmit phase B error. Unspecified transmit phase C error. Unspecified transmit phase D error. Unspecified receive phase B error. Unspecified receive phase C error. 100: Unspecified receive phase D error. +FDT –...
+FPTS – Page transfer status parameters Description: This command sets post page transfer response. Syntax: AT+FPTS=<ppr> Defined values: <ppm> Page good Page bad; retrain requested page good; retrain requested Page bad; interrupt requested age good; interrupt requested +FK – Terminate Session Description: This command causes the product to terminate the session.
+FBUF – Buffer size report Description: This command requests the size of the exchange buffer between the modem and the fax application. Only the read command is supported. Syntax: AT+FBUF Command example Possible responses Note AT+FBUF? 1024 Current value +FCQ – Copy quality checking Description: This command controls Copy Quality checking for receiving faxes.
+FDIS – Current sessions parameters Description: This command allows the DTE to parameter the capabilities used for the current ses- sion. Syntax: AT+FDIS=<vr>,<br>,<wd>,<ln>,<df>,<ec>,<bf>,<st> Command example Possible responses Note AT+FDIS=? (0,1),(0-5),(0-2),(0-2), (0-3),(0),(0),(0-7) Fax ECM not supported Fax 14,4 kbps supported Defined values: This command accepts eight numeric parameters (of the T30 standard): <vr>...
Page 113
<df> Data Compression Format, (default) 1-D modified huffman 2-D modified read 2-D uncompressed mode 2-D modified modified read <ec> Error Correction, Disable Fax ECM Enable Fax ECM, 64 bytes/frame Enable Fax ECM, 256 bytes/frame (*) Only when product supports fax Error Correction Mode feature. If this feature is supported default is 2, else default is 0.
+FDCC – DCE capabilities parameters Description: This command allows the DTE to parameter the capabilities used for any session. Syntax: AT+FDCC=<vr>,<br>,<wd>,<ln>,<df>,<ec>,<bf>,<st> Command example Possible responses Note AT+ FDCC=? (0,1),(0-5),(0-2),(0-2),(0-3), Test command, Note: (0),(0),(0-7) Fax ECM not supported. Fax 14,4 kbps supported Defined values: The parameters and default values are the same as for the +FDIS command...
V24-V25 commands +IPR – Fixed DTE rate Description: This commands specifies the data rate at which the DCE will accept commands. Syntax: AT+IPR Command example Possible responses Note AT+IPR? +IPR: 9600 Current rate is 9600 bps AT+IPR=? +IPR: (0,2400,4800, Possible value (*) 9600,19200), (300,600,1200,38400, 57600,115200)
Page 116
+ICF – DTE-DCE character framing Description: This command is used to determine the local serial port start-stop (asynchronous) character framing that the DCE uses. Syntax: AT+ICF= <format>, <parity> Command example Possible responses Note AT+ICF? +ICF: 3,4 Current values AT+ICF=? +ICF: (1-6),(0-4) Possible values AT+IPR=38400 Disable autobauding and...
Page 117
+IFC – DTE-DCE local flow control Description: This command is used to control the operation of local flow control between the DTE and DCE. Syntax: AT+IFC=<DCE_by_DTE>,<DTE_by_DCE> Command example Possible responses Note AT+IFC? +IFC: 2,2 Current values AT+IFC=? +IFC: (0,2),(0,2) Possible values AT+IFC=0,0 New values Defined values:...
Page 118
&C – Set DCD signal Description: This commands controls the Data Carrier Detect (DCD) signal. Syntax: AT&C Command example Possible responses Note AT&C0 DCD always on AT&C1 DCD matches state of the remote modem’s data carrier &D – Set DTR signal Description: This commands controls the Data Terminal Ready (DTR) signal.
Page 119
&S – Set DSR signal Description: This commands controls the Data Set Ready (DSR) signal. Syntax: AT&S Command example Possible responses Note AT&S0 DSR always on AT&S1 DSR off in command mode, DSR on in data mode O – Back to online mode Description: If a connection has been established and the ME is in command mode, this command allows you to return to online data mode.
Page 120
V – DCE response format Description: This command determines the DCE response format, with or without header characters <CR><LF>, and with the use of numeric result codes. Information responses <text><CR><LF> <CR><LF> <text><CR><LF> Result codes <numeric code><CR> <CR><LF> <verbose code><CR><LF> Syntax: Command example Possible responses Note...
Page 121
&W – Save configuration Description: This commands writes the active configuration to a non-volatile memory (EEPROM). Description of the stored parameters is given in the short form AT-command using. Syntax: AT&W Command example Possible responses Note AT&W Writes current configuration to EEPROM &T –...
Page 122
E – Echo Description: This command is used to determine whether or not the modem echoes characters received by an external application (DTE). Syntax: Command example Possible responses Note ATE0 Characters are not echoed ATE1 Characters are echoed &F – Restore factory settings Description: This command is used to restore the factory settings from EEPROM.
Page 123
&V – Display configuration Description: This command is used to display the modem configuration. &V &V0: Display the modem configuration in RAM. &V1: Display the modem configuration in EEPROM. &V2: Display the modem factory configuration. The parameters displayed are the following: Q,V, S0, S2, S3, S4, S5, +CR, +CRC, +CMEE, +CBST, +SPEAKER, +ECHO, &C, &D, %C...
Page 124
I – Request identification information Description: This command causes the product to transmit one or more lines of specific information text. Display GSM engine manufacturer followed by model identification. This command is equivalent to +CGMI and +CGMM. Display revision identification (equivalent to +CGMR). Display modem configuration in RAM (equivalent to &V0).
Page 125
+WMUX – Data / Commands Multiplexing Description: This command allows to manage the data / AT commands multiplexing mode. See in the end of the manual for the Data / Commands multiplexing protocol description. Syntax: AT+WMUX=<mode> Command example Possible responses Note AT+WMUX=? +WMUX: (0-1)
Specific AT commands +CCED – Cell environment description Description: This command can be used by the application to retrieve the parameters of the main cell and of up to six neighbouring cells.There are two possible methods for the external application to ascertain these cell parameters: on request by the application or automati- cally by the product every 5 seconds.
Page 127
+CCED – Automatic RxLev indication Description: The CCED command has been extended to indicate the received signal strength indica- tion (rssi) of the main cell.The command principle has not changed. Syntax: AT+CCED=<mode>[, <requested dump>] Defined values: <mode> One shot requested Automatic shots requested Stop automatic shots <requested dump>...
Page 128
+WIND – General Indications Description: This command is a general mechanism to send unsolicited non-standardized indications to the application.The identified unsolicited non-standardized indications are: • Indication of a physical change on the SIM detect pin from the connector (meaning SIM inserted, SIM removed) •...
Page 129
The supported events are: <event> The SIM presence pin has been detected as “SIM removed” (depending on 0 bit flow) The SIM presence pin has been detected as “SIM inserted” Calling party is alerting Product is ready to process AT commands (except phonebooks, AOC, SMS), at init or after AT+CFUN=1 Product is ready to process all AT commands, end of phonebook init or swap (FDN to ADN)
Page 130
<status> Not Reloaded from SIM (no change since last init or SIM remove) Reloaded from SIM to internal memory (at least one entry has changed) Or for event 11: +WIND: <event>,[“<checksum of SM>”],[“<checksum of FD>”],[“<checksum of ON>”],[“<checksum of SN>”] ,[“<checksum of EN>”],[“<checksum of LD>”] <checksum>...
Page 131
+WLPW – Write Language Preference Description: Write a Language Preference value in EF-LP Syntax: AT+WLPW=<index >,<value> Response syntax: OK or +CME ERROR: <err> Command example Possible responses Note AT+WLPW=1,5 Write Lang Pref equal to 5 in EF-LP with index 1, result: EF-LP correctly updated +WAC –...
Page 132
+WDWL – Downloading Description: This command switches the product to download mode. Downloading is performed using the 1K-XMODEM protocol. Syntax: AT+WDWL Command example Possible responses Note AT+WDWL +WDWL: 0 Switch on downloading mode, start the down- loading ...Downloading in progress AT+CFUN=1 Reset the product at the end...
Page 133
+WHWV – Hardware Version Description: This command gets the hardware version. Syntax: AT+WHWV Command example Possible responses Note AT+WHWV Hardware Version 3.00 Request Hardware Version, result: Hardware version is 3.30 +WDOP – Date of Production Description: This command gets the date of production. Format of the date is Week/Year. Syntax: AT+WDOP Command example...
Page 134
+WSTR – Status Request Description: This command returns some operation status. It can be used for ex. to check the state of the initialisation sequence; the different values returned are Not started, Ongoing, Finished. Syntax: AT+WSTR=<status> Response syntax: +WSTR: <status>,<value> Command example Possible responses Note...
Page 135
+WSCAN – Scan Description: This command displays the received signal strength indication (<rssi>) for a specified fre- quency (in absolute format).This command is not allowed during communication. Syntax: AT+WSCAN=<absolute frequency> Response syntax: +WSCAN: <rssi> Command example Possible responses Note AT+WSCAN=50 +WSCAN: 23 Request <rssi>...
Page 136
+WRIM – Ring Indicator Mode Description: This command sets or returns the state of the Ring Indicator Mode. In pulse RI mode, an electrical pulse is sent on the Ring Indicator signal just before sending any unsolicited AT response in order not to lose AT responses when client tasks are in sleep state. Still in RI mode, when receiving incoming calls, electrical pulses are sent on the RI signal.
Page 137
+W32K – 32kHz Power down Mode Description: This command allows the 32kHz power down mode to be enabled or disabled.When power down mode is entered, the product uses a 32kHz internal clock during inactivity stages.When enabled, power down mode is active after 1 to 15 minutes. For additional information on power down mode, see the end of this manual Syntax: AT+W32K=<mode>...
Page 138
+WCCS – Custom Character Set Description: This command allows to edit and display the custom character set tables. The “CUSTOM” mode of +CSCS and the +WPCS commands use this character set. In this mode, when the user enters a string, this string is converted into GSM alphabet using the Custom To GSM table.
Page 139
Defined values <mode> Display the table Edit the table <table> Custom To GSM conversion table GSM To Custom conversion table <char 1>, <char 2> Character range to display/edit. If only <char 1> is present, only this char is displayed/edited. 0–127: for GSM To Custom conversion table 0–255: for Custom To GSM conversion table...
Page 140
+WLCK – LoCK Description: This command allows the ME to be locked on a specific network operator. NOTE:Test SIM cards (with MCC=001 & MNC=01) doesn’t check these locks. Syntax: AT+WLCK=<fac>,<passwd>,<NetId>[,<GID1>[,GID2]] [,<CnlType>[,<CnlData>]] Response syntax: +WLCK: <status> Command example Possible responses Note AT+WLCK="PN", Activate network lock on 12345678,20810...
Page 141
Command example Possible responses Note AT+WLCK=”PN”, Activate Network lock on 12345678,20801,1, F ORANGE (208, 01), ”02F802FFFFFF02F801FFFFFF” result: network lock activated on F ORANGE with manual co-operative network list including (primary network), SFR and Bouygues Telecom SFR (208, 10) and Bouygues Telecom (208, 20) (co-operative networks) The following <fac>...
Page 142
+CPHS – CPHS command Description: This command is used to activate, deactivate or interrogate a CPHS feature (e.g.Voice Mail Indicator, Mail Box Number...) NOTE: This command may answer +CME ERROR: 3 if the CPHS feature is disabled or if the SIM card does not support this CPHS feature. Syntax AT+CPHS=<Mode>,<FctId>...
Page 143
+WMIR – Customer storage mirror Description: This command allows to make a mirror copy of the current configuration parameters. In case of memory problem for the storage, if a customer mirror already exists, this one will be restored. Otherwise, the default mirrored parameters are restored. Syntax: AT+WMIR Command example...
Page 144
Command example Possible responses Note AT+WMBN=3, +CME ERROR: 21 Set mailbox number for ”0102030405”,129 FAX Line. Invalid index: Fax Line mailbox number can not be updated with this SIM card. AT+CPHS=2,2 +WMBN: 1, Get the current Mail Box "+ 33122334455",145,1 Numbers again +WMBN: 2,”0166778899”, 129,1...
Page 145
+WRST – Reset Description: This command allows to reset the module after the time specified by the second param- eter. Syntax: AT+WRST =<Mode>,<Delay> Response Syntax: +WRST: <Mode>,<Delay>,<RemainTime> Command example Possible responses Note AT+WRST=? AT+WRST=0 Disable timer AT+WRST=1,”001:03” Enable timer and put delay at 1 hour 3 minutes AT+WRST? +WRST: 1,”001:03”,...
Page 146
+WATH – Special Hang-up Description This specific command is used by the application to disconnect the remote user, specify- ing a release cause and the location. In the case of multiple calls, all calls are released (active, on-hold and waiting calls). Syntax AT+WATH=<RelCause>,<location>...
AT commands for GPRS +CGDCONT – Define PDP Context, (GPRS command) Description This command specifies PDP context parameter values for a PDP context identified by the local context identification parameter, <cid>. Eleven PDP contexts can be defined through software. A special form of the set command, +CGDCONT= <cid> causes the values for context number <cid>...
Page 149
<PDP_type>: (Packet Data Protocol type) a string parameter which specifies the type of packet data protocol Internet Protocol PPP: Point to Point Protocol <APN>: (Access Point Name) a string parameter, which is a logical name that is used to select the GGSN or the external packet data network.
Page 150
Command example Possible responses Note AT +CGDCONT=1, Set context 1 "IP", "internet" AT +GCDCONT=2, "IP", Set context 2 "abc.com" AT+CGDCONT=? +CGDCONT=(1-32), Possible values “IP”,,,(0-1),(0-1) +CGDCONT=(1-32), ”PPP”,,,0,0 AT+CGDCONT? +CGDCONT=1, "IP", Request current contexts "internet",,0,0 +CGDCONT=2, "IP", "abc.com",,0,0 +CGQREQ – Quality of Service Profile (Requested), (GPRS command) Description This command allows the TE to specify a Quality of Service Profile that is used when the...
Page 151
Response on “+CGQREQ=?”: +CGQREQ: <PDP_type>, (list of supported <precedence>s), (list of supported <delay>s), (list of supported <reliability>s), (list of supported <peak>s), (list of supported <mean>s) [<CR><LF>+CGQREQ: <PDP_type>, (list of supported <precedence>s), (list of supported <delay>s), (list of supported <reliability>s), (list of supported <peak>s), (list of supported <mean>s) [...]] Defined values: <cid>: A numeric parameter which specifies a particular PDP context definition.
Page 152
<delay>: A numeric parameter which specifies the delay class Delay (maximum values) SDU size: 128 octets SDU size: 1024 octets Delay Class Mean Transfer 95 percentile Mean Transfer 95 percentile Delay (sec) Delay (sec) Delay (sec) Delay (sec) Subscribed Subscribed by the Nwk / default if value is omitted 1.
Page 153
<peak>: A numeric parameter which specifies the peak throughput class Peak Throughput Class Peak Throughput in octets per second Subscribed by the Nwk / default if value is omitted Up to 1 000 (8 kbit/s). Up to 2 000 (16 kbit/s). Up to 4 000 (32 kbit/s).
Page 154
Command example Possible responses Note AT +CGQREQ=1,1,4,5,2,14 AT+CGQREQ=? +CGQREG: “IP”, (1-3), (1-4), (1-5), (1-9), (1-31) +CGQREQ: “PPP”, (1-3), (1-4), (1-5), (1-9), (1-31) AT+CGQREQ? +CGQREQ: 1,1,4,5,2,14 +CGQMIN – Quality of Service Profile (Minimum acceptable), (GPRS command) Description This command allows the TE to specify a minimum acceptable profile which is checked by the MT against the negotiated profile returned in the Activate PDP Context Accept mes- sage.
Page 155
Response on “+CGQMIN=?”: +CGQMIN: <PDP_type>, (list of supported <precedence>s), (list of supported <delay>s), (list of supported <reliability>s), (list of supported <peak>s), (list of supported <mean>s) [<CR><LF>+CGQMIN: <PDP_type>, (list of supported <precedence>s), (list of supported <delay>s), (list of supported <reliability>s) , (list of supported <peak>s), (list of supported <mean>s) [...]] Defined values: <cid>:...
Page 156
+CGATT – GPRS attach or detach, (GPRS command) Description The execution command is used to attach the MT to, or detach the MT from, the GPRS service. After the command has completed, the MT remains in V.25ter command state. If the MT is already in the requested state, the command is ignored and the OK response is returned.
Page 157
+CGACT – PDP context activate or deactivate, (GPRS command) Description The execution command is used to activate or deactivate the specified PDP context (s). After the command has completed, the MT remains in V.25ter command state. If any PDP context is already in the requested state, the state for that context remains unchanged. If the requested state for any specified context cannot be achieved, an ERROR or +CME ERROR response is returned.
Page 158
Defined Values: <state> Indicates the state of PDP context activation deactivated activated Other values are reserved and will result in an ERROR response to the execution com- mand. <cid>: a numeric parameter which specifies a particular PDP context. Command example Possible responses Note AT +CGACT=1,1...
Page 159
Syntax: +CGDATA=[<cid>] +CGDATA=? Response Syntax: CONNECT ERROR Response on “+CGDATA=?” +CGDATA: Defined Values: <cid> a numeric parameter which specifies a particular PDP context definition. Command example Possible responses Note AT+CGDATA=? +CGDATA: – AT +CGDATA=1 CONNECT – +CGCLASS – GPRS mobile station class, (GPRS command) Description The set command is used to set the MT to operate according to the specified GPRS mobile class.
Page 160
class A (highest) class B class C in GPRS only mode class C in circuit switched only mode (lowest) Other values are reserved and will result in an ERROR response to the set command. If the MT is GPRS attached when the set command is issued with a <class> = CC specified, a GPRS detach request is sent to the network.
Page 161
+CGSMS – Select service for MO SMS messages, (GPRS command) Description The set command is used to specify the service or service preference that the MT will use to send MO SMS messages. The read command returns the currently selected service or service preference. The test command is used for requesting information on the currently available services and service preferences.
Page 162
+CGEREP – GPRS event reporting, (GPRS command) Description Set command enables or disables sending of unsolicited result codes, +CGEV: XXX from MT to TE in the case of certain events occurring in the GPRS MT or the network. <mode> controls the processing of unsolicited result codes specified within this com- mand.
Page 163
The network has requested a context reactivation.The <cid> that was used to reactivate the context is provided if known to the MT. +CGEV: NW REACT <PDP_type>, <PDP_addr>, [<cid>] The network has forced a context deactivation.The <cid> that was used to activate the context is provided if known to the MT.
Page 164
+CGREG – GPRS network registration status Description The set command controls the presentation of an unsolicited result code +CGREG: <stat> when <n>=1 and there is a change in the MT's GPRS network registration status, or code +CGREG: <stat>[,<lac>,<ci>] when <n>=2 and there is a change of the net- work cell.
Page 165
'D' – Request GPRS IP service Description This command causes the MT to perform whatever actions are necessary to establish communication between the TE and the external PDN. The V.25ter 'D' (Dial) command causes the MT to enter the V.25ter online data state and, with the TE, to start the specified layer 2 protocol.The MT return CONNECT to con- firm acceptance of the command prior to entering the V.25ter online data state.
Page 166
Network requested PDP context activation in GPRS mode In this mode of operation, the MT behaves like an answering modem and accepts the normal V.25ter commands associated with answering a call. If GPRS-specific configuration commands are required, they may be sent to the MT as part of the modem initialisation commands.
Page 167
+CGAUTO – Automatic response to a network request for PDP context activation, (GPRS command) Description The set command disables or enables an automatic positive response (auto-answer) to the receipt of a Request PDP Context Activation message from the network. It also provides control over the use of the V.25ter basic commands 'S0', 'A and 'H' for handling network requests for PDP context activation.The setting does not affect the issuing of the unsolicited result code RING or +CRING.
Page 168
For <n> = 0 GPRS network requests are manually accepted or rejected by the +CGANS command. For <n> = 1 GPRS network requests are automatically accepted according to the description above. For <n> = 2, automatic acceptance of GPRS network requests is controlled by the 'S0' command.
Page 169
The MT may also have some or all of the following information: • The MT may have a priori knowledge, for example, it may implement only one PDP type. • The command may have provided an <L2P> parameter value. • The TE may provide one or both of PDP type and PDP address to the MT in the PDP startup.
Page 170
Defined values: <response> is a numeric parameter which specifies how the request should be responded to. reject the request accept and request that the PDP context be activated If <response> is omitted it is assumed to be 0. Other values are reserved and will result in the ERROR response. <cid>: a numeric parameter which specifies a particular PDP context definition.
Page 171
assigned during the last PDP context activation that used the context definition referred to by <cid>. <PDP_address> is omitted if none is available. Command example Possible responses AT+CGPADDR=1 +CGPADDR=1,"107.210.5.4" AT+CGPADDR=? +CGAPDDR= (1-32) AT+CGPADDR +CGPADDR: 1, +CGPADDR: 2,"10.3.73.151" +CGPADDR: 3, +CGPADDR: 4, +CGCOUNTERS –...
Page 172
Defined Values: <PDP Context Time> Duration between the activation and deactivation of the PDP context in secondes <Data IN>: data volume received by the MS in Kb <Data OUT>: data volume sent by the MS in Kb +WGPRS – GPRS PARAMETERS CUSTOM, (GPRS command) Description This command modify some GPRS parameters as the ATTACH-STATUS (the ME don’t make automatically a GPRS attachment after init: yes/no), the PDP-INIT-STATUS...
Page 173
Defined Values: <mode> a numeric parameter which specifies a GPRS parameter : ATTACH-STATUS (the ME don’t make automatically a GPRS attachment after init) PDP-INIT-STATUS (activate automatically some define PDP Contexts after init) Set ACTIVABLE automatically after init a define PDP context <parameter>: A numeric parameter that control the <mode>...
Page 174
PDP context-related commands. <login> and <password>: string parameters used to authenticate the user during a PDP activation. NOTE: These parameters are optional and depend of your subscription setup. Command example Possible responses Note AT+WGAUTH=1, – ”westermo”,”kru98” 6196-2220 B A C K...
Page 175
AT+WGIPCPINF – Get IPCP informations, (GPRS command) Description This command get the current IPCP informations to use with a particular cid after a PDP activation. These parameters are not saved in persistent memory and are only available during the life of the PDP context. If the cid is not defined then ERROR is returned.
Data / Commands multiplexing protocol Introduction The multiplexing protocol operates between a DCE (Data Communication Equipment: the product) and a DTE (Data Terminal Equipment). It allows a double session over a serial link interface: one for AT commands and one for DATA communications. AT+WMUX=1 activates the Multiplexing Mode.With this mode, AT commands and DATA are encapsulated into packets.The header of these packets allows to recognize whether it is a DATA packet or an AT command packet.
Page 177
Data packets Like for AT commands, DATA are encapsulated into packets. These packets are composed of a header (3 bytes), the data bytes and the checksum (1 byte): Start pattern 0xDD Bit 0-7 ......................... Data packet length LSB Bit 0-7 ........................
Page 178
Examples AT command and its answer When there is no encapsulation the AT command transmitted on the serial link is like this (in ASCII and hexadecimal): Command/Response Note AT\r\n 0x41 0x54 0x0D 0x0A The command \r\nOK\r\n 0x0D 0x0A 0x4F 0x4B and the answer 0x0D 0x0A With the encapsulation in the serial link, the packet transmitted is...
Error codes from modem ME error result code: +CME ERROR: <error> <error> Meaning Error resulting from the following commands Operation not allowed All GSM 07.07 commands Operation not supported All GSM 07.07 commands PH-SIM PIN required (SIM lock) All GSM 07.07 commands SIM not inserted All GSM 07.07 commands SIM PIN required...
Page 180
Message service failure result code: +CMS ERROR: <er> <er> Meaning Message resulting from the following commands 1 to 127 Error cause values from the GSM recommendation 04.11 Annex E-2 +CMGS, +CMSS SMS service of ME reserved +CSMS Operation not allowed All SMS commands Operation not supported All SMS commands...
Page 181
Specific error result codes +CMS ERROR: <error> or +CME ERROR: <error> <error> Meaning Error resulting from the following commands unknown error. All commands MM establishment failure (for SMS). +CMGS, +CMSS (+CMS ERROR: 512) Lower layer failure (for SMS) +CMGS, +CMSS (+CMS ERROR: 513) CP error (for SMS) +CMGS, +CMSS (+CMS ERROR: 514) Please wait, init or command...
Page 182
Failure Cause from GSM 04.08 recommendation (+CEER) Cause value Diagnostic Unassigned (unallocated) number No route to destination Channel unacceptable Operator determined barring Normal call clearing User busy No user responding User alerting, no answer Call rejected Number changed Non selected user clearing Destination out of order Invalid number format (incomplete number) Facility rejected...
Page 183
Cause value Diagnostic Message type non-existent or not implemented Message type not compatible with protocol state Information element non-existent or not implemented Conditional IE error Message not compatible with protocol state Recovery on timer expiry Protocol error, unspecified Interworking, unspecified NOTE! All other values in the range 0 to 31 shall be treated as cause 31.
Page 184
Specific GPRS Failure Cause for +CEER Cause value Diagnostic MS requested detach NWK requested Detach Unsuccessful attach cause NO SERVICE Unsuccessful attach cause NO ACCESS Unsuccessful attach cause GPRS SERVICE REFUSED PDP deactivation requested by Nwk PDP deactivation cause LLC link activation failed PDP deactivation cause NWK reactivation with same TI PDP deactivation cause GMM abort PDP deactivation cause LLC or SNDCP failure...
GSM 04.11 Annex E-2: Mobile originating SM-transfer These error causes could appear for SMS commands (+CMGS, +CMSS, +CMGD...) CAUSE NO DESCRIPTION "Unassigned (unallocated) number" This cause indicates that the destination requested by the Mobile Station cannot be reached because, although the number is in a valid format, it is not currently assigned (allocated).
Page 186
CAUSE NO DESCRIPTION "Network out of order" This cause indicates that the network is not functioning correctly and that the condition is likely to last a rela- tively long period of time; e.g., immediately reattempting the short message transfer is not likely to be successful.. "Temporary failure"...
Page 187
CAUSE NO DESCRIPTION "Message not compatible with short message protocol state" This cause indicates that the equipment sending this cause has received a message such that the procedures do not indicate that this is a permissible message to receive while in the short message transfer state. "Information element non-existent or not implemented"...
Page 188
Fax Class 2 indication messages The following messages are used to indicate DCE Responses. The messages below are used in communication only. +FCON: This response indicates connection with a fax machine. +FDCS <vr>,<br>,<wd>,<ln>,<df>,<ec>,<bf>,<st>: This response reports current session capabilities.The parameters are the same than those of AT+FDIS command +FDIS <vr>,<br>,<wd>,<ln>,<df>,<ec>,<bf>,<st>: This response reports remote capabilities.The parameters are the same than those of...
Power down mode via RS-232 NOTE! Plese also refer to the AT+W32K command. This appendix aims at describing how the power down mode of the product can be activated and deactivated via the RS-232 serial link. In text below, the term “DTE” refers to the customer device driving the product, which is referred to as the “DCE”.
Page 190
Description of the stages: the DTE sends an AT command the DTE drops DTR to make the DCE enter the power down mode.Warning: this mode will not really enter until CTS is dropped (stage 4).The DTE could also have dropped DTR after receiving the AT response (stage 3). the DCE sends back the AT response (if any) the DCE drops CTS and does enter the power down mode.
GSM sequences list In accordance with GSM 02.30, the product supports the following GSM sequences, which can be used through the ATD and the +CKPD commands. Security **04*OLDPIN*NEWPIN*NEWPIN# Change PIN code **042*OLDPIN2*NEWPIN2*NEWPIN2# Change PIN2 code **05*PUK*NEWPIN*NEWPIN# Unlock PIN code **052*PUK2*NEWPIN2*NEWPIN2# Unlock PIN2 code *#06# Show the IMEI number Call forwarding Activate :...
Page 192
Call barring Activate *SC*Password# or *SC*Password*BS# Check status *#SC# or *#SC**BS# Deactivate #SC*Password# or #SC*Password*BS# Change password for call barring **03*330*OLDPWD*NEWPWD*NEWPWD# **03**OLDPWD*NEWPWD*NEWPWD# *03*330*OLDPWD*NEWPWD*NEWPWD# *03**OLDPWD*NEWPWD*NEWPWD# The Service codes (SC) are the followings: call barring of outgoing call all barring service (only for deactivation) call barring of outgoing international call call barring of outgoing international calls except to HPLMN...
Application example These tests have been made with PC to modem cables, fully wired.The modems/ adapters have been factory default before any commands have been sent. Make sure the SIM card supports data transmission in both directions. The AT-commands can be sent from a terminal or a PC with a terminal program like Microsoft Windows Hyperterminal or something similar program.
Page 194
GD-xx to GD-xx The simplest configuration for data transmission between two GD-xx modems. R+ R- T+ T- T+ T- R+ R- R+ R- T+ T- T+ T- R+ R- CHANNEL 3 CHANNEL 3 DCD2 DCD2 DCD3 DCD3 DCD4 DCD4 CHANNEL 2 POWER CHANNEL 2 POWER...
Page 195
GD-xx to TD-32B (Analogue) Data connection between GD-xx and an analogue modem such as the TD-32B. In this example its necessary to configure the GSM unit with an analogue protocol. An digital protocol like V.110 will not work when establishing a connection to an analogue modem. R+ R- T+ T- T+ T-...
Page 196
GD-xx to ISDN (ID-90) The necessary settings for data transmission between GD-xx and ID-90 (ISDN terminal adapter). GSM in the dialling end AT+CPIN=______ Insert PIN number if required AT&F To set the unit to factory default settings AT+CBST=71,0,1 Bearer type selection. Choose data rate and protocol. (9 600,V.110) ID-90 in the receiving end AT&F...
Page 197
GD-xx sending text message with SMS by activating DTR The following settings can be used to send a preconfigured SMS message when the RS-232 signal DTR is activated. AT+CPIN=______ Insert PIN number if required AT&F To set the unit to factory default settings AT+CMGW="070428000"<CR>...
Page 198
GD-xx manually sending text message with SMS to GD-xx R+ R- T+ T- T+ T- R+ R- CHANNEL 3 DCD2 DCD3 DCD4 CHANNEL 2 POWER R+ R- T+ T- 12-36V DC GD-01 GSM in the sending end AT+CPIN=______ Insert PIN number if required AT&F To set the unit to factory default settings AT+CMGS=”070428020”<CR>...
Page 199
GPRS Commands / application example R+ R- T+ T- T+ T- R+ R- CHANNEL 3 GPRS Internet DCD2 DCD3 DCD4 CHANNEL 2 POWER R+ R- T+ T- 12-36V DC GD-01 Activation of an IP PDP context AT +CGDCONT=1, "IP", "internet" AT +GCDCONT=2, "IP", "abc.com"...
Page 200
Network requested GPRS connection AT+CGAUTO=0 turn off automatic response for GPRS only +CRING: GPRS "IP", "211.45.89.152" Network request AT+CGANS=1 Manual response to network request CONNECT Connection established ..Data transfer transfer data..6196-2220 B A C K...
GSM network operators, subscriptions and services The Westermo GD-series of modems support several services in the GSM network. In order to get the modems to work properly its important that the GSM service used in a specific application also is enabled on the subscription (the SIM card).
Antenna installation information If another antenna than the one supplied with the modem is used its important to use an antenna connection that do not attenuate the signal strength too much. Parameters such as cable impedance, cable length and cable quality must be taken into consideration. The received signal strength can be controlled with the command AT+CSQ.
Trouble shooting/FAQ GD-01 Frequently Asked Questions 1. How do I disable/enable the PIN code? Start with inserting your PIN code with AT+CPIN=xxxx Use the command <AT+CLCK=”SC”,0,xxxx>. xxxx is the PIN code on your SIM card. To enable the PIN code again, replace the 0 with 1. 2.
Related documents This installation manual is in related parts based on the following recommendations: • ETSI GSM 07.05: Digital cellular telecommunications system (Phase 2) Use of DTE-DCE interface for Short Message Service (SMS) and Cell Broadcast Service (CBS) • ETSI GSM 07.07: Digital cellular telecommunications system (Phase 2) AT command set for GSM Mobile Equipment (ME) •...
Page 206
Tél : +33 1 69 10 21 00 • Fax : +33 1 69 10 21 01 Phone: +44(0)1489 580 585 • Fax.:+44(0)1489 580586 E-mail : infos@westermo.fr E-Mail: sales@westermo.co.uk Westermo Teleindustri AB have distributors in several countries, contact us for further information.
Need help?
Do you have a question about the GD-01 US and is the answer not in the manual?
Questions and answers