Fibocom G510 User Manual

Fibocom G510 User Manual

G5/g6-family at commands
Hide thumbs Also See for G510:
Table of Contents

Advertisement

G5/G6-Family AT Commands
User Manual
Version: V1.1.6
Date: 2015-04-26

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the G510 and is the answer not in the manual?

Questions and answers

Summary of Contents for Fibocom G510

  • Page 1 恩 G5/G6-Family AT Commands User Manual Version: V1.1.6 Date: 2015-04-26...
  • Page 2 Unless otherwise specified, the document only serves as the user guide. All the statements, information and suggestions contained in the document do not constitute any explicit or implicit guarantee. Trademark The trademark is registered and owned by Fibocom Wireless Inc. Versions Version Date Remarks V1.0.0...
  • Page 3 V1.0.5 2013-08-01 1, Add AT+MSMPD 2, Add AT+GTWD 3, Add ati0 4, Update Error Code 5,Update the default value of AT&D 6,Add MMGR and MMGL 7,Add +GTSET, +MIPDSETS, +MIPDNS V1.0.6 2013-10-12 Update section 3.5, section 3.8, section 4.1.4, section 4.1.5 and 10.2.1 Add section 4.1.5, section 9.1.6, section 9.1.7, section 9.1.8, section 9.1.9, section 9.1.10 and section 13.1.20.
  • Page 4 Update some command parameters; Add the section 9.1.14 and 9.1.15; Update the file-name; V1.1.6 2015-04-26 Update the description of copyright and attention. Applicability Table Type Note G510 G510S G520 G610-A20-xx G620-A20-xx G5/G6-Family AT Commands User Manual Page 4 of 243...
  • Page 5: Table Of Contents

    Contents 1 Preface..................................11 1.1 Manual Scope.............................. 11 1.2 Target Audience............................11 2 Introduction to AT Commands..........................12 2.1 AT Commands Overview........................... 12 2.2 General System Abbreviations......................... 12 2.3 AT Commands Protocol..........................12 2.4 AT Commands Structure..........................13 2.4.1 General Symbols Used in AT Commands Description............. 13 2.4.2 Command Structure........................
  • Page 6 4.2 Sleep Mode Commands..........................35 4.2.1 S24, Set Number of Seconds Delay Before Module Enters Sleep Mode......35 4.3 Error Handling Commands........................36 4.3.1 +CMEE, Report Mobile Equipment Error..................36 4.3.2 +CEER, Extended Error Report....................37 4.4 +MSTART, Start message notification.....................38 5 Call Control................................
  • Page 7 6.1.5 +CPBW, Write Phone Book Entry....................79 6.2 System Date and Time Access Commands................... 81 6.2.1 +CCLK, Read/Set System Date and Time.................. 81 7 SMS..................................83 7.1 SMS Commands............................83 7.1.1 +CPMS, Preferred Message Storage..................83 7.1.2 +CMGF, Message Format......................84 7.1.3 +CSCA, Service Center Address....................
  • Page 8 9.1.9 +MCI Indication..........................145 9.1.10 +CA Indication..........................145 9.1.11 +MJDC Jamming Detection.......................146 9.1.12 +MJDC Indication........................147 9.1.13 +CGED, Module Cell Description..................... 148 9.1.14 +CBAND, Change Radio Band....................149 9.1.15 +GTPLMNLS, Clear Arfcn list....................151 10 Hardware Information............................153 10.1 Hardware Information Commands.......................153 10.1.1 +MMAD, Query and Monitor ADC Value.................153 10.1.2 +MTSM, Temperature Sensor Measurement.................
  • Page 9 11.2.8 +VTS, Command-Specific Tone Duration................179 11.2.9 +MAPATH, Audio Path........................180 11.2.10 +MAVOL, Volume Setting......................181 11.2.11 + MMICG, Microphone Gain Value..................183 11.2.12 +MATONE,Start or stop the tone play,and the tone plays only once....... 183 12 GPRS................................... 185 12.1 GPRS Functionality..........................185 12.2 GPRS Commands..........................
  • Page 10 13.1.22 +MIPREAD, Receive data from buffer.................. 230 13.2 HEX Mode..............................232 13.2.1 +MIPSEND (Ctrl-Z)........................232 13.2.2 +MIPSEND (Timeout).........................232 13.2.3 +MIPSEND (Data length)......................233 13.2.4 +GTSET, HEX mode configuration..................234 14 Error Code................................236 14.1 CME Error..............................236 14.2 CMS Error..............................239 14.3 TCP/IP Error............................242 G5/G6-Family AT Commands User Manual Page 10 of 243...
  • Page 11: Preface

    1 Preface 1.1 Manual Scope This manual introduces the AT command set, and describes how software developers can use these commands to communicate with the device, and to create software applications that communicate with the module using these commands. Note: The integrator should read the corresponding SW release notes for the module version he is using to get information about differences from this manual.
  • Page 12: Introduction To At Commands

    2 Introduction to AT Commands 2.1 AT Commands Overview AT commands are sets of commands used for communication with the cellular modem. AT commands are comprised of assemblies of ASCII characters which start with the "AT" prefix (except the commands A/ and +++).
  • Page 13: At Commands Structure

    TA (G5xx/G6xx) Command Results code TA (G5xx/G6xx) Figure 2-1 Unsolicited results code 2.4 AT Commands Structure 2.4.1 General Symbols Used in AT Commands Description The following syntax definitions apply in this chapter: Syntax Definition <CR> Carriage returns character, specified by the value of the S3-register. <LF>...
  • Page 14: Results Code Structure

    Example: AT+CSQ<CR> ATS24?<CR> An AT command line may contain one or more commands. Delimiters are used to separate the commands from each other. The delimiter is either a semicolon ";" or none, meaning space (basic commands). Example: ATS0=1V1Q0E0<CR> AT+IFC=0,0;+ICF=3,4;+CNMI =2,1,0,0,0<CR> 2.4.3 Results Code Structure By default, the module responds with verbose response codes.
  • Page 15 Example of compound_value: <value1>,<value2>,…,<valueN>  Numeric Constants Numeric constants are expressed in decimal, hexadecimal, or binary form. In the module, the definition of each command specifies which form is used for values associated with that command.  String Constants String constants consist of a sequence of characters, bounded at the beginning and end by the double-quote character (").
  • Page 16: Modem Id

    AT+FMI? Example: AT+CGMI +CGMI: " Fibocom " 3.2 +CGMM, +GMM, +FMM, Request Model ID These commands request the model identification. The module outputs a string containing information about the specific model, including a list of the supported technology used, and the particular model number.
  • Page 17: Cgmr, +Gmr, +Fmr, Request Revision

    Example: AT+CGMM? +CGMM: "GSM900/1800”,”G510" The following table shows the +CGMM string parameters. String Description "GSM900" EGSM at 900 MHz "GSM1800" DCS at 1800 MHz 3.3 +CGMR, +GMR, +FMR, Request Revision These commands request the revision identification. The module outputs a string containing the revision identification information of the software version contained within the device.
  • Page 18: Cscs, Select Terminal Character Set

    AT+GSN +GSN: <imei> AT+GSN? The following table shows the +CGSN, +GSN parameters. <Parameter> Description <imei> The IMEI (International Mobile Station Equipment Identity) number is comprised of 15 digits, as specified by GSM 03.03 [3]. IMEI numbers are composed of the following elements, all in decimal digits: Type Approval Code (TAC) - 6 digits Serial Number (SNR) - 6 digits Spare digit - 1 digit...
  • Page 19: Cimi, Request Imsi

    “GSM” GSM default alphabet (GSM 03.38 subclause 6.2.1) "UCS2" 2-byte Universal Character Set, Unicode (ISO/IEC 10646 [32]) “HEX” Character strings consist only of hexadecimal numbers from 00 to FF “8859-1” 8-bit Character Set 3.6 +CIMI, Request IMSI This command displays the International Mobile Subscriber Identity number. Command Response/Action AT+CIMI...
  • Page 20: Request Identification Information

    Description Output Reference Reports version build time “20130620Thu1600” ATI0 Reports version build time “20130620Thu1600” ATI1 Reserve ATI2 Reserve ATI3 Reports product “G510 GPRS Module” description ATI4 Reserve ATI5 Reserve ATI6 Reserve ATI7 Reports product "GSM900/1800/850/1900” description ATI8 Reports software version “G510_V0D.00.XX”...
  • Page 21: Clac, List Of All Available At Commands

    Command Response/Action +CNUM +CNUM: +CNUM? [<MSISDN1_string>],<MSISDN1>,<MSISDN1_type><CR><LF (MSISDN supported) > [+CNUM: [<MSISDN2_string>],<MSISDN2>,<MSISDN2_type>]<CR><L F> [...] +CNUM +CNUM: <phone_number> +CNUM? (MSISDN not supported) The following table shows the +CNUM parameters. <Parameter> Description <MSISDN type> Phone number type Use for local call Use “+” for international access code Unknown Example: AT+CNUM?
  • Page 22: Modem Control And Status

    4 Modem Control and Status 4.1 Modem Register Commands The module holds certain data items in selected memory space, named Software Registers (S-registers) and Modem Registers. Some of these registers are used as bitmaps, where one register holds more than one data item.
  • Page 23: Q, Result Code Suppression

    of information responses and result codes. +CME ERROR: <err> The following table shows the V parameters. <Parameter> Description <value> Transmits limited headers and trailers, and numeric text. Transmits full headers and trailers, and verbose response text. The default value is 1. Example: ATV0 ATV1...
  • Page 24: E, Command Echo

    Example: ATQ0 ATQ? Q: 0 ATQ4 ERROR ATQ1 //No response because result codes are suppressed. ATQ4 //No response because result codes are suppressed. 4.1.3 E, Command Echo This command defines whether input characters are echoed to output. If so, these characters are echoed at the same rate, parity and format at which they were received.
  • Page 25: S, Bit Map Registers

    4.1.4 S, Bit Map Registers This command reads/writes values of the S-registers. The module supports this command for various S values, according to official specifications (ITU-I, ETSI, or manufacturer specific). Command Syntax Response/Action Remarks ATSn=<value> The Set command is allowed for read/write S-registers, and not allowed for read-only S-registers.
  • Page 26: S12

    ATS0=3 ATS0? 4.1.5 This command handles the selection of the guard time, which is stored in S-Register 12, and specifies the behavior of escape characters during ODM connection. Note: For a guard time specified by S-Register 12, no character should be entered before or after "+++". The duration between escape codes must be smaller than the guard time.
  • Page 27: F, Set To Factory Defined Configuration

    (profile data) +CME ERROR: <err> Example: AT&V ACTIVE PROFILE &C1, &D1, &K3, E1, Q0, V1, X0, S0:0, S3:13, S4:10, S5:8, +CRC: 0 STORED PROFILE 0: &C1, &D2, &K3, E1, Q0, V1, X0, S0:0, S3:13, S4:10, S5:8, +CRC:0 4.1.7 &F, Set to Factory Defined Configuration This command restores the factory default configuration profile.
  • Page 28: Z, Reset To Default Configuration

    Example: AT&F? &F: 0 4.1.8 Z, Reset to Default Configuration This command drops the current call, and resets the values to default configuration. Command Syntax Response/Action Remarks ATZ<value> OK +CMS ERROR: <err> Read The Read command for Z is not defined, and therefore is not supported by the Module.
  • Page 29: Crsm, Restricted Sim Access

    effect. Command Syntax Response/Action Remarks &W[<n>] Set command stores the current active configuration to user profile 0. +CME ERROR: <err> The following table shows the &W parameters. <Parameter> Description <n> profile number: Store to user’s profile 0 Example: AT&W0 4.1.10+CRSM, Restricted SIM Access This command provides limited access to the Elementary Files on the SIM.
  • Page 30 Test AT+CRSM=? +CRSM: The test command returns the possible ranges of CRSM (list of supported<command>s), Parameters. (possible <file_id>s range value),(possible <P1> range value), (possible <P2> range value),(possible <P3>range value), +CME ERROR: <err> The following table shows the +CRSM parameters. <Parameter> Description <command>...
  • Page 31 READ BINARY <P1> Rec. No. (0...255) <P2> Mode "02" = next record "03" = previous record "04" = absolute mode/current mode, the record number is given in P1 with P1='00' denoting the current record. <P3> Length (0...255) GET RESPONSE <P1> "00" <P2>...
  • Page 32 cases, on successful or failed execution of the command. Responses to commands which are correctly executed: <sw <sw 1> 2> Description Normal ending of the command Normal ending of the command, with extra information from the proactive SIM, containing a command for the ME.
  • Page 33 • Unsuccessful UNBLOCK CHV verification, at least one attempt left. • Authentication failed. In contradiction with CHV status. In contradiction with invalidation status. • Unsuccessful CHV verification, no attempt left. • Unsuccessful UNBLOCK CHV verification, no attempt left. • CHV blocked. •...
  • Page 34: Ccid

    +CRSM: 103,4,"9F0F00003F000100000090000200009000563412" AT+CRSM=192,12258 +CRSM: 144,0,"0000000A2FE2040004FF4401020000" AT+CRSM=? +CRSM: (176,178,192,214,220,242),(12037-28599),(0-255),(0-255),(0-255) 4.1.11 +CCID This command returns the card identification number in SIM (SIM file EFICCID, see GSM 11.11 Chap.10.1.1) as string type. Command Syntax Response/Action AT+CCID +CCID: <ID> +CME ERROR: <err> Read AT+CCID? Same as above Test AT+CCID=?
  • Page 35: Sleep Mode Commands

    4.2 Sleep Mode Commands When the Module is connected using UART connection to external device, a sleep mechanism is available. In order to improve the power consumption, the Module supports a low-power consumption mode, called "Sleep mode". The Module has internal decision conditions for entering and exiting sleep mode.
  • Page 36: Error Handling Commands

    ATS24=5 //The Module enter Sleep Mode at once ATS24? (If there are no radio and UART activities, the Module will enter sleep mode in 5 seconds) 4.3 Error Handling Commands 4.3.1 +CMEE, Report Mobile Equipment Error The Set command disables or enables the use of result code +CME ERROR: <err> as an indication of an error relating to the functionality of the Module.
  • Page 37: Ceer, Extended Error Report

    The following table shows the +CMEE parameters. <Parameter> Description <n> 0 Disable the +CME ERROR: <err> result code and use ERROR. 1 Enable the +CME ERROR: <err> or +CMS ERROR: <err> result codes and use numeric <err> values or +STK ERROR: <err> result codes and use numeric <err> values.
  • Page 38: Mstart, Start Message Notification

    4.4 +MSTART, Start message notification This command can Enable/Disable module output start message when power up. Command Syntax Response/Action +MSTART=<at start>,<sim ready> ERROR Read + MSTART? +MSTART: <at start>,<sim ready> Test +MSTART=? +MSTART: (0-1,0-1) The following table shows the +MSTART parameters. <Parameter>...
  • Page 39: Call Control

    5 Call Control 5.1 Call Control AT Commands 5.1.1 D, Dial Command This command places a VOICE call on the current network.Call type is a voice call. For more information about call failure, should use the AT+CEER command. Note: If there is an active voice call and the terminal sends another ATD voice call command to the Module, the active call is put on hold and the new number is called.
  • Page 40: D>, Direct Dialing From Phone Books

    Example: atd44345678; //VOICE call (with semicolon) atd44345678 //VOICE call (with semicolon) 5.1.2 D>, Direct Dialing from Phone Books This command places a VOICE call on the current network by dialing directly from the Module phone book. Note:  “+CME ERROR: not found" is returned when no match is found in an existing phone book. ...
  • Page 41: Dl, Dial Last Number

    book entry. The used character set should be the one selected with Select Terminal Character Set +CSCS. <alpha> is case-sensitive, and should be placed in quotes ("alpha"). <n> This parameter is also called "speed dial location". It is an integer type memory location.
  • Page 42: H, Hang-Up Call

    The following table shows the DL parameters. Note: When ATDL is issued after a dialed number with comma digit: ATDL; dials the exact number that was last dialed, including the DTMF tones sent. If ATDL is sent before any Dial command was issued (mainly after Power On, when the last number is an empty field), the Module will return NO CARRIER, as mentioned in the ITU V.25-ter standard.
  • Page 43: A, Answer Incoming Call

    Single (or MTPY) Active and Single (or MTPY) Held & Single (or MTPY) Active released Waiting call Example: RING //Incoming call RING //Incoming call //Hang-up incoming call NO CARRIER OK //Incoming call has been terminated - user determined user busy RING //Voice call connected //Hang-up connected call...
  • Page 44: Crc, Cellular Result Codes And Ring, +Cring - Incoming Call Indication

    using the ATA command, which will put the active call on hold and will connect the waiting call, making it the active call. This ATA action is the same action as AT+CHLD=2. Example: Example - Answering a voice call: AT+CRC=1 +CRING: VOICE +CRING: VOICE //VOICE call connected - Module is in Command mode...
  • Page 45 supported <n>s) possible <n> values. RING/+CRING Indication +CRING: <type> or: RING The following table shows the +CRC parameters. <Parameter> Description <n> Extended format disabled Extended format enabled The default value is 0. <type> Type of incoming call: ASYNCCSD asynchronous transparent REL ASYNCCSD asynchronous non-transparent VOICE...
  • Page 46: Clip, Calling Line Identification

    +CRING: VOICE +CRING: VOICE NO CARRIER 5.1.7 +CLIP, Calling Line Identification This command controls the Calling Line Identity (CLI) presentation indication to the terminal when an incoming call is detected by the Module.This command allows the user to query the provisioning status of the CLI by the network and by the Module.
  • Page 47 The default value is 0. <m> Shows the subscriber CLIP service status in the network: 0 CLIP not provisioned 1 CLIP provisioned 2 Unknown (for example, no network and so on) <"number"> Calling line number. The number format is specified by <type>. <type>...
  • Page 48: Ccwa, Call Waiting Command

    Example +CLIP indication: (…incoming call…) RING +CLIP: "13510503472",161,,,"",0 Example +CLIP indication with restricted CLI: AT+CRC=1 (…incoming call…, caller restricted the CLI presentation (used AT+CLIR)…) +CRING: VOICE +CLIP: "",128,,128,"",1 //longzhongyou? 5.1.9 +CCWA, Call Waiting Command This command controls the Call Waiting supplementary service, including the settings and the queries of the Module and the network.
  • Page 49: Ccwa Indication

    indication in the Module (<n>). Test +CCWA=? +CCWA: (list of The Test command returns <n> values supported <n>s) supported by the Module as a compound value. 5.1.10+CCWA Indication When a call-waiting indication is enabled by the Module (<n>=1), the following unsolicited indication is sent to the terminal from the Module: +CCWA: <number>,<type>,<class>[,<alpha>] [,<CLI validity>] The following table shows the +CCWA parameters.
  • Page 50 0 - Not active 1 - Active <"alpha"> Name of the calling party (if provided by the network or if the number is found in the Module phone books). <CLI validity> The Validity of the Calling Line Identity presentation: 0 - CLI valid. 1 - CLI has been withheld by the originator.
  • Page 51: Chld, Call Related Supplementary Services Command

    (… call waiting indication received by the Module …) +CCWA: "+358317654321",145,1,"Bob" AT+CHLD=0 //Release the waiting call NO CARRIER AT+CRC=1 //RING indication is not relevant to CCWA indication (…waiting call…, caller restricted to its CLI presentation (used AT+CLIR)…) +CCWA: "",128,1,"",1 //CLI is restricted, but call type recognized as voice 5.1.11 +CHLD, Call Related Supplementary Services Command This command controls the Call Hold and Multiparty Conversation services.
  • Page 52 NO CARRIER OK (call answered and is now connected) Command Syntax Response/Action Remarks Test +CHLD=? +CHLD: (list of supported The Test command returns <n> values <n>s) supported by the Module to the terminal The following table shows the +CHLD parameters. <Parameter>...
  • Page 53: Ccfc, Call Forwarding Number And Conditions

    OK (...conversation...) AT+CHLD=3 //Add the held call to the conversation (...MTPY conversation...) AT+CHLD=22 //Split: Place the MO active call on hold, MT call remains active AT+CHLD=0 //Release the held call NO CARRIER //Release the active call NO CARRIER atd9311234567; //Originate a voice call +CCWA: "055728386",129,1,"...
  • Page 54 returns <reason> values supported by the Module to the terminal. The following table shows the +CCFC parameters. <Parameter> Description <reason> 0 - Unconditional 1 - Mobile busy 2 - No reply 3 - Not reachable 4 - All call forwarding 5 - All conditional call forwarding <mode>...
  • Page 55 The default value is 20. Note: The parameter must be a multiple of 5, for example, 5, 10, 15 and so on. If not, the module of 5 will be ignored. <status> 0 - Not active 1 - Active Note: A forward-to phone <number> (and the optional fields <type>, <subaddr> and <satype>) are tied to a <reason>...
  • Page 56: Clir, Calling Line Identification Restriction

    5.1.13 +CLIR, Calling Line Identification Restriction This command instructs the Module to query, enable or disable the presentation of the CLI (calling line ID) of a MO call to the called party. The restriction of the CLI (disable presentation) is dependent both on the Module and on the network.
  • Page 57 1 - CLIR invocation 2 - CLIR suppression The default value is 2. <m> Subscriber CLIR service status in the network 0 - CLIR not provisioned 1 - CLIR provisioned in permanent mode 2 - Unknown (for example, no network and so on) 3 - CLIR Temporary mode presentation restricted (can be the default) 4 - CLIR Temporary mode presentation allowed (can be the default) Example:...
  • Page 58: O, Return To Online Data State

    (… calling …) (… a Module that has 054565195 SIM and is CLIP enabled will receive the following on the terminal: RING +CLIP: "054565006",129,,128," ",0 RING +CLIP: "054565006",129,,128," ",0 …) NO CARRIER 5.1.14 O, Return to Online Data State This command returns the Module from the Command mode to the Online Data mode and issues a CONNECT or CONNECT <text>...
  • Page 59: Chup, Hang Up Call

    5.1.15 +CHUP, Hang up Call This command causes the Module to hang up the current GSM call. Command Syntax Response/Action Remarks +CHUP The Set command hangs up the current GSM call. +CME ERROR <err> 5.1.16 +MDC, Selection of Desired Message to Be Displayed Upon Connection of a Voice Call This AT command enables you to select the desired messages to be displayed upon connection of a voice call with a remote party.
  • Page 60: Mhup, Module Hung Up Call

    AT+MDC=? +MDC: (0-1) AT+MDC=1 ATD<number>; CONNECT AT+MDC? +MDC: 1 AT+MDC=0 ATD<number>; AT+MDC? +MDC: 0 5.1.17+MHUP, Module Hung UP call This command hung up a specific call or all calls, and reports a specific disconnect cause to the NW. Command Syntax Response/Action Remarks AT+MHUP=<...
  • Page 61: Call Status Messages

    "Normal call clearing" "User busy" "No user responding" "Destination out of order" "Normal, unspecified" <call_id> Index of the call id (same as <idx> in +CLCC command) All calls (default). Specific call id. Example: AT+MHUP=? +MHUP: (1,16,17,18,27,31),(0-7) AT+MHUP = 16,3 //Hung up call #3, and send cause "Normal call clearing" AT+MHUP = 17 //Hung up all calls, and send cause "User busy"...
  • Page 62: Clcc, List Current Calls

    The following table shows the +CPAS parameters. <Parameter> Description <pas> 0 - Ready - The Module allows commands from the terminal 1 - unavailable(MT does not allow commands from TA/TE) 2 - Unknown - The Module is not guaranteed to respond to instructions 3 - Ringing (MT calls) - The Module is ready for commands from the terminal, but the ringer is active 4 - Call in progress - The Module is ready for commands from the terminal, but a...
  • Page 63 +CME ERROR: <err> Execute AT+CLCC +CLCC: The Execute command enables the <idx>,<dir>,<call receiving of data about current calls. state>, <mode>,<mpty>,< number>,<type>[,< alpha>] [<CR><LF> + CLCC: <idx>,<dir>,<call state>,<mode>,<m pty>,<number>,<ty pe>[,<alpha>] […]] Read AT+CLCC? +CLCC: <state> The Read command returns the call status.
  • Page 64 The default value is 0. <idx> Integer type, call identification number <dir> Mobile originated call (MO) Mobile terminated call (MT) <call state> The state of the call Active Held Dialing (MO call) Alerting (MO call) Incoming (MT call) Waiting (MT call) Released <mode>...
  • Page 65: Supplementary Services

    AT+CLCC +CLCC: 1,0,0,0,0,"01256316830",129, AT+CLCC? +CLCC: 0 AT+CLCC=1 //Example with unsolicited indication ATD055490698; +CLCC: 1,0,2,0,0,"055490698",129, +CLCC: 1,0,3,0,0,"055490698",129, +CLCC: 1,0,0,0,0,"055490698",129, NO CARRIER +CLCC: 1,0,6,0,0,"055490698",129, 5.3 Supplementary Services This set of commands enables control over supplementary service notifications, including Structured and Unstructured Supplementary Service Data (USSD) data. 5.3.1 +CSSN, Supplementary Service Notifications This command handles the enabling and disabling of supplementary service-related, network-initiated, notifications.
  • Page 66 notification is received during a mobile-terminated call setup or during a call, or when a forward check supplementary service notification is received, the unsolicited result code +CSSU: is sent to the TE. In case of a mobile-terminated call setup, a CSSU is sent after every +CLIP result code (“+CLIP, Calling Line Identification”).
  • Page 67 Call is waiting Yes (GSM only) CUG call (<index> is present) Outgoing calls are barred Incoming calls are barred CLIR suppression rejected Call has been deflected Value Description Module Support This is a forwarded call (Mobile-terminated call setup). CUG call (<index> is present;mobile-terminated call setup). Call has been put on hold (during a voice call) Call has been retrieved (during a voice call) Multiparty call has been entered(during a voice call)
  • Page 68: Cusd, Unstructured Supplementary Service Data

    Example: AT+CSSN=? // test command +CSSN: (0-1),(0-1) AT+CSSN=0,0 // disable both options AT+CSSN=1,0 // set n value as enabled, m disabled AT+CSSN? +CSSN: 1,0 // display the current n & m values +CSSI: 1 // displayed after mobile originated call setup of call forward and n enable +CSSU: 2 //displayed when a call has been placed on hold (during the call) using the +CHLD AT command and m enable...
  • Page 69 Test +CUSD=? +CUSD: (list of The Test command displays the supported <n>s) supported values of <n>. The following table shows the +CUSD parameters. <Parameter> Description <n> 0 Disable the result code presentation in the TA. 1 Enable the result code presentation in the TA. 2 Cancel session (not applicable to read command response).
  • Page 70 <m> 0 No further user action required (network initiated US SD-Notify, or no further information needed after mobile Initiated operation). 1 Further user action required (network initiated USSD-Request, or further information needed after mobile initiated operation). 2 USSD terminated by network. the reason for the termination is indicated by the index, as described in CUSD Termination Cause Table Index.
  • Page 71 CALL_REJECTED NUMBER_CHANGED DEST_OUT_OF_ORDER SIGNALING_ERROR NETWORK_ERROR NETWORK_BUSY NOT_SUBSCRIBED SERVICE_UNAVAILABLE SERVICE_NOT_SUPPORTED PREPAY_LIMIT_REACHED INCOMPATIBLE_DEST ACCESS_DENIED FEATURE_NOT_AVAILABLE WRONG_CALL_STATE SIGNALING_TIMEOUT MAX_MPTY_PARTICIPANTS_EXCEEDED SYSTEM_FAILURE DATA_MISSING BASIC_SERVICE_NOT_PROVISIONED ILLEGAL_SS_OPERATION SS_INCOMPATIBILITY SS_NOT_AVAILABLE SS_SUBSCRIPTION_VIOLATION INCORRECT_PASSWORD TOO_MANY_PASSWORD_ATTEMPTS PASSWORD_REGISTRATION_FAILURE ILLEGAL_EQUIPMENT UNKNOWN_SUBSCRIBER G5/G6-Family AT Commands User Manual Page 71 of 243...
  • Page 72 ILLEGAL_SUBSCRIBER ABSENT_SUBSCRIBER USSD_BUSY CANNOT_TRANSFER_MPTY_CALL BUSY_WITH_UNANSWERED_CALL UNANSWERED_CALL_PENDING USSD_CANCELED PRE_EMPTION OPERATION_NOT_ALLOWED NO_FREE_BEARER_AVAILABLE NBR_SN_EXCEEDED NBR_USER_EXCEEDED Call Control by SIM Causes NOT_ALLOWED_BY_CC MODIFIED_TO_SS_BY_CC MODIFIED_TO_CALL_BY_CC CALL_MODIFIED_BY_CC App. Cause FDN_FAILURE Example: AT+CUSD=1,"*00*0549598743#" +CUSD: 0,"Connecting...",15 +CUSD: 0,"Connected",15 +CLCC: 1,1,4,0,0,"0545550099",129,"" >Call from USSD server RING ATA > answer to the server (when answered, the server call to 0549598743) +CLCC: 1,1,0,0,0,"0545550099",129,""...
  • Page 73: Colp, Connected Line Identification Presentation

    5.3.3 +COLP, Connected Line Identification Presentation This command relates to the GSM supplementary service called COLP (Connected Line Identification Presentation), which enables a calling subscriber to obtain the connected line identity (COL) of the called party after setting up a mobile-originated call with the Module. For example, after setting up a mobile-originated call to one number that is forwarded to another number, the calling party will see the number of that third party.
  • Page 74 subclause10.5.4.7). Unknown International (used when dialing string includes "+" international access code character) <subaddr> Sets the subaddress, using the format specified by <satype>. <satype> Sets the address octet type in integer format (refer to GSM 04.08 [8] subclause 10.5.4.8). <alpha> An optional, string-type, alphanumeric representation of <number>...
  • Page 75: Phone And Date Books And Clock

    6 Phone and Date Books and Clock 6.1 Directory Access Commands - Phone Book This set of commands enables read/write access to the phone book contained within the Module, including both the numeric and the alpha information contained in the location. The presentation is according to GSM 07.07.
  • Page 76: Cpbr, Read Phone Book Entries

    FD: SIM Fixed dialing phone book. ON: Own numbers (MSISDNs) list (reading this storage is also available through +CNUM). SM: SIM phone book. LD: SIM last-dialing phone book The default phone book is SM. <used> Integer type value indicating the number of used locations in the selected memory.
  • Page 77 returned. This command can also be used to obtain information about the number of entries and the maximum size of a phone number and alpha tag fields in the phone book. This command acts on the currently active phone book, as selected with the +CPBS command. Command Syntax Response/Action...
  • Page 78: Cpbf, Find Phone Book Entries

    Note: The MC and RC have the same memory storage area; therefore there are only 10 entries in total. Some of the entries are listed if the MC phone book is selected, and others are listed if the RC phone book is selected.
  • Page 79: Cpbw, Write Phone Book Entry

    The following table shows the +CPBF parameters. <Parameter> Description <findtext> Case-sensitive text substring to search for, according to the character set specified by the +CSCS command. <index1> Index for a given phone book entry <index2> <number> Phone number of a given entry <type>...
  • Page 80 used. This command writes the entry in the currently active phone book, selected with the +CPBS command (Refer to “+CPBS, Select Phone Book Memory”). The entry is selected by <index>, the phone number is entered into the <number> field and text associated with the number is entered into the <text> field. If these fields are omitted, the phone book entry is deleted.
  • Page 81: System Date And Time Access Commands

    <text> Text identifier for a phone book entry, according to the character set as specified by command +CSCS. <nlength> The maximum size of a phone number, in digits. There is a limited number of PB records that can be stored with this length. The number of "long" PB records depends on the size of the SIM card EXT1 extension file.
  • Page 82 Test +CCLK=? +CCLK (list of The Test command returns valid parameters for the supported +CCLK Set command. <time>s) The following table shows the +CCLK parameters. <Parameter> Description <time> ASCII string of format: yy/MM/dd,hh: mm: ss±zz yy/MM/dd,hh: mm: ss yy/MM/dd,hh: mm yy - 2-digit year [2000-2069] MM - 2-digit month [01-12] dd - 2-digit day of month [00-31]...
  • Page 83: Sms

    7 SMS 7.1 SMS Commands Module supports SMS PDU and SMS TEXT mode according to ETSI specifications 07.05 & 3.40. 7.1.1 +CPMS, Preferred Message Storage This command handles the selection of the preferred message storage area. The message storage area is divided into three parts, mem1, mem2 and mem3.
  • Page 84: Cmgf, Message Format

    The following table shows the +CPMS parameters. <Parameter> Description <mem1> Memory from which messages are read and deleted. Supported values are: "SM". The default value at power-up is "SM". <mem2> Memory to which writing operation is made. Supported value is: "SM" The default value at power-up is "SM".
  • Page 85: Csca, Service Center Address

    Test +CMGF=? +CMGF: (list of The Test command lists all the supported mode>s) supported message formats. The following table shows the +CMGF parameters. <Parameter> Description <mode> Message format: PDU mode (default) Text mode Example: AT+CMGF=1 AT+CMGF? +CMGF: 1 AT+CMGF=? +CMGF: (0,1) 7.1.3 +CSCA, Service Center Address This command enables to write/read SCA to/from SIM.
  • Page 86 <tosca> is set to 145(International number). Read +CSCA? +CSCA: Read command displays <sca> and <tosca> <sca>,<tosca> stored in SIM*EF-SMSp). Test The Test command for +CSCA is not defined by ETSI. The following table shows the +CSCA parameters. <Parameter> Description <sca> Service Center Address“...
  • Page 87 Numbering-plan-identification (applies for Type-of-number = 000,001,010) Bits 3 2 1 0 0 0 0 0 Unknown 0 0 0 1 ISDN/telephone numbering plan (E.164/E.163) 0 0 1 1 Data numbering plan (X.121) 0 1 0 0 Telex numbering plan 1 0 0 0 National numbering plan 1 0 0 1 Private numbering plan 1 0 1 0 ERMES numbering plan (ETSI DE/PS 3 01-3) 1 1 1 1 Reserved for extension.
  • Page 88 AT+CSCA? +CSCA: "*A”C#",129 AT+CMGW=13 > 0481ABCD1211640A8150224902450000A700 // ‘*’->’A’, ‘A’->B’, ‘B’->C’, ‘#’->’D’ +CMGW: 15 AT+CMGR=15 +CMGR: 2,,13 0481ABCD1211640A8150224902450000A700 // SCA read as stored for current SMS AT+CSCA? +CSCA: "*A”C#",129 // Read command remained // SCA settings didn’t change AT+CSCA? +CSCA: "*A”C#",129 AT+CMGW= >...
  • Page 89: Csmp, Set Text Mode Parameters

    +CSCA: "*A”C#",129 /SCA didn’t change in storage 7.1.5 +CSMP, Set Text Mode Parameters This command is a basic command and is used to select values for additional parameters needed when SM is sent to the network or placed in storage when TEXT mode is selected. Command Syntax Response/Action...
  • Page 90 The SC may reject messages with a TP-Protocol-Identifier containing a reserved value or one, which is not supported. <dcs> One octet of Data Coding Scheme, indicates the data coding scheme of the DATA, and may indicate a message class. Note: For DCS expanded information, see section “DCS handling”.
  • Page 91: Csdh, Show Text Mode Parameters

    AT+CMGR=6 +CMGR: "STO UNSENT","15820447141","",129,17,0,0,167,"+8613800755500",145,3 7.1.6 +CSDH, Show Text Mode Parameters This command controls whether detailed header information is shown in text mode result codes. Command Syntax Response/Action Remarks +CSDH=[<show> The set command controls whether detailed header information is shown in text mode result codes. +CMS ERROR: <err>...
  • Page 92: Cnmi, New Message Indications To Terminal

    AT+CMGR=160// SMS-SUBMIT +CMGR: "STO UNSENT","0544565034", AT+CSDH=1 AT+CMGR=160 +CMGR: "STO UNSENT","0544565034",,81,29,0,0,"04/11/04,09: 48: 36+08","+97254120032",145,3 7.1.7 +CNMI, New Message Indications to Terminal This command handles enabling of unsolicited notifications to the terminal when an SM is received by the Module. After sending an unsolicited response to the TE, the Module will expect a +CNMA (new message acknowledge) from the TE within a predefined timeout of 60 seconds.
  • Page 93 The following table shows the +CNMI parameters. <Parameter> Description Buffer unsolicited result codes in the TA; if the TA buffer is full, the oldest indication may be discarded and replaced with the new received indications (ring buffer). Discard indication and reject new received message unsolicited result <mode>...
  • Page 94 Example: AT+CNMI=? +CNMI: (0-2),(0-2),(0),(0-1),(0) AT+CNMI? +CNMI: 0,0,0,0 AT+CNMI=1,1 AT+CMSS=142,"0544565034" // send to myself +CMSS: 72 +CMTI: "SM",15 AT+CNMI=1,2 AT+CSDH=1 AT+CMSS=142,"054565034" // send to myself +CMSS: 73 +CMT: "+972544565034",,"04/11/04,09: 48: 36+08",145,4,0,0,"+97254120032",145,3 AT+CSMP=49,167 /*Set first octet to status report - see status report parameters in CMGW*/ AT+CSMP? +CSMP: 49,167,0,0 AT+CNMI=1,,,1...
  • Page 95: Cmti, Unsolicited Response (New Sms-Deliver Receipt Indication)

    +CDS: 6,168,"+972524680592",145,"05/08/02,15: 20: 12+08","05/08/02,15: 20: 14+08",0 AT+CNMI=1,0,0,2 AT+CMSS=296 +CMSS: 185 7.1.8 +CMTI, Unsolicited Response (New SMS-DELIVER Receipt Indication) The +CMTI unsolicited response is sent to the TE upon receipt of a new SMS-DELIVER SM, if the +CNMI parameter <mt> is set to 1. Refer to “+CNMI, New Message Indications to Terminal”. This unsolicited message indicates that a new SMS-DELIVER message was received, and is stored in location <index>: +CMTI: <mem>,<index>...
  • Page 96 +CMT: <oa>,[<alpha>],<scts>[,<tooa>,<fo>,<pid>,<dcs>,<sca>,<tosca>,<length>] <CR><LF><data> (about parameters in italics, refer command Show Text Mode Parameters +CSDH). In PDU mode: (+CMGF=0): +CMT: [<alpha>],<length><CR><LF><pdu> The following table shows the +CMT parameters. <Parameter> Description <oa> Message origination address. <scts> Service center time stamp. <toda> Type of origination address <fo>...
  • Page 97: Cds, Unsolicited Response (New Sms-Status-Report Receipt)

    AT+CMSS=142,"054565034" // send to myself +CMSS: 74 +CMT: "+972544565034",,"04/11/04,09: 48: 36+08",145,4,0,0,"+97254120032",145,3 AT+CNMA AT+CMGF=0 AT+CMGS=18 // send to myself > 079179521201009511000c917952446505430004AA0441424344 +CMGS: 70 +CMT: ,23 0791795212010095040C917952446505430004502032115430800441424344 7.1.10+CDS, Unsolicited Response (New SMS-STATUS-REPORT Receipt) The +CDS unsolicited response is sent to the TE upon receipt of a new mobile-terminated SM if the +CNMI parameter <ds>...
  • Page 98: Cmgl, +Mmgl,List Messages

    After sending a +CDS unsolicited response to the TE, the Module will expect a +CNMA (new message acknowledgment) from the TE within a predefined timeout of 60 seconds. The Module will not send another +CDS unsolicited response to the TE before the previous one is acknowledged. If the +CDS is acknowledge d within the timeout, the new SM is not saved in the message storage.
  • Page 99 stat>] successful SMS-SUBMITs and/or SMS-DELIVERs: +CMGL: +MMGL[=< stat>] <index>,<stat>,<oa/da>[,<scts>][,<tooa/toda>, <length>]<CR><LF><data>[<CR><LF> +CMGL: <index>,<stat>,<da/oa>[,,<scts>][,<tooa/toda>, <length>]<CR><LF><data>[...]] The parameters <tooa/toda>,<length> refer command shows the Text Mode Parameters +CSDH and will be shown according to +CSDH settings. If text mode (+CMGF=1) command execution is successful and SMS-COMMANDs: +CMGL: <index>,<stat>,<fo>,<ct>[<CR><LF>...
  • Page 100 +CMGL: <index>,<stat>[,<alpha>],<length><CR><LF>< pdu>[<CR><LF> +CMGL: <index>,<stat>[,<alpha>],<length><CR><LF>< pdu>[…]] +CMS ERROR: <err> Test +CMGL=? +CMGL: (list of supported <stat>s) The Test command lists +MMGL=? all the supported <stats> The following table shows the +CGML/+MMGL parameters. <Parameter> Description <index> 1-352 Index of message in storage. <stat>...
  • Page 101 <fo> First octet of the SM <mr> Message Reference <ra> Recipient-Address <tora> Type of Recipient address <scts> Service center time stamp <ct> Command type <sn> Message serial number <mid> Message ID <page> Current page number <pages> Total number of pages <dt>...
  • Page 102: Cmgr, +Mmgr, Read Message

    AT+CMGL="STO SENT" +CMGL: 142,"STO SENT","054565034",,,81,<message length> message text AT+CMGS=18 //send to myself > 079179521201009511000c917952446505430004AA0441424344 +CMGS: 68 AT+CPMS="sm" // change to SIM to read the incoming messages +CPMS: 2,20,11,61,2,20 7.1.12+CMGR, +MMGR, Read Message These commands handle the reading of SMS. The command displays the message in location <index> of the preferred message storage <mem1>...
  • Page 103 +CMGR: <stat>,<fo>,<ct>[,<pid>[,<mn>][,<da>][,<to da>],<length><CR><LF><cdata>] If text mode (+CMGF=1) command execution is successful and CBM storage: +CMGR: <stat>,<sn>,<mid>,<dcs>,<page>,<pages ><CR><LF><data> If text mode (+CMGF=1) command execution is successful and SMS-STATUS-REPORT: +CMGR: <stat>,<fo>,<mr>[,<ra>][,<tora>],<scts>,< dt>,<st> If PDU mode (+CMGF=0) and command execution is successful: +CMGR: <stat>[,<alpha>],<length><CR><LF><pdu >...
  • Page 104 In PDU mode: Size of message, in octets, excluding SMSC data. <length> In TEXT mode: Number of characters included in <data>. Message header and contents in PDU mode format. See description in the table <pdu> below. <oa/da> Original/destination address. <data> Message contents in text mode <toda/toda>...
  • Page 105 Reference Description Length <sca> Service Center address: 1, 3-12 BYTES 1 BYTE: length (number of followed octets). (When length is 1, length BYTE = 0 ) Mandatory 1 BYTE: <tosca> - value between 128-255 <fo> First Octet. 1 BYTE <TP-OA> Originating address formatted according to the formatting rules 2-12 BYTES of address fields.
  • Page 106 0 A status report will not be returned to the SME 1 A status report will be returned to the SME TP-Reply-Path Parameter indicating that Reply Path is set or not. 0 TP-Reply-Path parameter is not set 1 TP-Reply-Path parameter is set Reference Description Length...
  • Page 107 Parameter indicating the presence of any of the optional parameters which follow. <TP-PID> Optional: 1 BYTE Protocol-Identifier. Values between 0-255. <TP-DCS> Optional: 1 BYTE Data Coding Scheme. Values between 0-255. <TP-UDL> Optional: User data length 1 BYTE <TP-UD> Optional: User data 131 BYTES Note: ...
  • Page 108 Bit/s Description 0 TP-PID not presence 1 TP-PID not presence 0 TP-DCS not presence 1 TP-DCS presence 0 TP-UDL not presence 1 TP-UDL presence Reserved Note: Reserved bits are ignored. Example: AT+CPMS? +CPMS: "SM",13,50,"SM",13,50,"SM",13,50 AT+CMGR=1 +CMS ERROR: invalid index AT+CMGR=142 +CMGR: "STO SENT","054565034", message text AT+CSDH=1...
  • Page 109: Cmss, Send Message From Storage

    AT+CPMS="SM" // change to SM to read SMS-DELIVER messages. +CPMS: 2,20,11,61,2,20 AT+CMGR=1 +CMGR: "REC READ","+972544565034",,"05/02/23,11 : 20: 10+08",145,4,0,4,"+97254120032",145,4 41424344 AT+CMGF=0 AT+CMGR=1 +CMGR: 0,,23 0791 07917952140230F2040C917952446505430004502032110201800441424344 AT+CMGR=14 +CMGR: 0,,25 079179521201009506BC0B917952428600F0508030807512805080308075128046 // SMS-STATUS-REPORT message in PDU mode AT+CMGF=1 AT+CMGR=14 // SMS-STATUS-REPORT message in Text mode +CMGR: "REC READ",6,188,"+97252468000",145,"05/08/03,08: 57: 21+08","05/08/03,08: 57: 21+08",70 7.1.13 +CMSS, Send Message from Storage...
  • Page 110: Cmgw, Write Message To Memory

    ndex>[,<da from storage to the network. >[,<toda>]] +CMS ERROR: <err> The following table shows the +CMSS parameters. <Parameter> Description <index> 1-352 Index in storage of the message to be sent. Destination address in quoted string. This field contains a single phone <da>...
  • Page 111 Command Syntax Response/Action Remarks If text mode (+CMGF=1): +CMGW: <index> The Set command writes a message and +CMGW[=<da>[,<toda>[,<stat>]]]<CR>te stores it. xt is entered<ctrl-Z/ESC> +CMS ERROR: <err> if PDU mode (+CMGF=0): +CMGW=<length>[,<stat>]<CR> PDU is given<ctrl-Z/ESC> The following table shows the +CMGW parameters. Layout of SMS-SUBMIT in PDU Mode: (according to GSM03.40) <Parameter>...
  • Page 112 rules of address fields. <TP-PID> Protocol-Identifier. Values between 0-255. 1 BYTE <TP-DCS> Data Coding Scheme. Values between 0-255. 1 BYTE <TP-VP> Validity Period. Depending on <fo>, 0, 1, 7 BYTE TP-Validity-Period-Format bits setting. <TP-UDL> User data length 1 BYTE <TP-UD> User data 0-140 BYTES <sca>...
  • Page 113 this case an appropriate TP-FCS value will be returned in the MS-SUBMIT-REPORT. TP-Validity-Period-Fo Parameter indicating whether the TP-VP field is present and in which rmat format. 0 0 TP-VP field not present 1 0 TP-VP field present - relative format 0 1 TP-VP field present –...
  • Page 114 The TP-UD field contains only the short message The beginning of the TP-UD field contains a Header in addition to the short message Note: Any unused bits will be set to 0. If AT+CSCS=”HEX” , the DATA saved by CMGW is not that was entered.
  • Page 115 AT+CSMP=25,"05/03/15,21 : 22: 23+08",0,0 AT+CMGW="0544565034" A<CTRL+Z> +CMGW: 129 AT+CMGR=129 +CMGR: "STO UNSENT", "0544565034",,129,25,0,0,"05/03/15,21 : 22: 23+08","+972521100059",145,1 AT+CMGF=0 AT+CMGR=129 +CMGR: 2,,20 079179521201009519FF0A8150446505430000503051122232800141 AT+CMGW=18 > 0011000c917952428650290004AA0441424344 // SCA is not given +CMGW: 130 AT+CMGR=130 +CMGR: 2,,18 079179521201009511000C917952428650290004AA0441424344 AT+CMGW=19 > 079179521201009511000c917952428650290004AA0441424344 //Invalid length (19) +CMS ERROR: invalid PDU mode parameter AT+CMGW=19 >...
  • Page 116: Cmgd, Delete Message

    > 07917952140230F212000000000c9179524286502900 //SMS Command +CMGW: 132 AT+CMGR=132 +CMGR: 2,,14 07917952140230F212000000000C9179524286502900 AT+CMGF=1 AT+CMGR=132 +CMGR: "STO UNSENT",18,0,0,0,"+972524680592",145,0 7.1.15+CMGD, Delete Message This command handles deletion of a single message from memory location <index>, or multiple messages according to <delflag>. If the optional parameter <delflag> is entered, and is greater than 0, the <index>...
  • Page 117: Cmgs, Send Sm To Network

    <delflag> Deletes the message specified in <index> Deletes all read messages Deletes all read messages and sent MO messages Deletes all read messages, sent and unsent MO messages Deletes all messages Example: AT+CMGD=4 AT+CMGD=1,3 7.1.16+CMGS, Send SM to Network This command sends an SM from the Module to the network. The message reference value <mr> is returned to the Module upon successful delivery of the message.
  • Page 118 <mr> Sent message reference number. Message header and contents in PDU mode format. See description in “+CMGW, Write Message to Memory”. Example: AT+CMGS="064593042",129 >This is the message body <CTRL+Z> //<CTRL+Z> ends the prompt text mode and returns to regular AT command mode AT+CMGF=0 AT+CMGS=24 >079179521201009511FF0B917962543940F20008001400410042004300440045 <CTRL+Z>...
  • Page 119: Access And Security

    8 Access and Security 8.1 Access Control Commands When the phone or SIM card is locked or blocked, the only accessory operations allowed are those found in the list of Core AT commands (allowed while phone/SIM card is locked), shown in “Core AT Commands”. All other AT commands are not executed, for example, accessing phone book entries.
  • Page 120: Cpin, Enter Pin For Unlocking Sim Card Or Enter Puk For Unblocking Sim Card

    8.1.3 +CPIN, Enter PIN for Unlocking SIM Card or Enter PUK for Unblocking SIM Card This command locks the SIM card, and therefore is only relevant for phones that use SIM cards. It unlocks the SIM card when the proper SIM PIN is provided and unblocks the SIM card when the proper SIM PUK is provided.
  • Page 121 SIM card lock status check only, and does not check +CME ERROR: the phone lock status. <err> Test AT+CPIN The following table shows the +CPIN parameters. <Parameter> Description <puk> PUK code for unblocking a blocked phone <pin> Current PIN for unlocking a locked phone <newpin>...
  • Page 122 AT+CPIN? +CPIN: READY The status of the SIM is still enabled, but the PIN is READY for this session. The SIM is enabled per session. After power-up SIM must be unlocked again by using the +CLCK command. The following case shows an example of three unsuccessful attempts at entering the PIN: AT+CPIN? +CPIN: SIM PIN AT+CPIN="<wrong pin>"...
  • Page 123: Tpin, Query Number Of Remaining Sim Pin/Puk Entering Attempts

    8.1.4 +TPIN, Query Number of Remaining SIM PIN/PUK Entering Attempts This command returns the number of remaining attempts of entering the PIN and PUK for the SIM card in use. The command returns the number of remaining attempts for PIN1 (CHV1), PIN2 (CHV2), PUK1 (unblock CHV1) and PUK2 (unblock CHV2).
  • Page 124: Cpwd, Change Password

    8.1.5 +CPWD, Change Password This command sets a new password for the facility lock. The password can only be changed once the required facility is enabled by the +CLCK command. A password can be changed only if the provided password <oldpwd> has been verified. The entered password <newpwd>...
  • Page 125 country) All Barring services (applicable only for <mode>=0) All out Going barring services (applicable only for <mode>=0) All in Coming barring services (applicable only for <mode>=0) SIM PIN2 <oldpwd> String type, 4-8 character password specified for the facility from the Module user interface.
  • Page 126: Clck, Facility Lock

    AT+CLCK="ai",2 +CLCK: 1,1 +CLCK: 1,2 +CLCK: 1,4 AT+CPWD="ai","old password","new password" 8.1.6 +CLCK, Facility Lock This command locks, unlocks or interrogates a Module or a network facility <fac> (any kind of call barring program). A password is mandatory for performing locking and unlocking actions, but not for querying. The features of the Module that are affected by this are the keypad power-up operation and fixed dialing list.
  • Page 127 The following table shows the +CLCK parameters. <Parameter> Description <fac> SIM Card PIN setting <mode> 0 Disable PIN Enable PIN SIM Fixed Dialing memory setting <mode> 0 Disable fixed dialing feature Enable fixed dialing feature <passwd> String type, 4-8 character password <mode>...
  • Page 128 AT+CLCK="SC",1,"correct password" (From now SIM Card is locked and PIN is requested on power up) G5/G6-Family AT Commands User Manual Page 128 of 243...
  • Page 129: Network

    9 Network 9.1 Network Commands 9.1.1 +CSQ, Signal Strength This command displays the received signal strength indication <rssi> and channel bit error rate <ber> from the Module. Command Syntax Response/Action Execute/Read AT+CSQ +CSQ: <rssi>,<ber> AT+CSQ? Test AT+CSQ=? +CSQ: (list of supported <rssi>s),(list of supported <ber>s) The following table shows the +CSQ parameters.
  • Page 130: Creg, Network Registration Status

    9.1.2 +CREG, Network Registration Status Command Syntax Response/Action Remarks AT+CREG The Set command controls the =[<n>] presentation of an unsolicited result code +CME ERROR: and the result of the Read operation. <err Read AT+CREG +CREG: The Read command returns the status of <n>,<stat>[,<lac>, the result code presentation and shows <ci>]...
  • Page 131: Cgreg, Gprs Network Registration

    Registered, roaming. <lac> Two-byte location area code in hexadecimal format. <ci> Two-byte cell ID in hexadecimal format. Example: AT+CREG=? +CREG: (0-2) AT+CREG? +CREG: 0,1 AT+CREG=2 AT+CREG? +CREG: 2,1,"27A0","0DE1" AT+CREG=1 AT+CREG? +CREG: 1,1 AT+CREG=0 9.1.3 +CGREG, GPRS Network Registration Command Syntax Response/Action Remarks AT+CGRE...
  • Page 132 <lac> and <ci> are returned only when <n>=2 and the Module is registered in the network. Test AT+CGRE +CGREG: (list of The Test command displays the supported supported <n>s) values of <n>. The following table shows the +CGREG parameters. <Parameter> Description <n>...
  • Page 133: Cops, Operator Selection

    +CGREG: 002,001,2648,988b AT+CGREG=1 AT+CGREG? +CGREG: 001,001 AT+CGREG=0 9.1.4 +COPS, Operator Selection This command enables accessories to access the network registration information, and the selection and registration of the GSM network operator. The Module is registered in the Home network. The Enhanced Operator Name String (EONS) feature enables the Module to return the operator name displayed on the handset.
  • Page 134 Read AT+COPS? +COPS: The Read command returns the current mode and the currently selected operator. <mode>[,<format >,<oper>] +CME ERROR: <err> Test AT+COPS=? +COPS: [list of The Test command returns a list of quadruplets, supported each representing an operator present in the (<stat>, long network.
  • Page 135 automatically by the Module. Automatic (<oper> field is ignored) Manual (<oper> field is present) De-register from network Set only <format> (<oper> field is ignored); used for Read command only, do not attempt registration/de-registration Manual/automatic (<oper> field is present; if manual selection fails, use automatic mode) The default value is 0.
  • Page 136: Cpol, Preferred Operators

    AT+COPS? +COPS: 0,2,"46000" //Specific provider number AT+COPS=2 AT+CREG=2 AT+COPS=1,2,"46001" ERROR +CREG: 3 AT+COPS=4,2,"46001" +CREG: 3 +CREG: 2 +CREG: 1,"27A0","0DEB" AT+COPS? +COPS: 0,2,"46000" 9.1.5 +CPOL, Preferred Operators This command is used to edit the PLMN selector lists in the SIM card or active application in the UICC (GSM or USIM).
  • Page 137 <index2>,<format>,<oper 2>[...]] +CME ERROR: <err> Test AT+CPOL=? +CPOL: (list of The Test command displays the entire supported<index>s),(list index range supported by the SIM. of supported<format>s) +CME ERROR: <err> * Index range is SIM dependent The following table shows the +CPOL parameters. <Parameter>...
  • Page 138 Note3: MT may also update the User controlled PLMN selector with Access Technology list - EFPLMNwAcT, automatically when new networks are selected. Note4: The Operator controlled PLMN selector with Access Technology EFOPLMNwAcT and HPLMN selector with Access Technology - EFHPLMNwAcT cannot be written since the access conditions is Administrative.
  • Page 139: Mcell, Module Cell Description

    9.1.6 +MCELL, Module Cell Description This command displays information about the Cellular Network. The information is divided throughout 21 screens, each of them with different parameters data. Command Syntax Response/Action Remarks +MCELL=<mo The Set command will return “OK” de>, only. The relevant <screen_info> <screen_num>...
  • Page 140: Mcell Indication

    Neighbor 4 Cell Information screen Neighbor 5 Cell Information screen Neighbor 6 Cell Information screen Neighbor Cells Summary screen Re-selection screen Hopping Information screen PDP1 Context Information screen PDP2 Context Information screen PDP3 Context Information screen PDP4 Context Information screen Serving Cell paging parameters Optional SYSINFOs Serving and Neighbor Cells Information screen...
  • Page 141 Circuit Switched mode; Serving Cell Information Serving CS/TBF screen. Serving Misc Idle/Packet Idle mode; Miscellaneous Information screen. Uplink Transfer Dedicated/TBF modes; Uplink Data Transfer screen. Dedicated/TBF modes; Downlink Data Transfer Downlink Transfer screen. Adjacent Cell x Neighbor Cell Information screen. 6-11 x - index cell.
  • Page 142 AT+MCELL=0,3 +MCELL:Serving Misc (P)BCCH ARFCN:00536,BSIC:056,RxLev:037,Cell ID:03583,(PD)TCH ARFCN:INVALID_ARFCN,Timeslot:00,CBA:000,CBQ:000,T3314:00 AT+MCELL=0,19 +MCELL: GPRS-Parameters: (P)BCCH ARFCN:00536,BSIC:056,RxLev:039,Cell ID:03583,(PD)TCH ARFCN:INVALID_ARFCN,Timeslot:00,BS_PA_MFRMS:02,BS_AG_BLK_RES:01,BS_PAG_BLK_R ES: 0,BS_PBCCH_BLOCKS:1 at+MCELL=0,21 MCC:460,MNC: 0,LAC:09339,Cell ID:03600,BSIC:027,(P)BCCH ARFCN:0076,RxLev:057,RxDbm:-53 MCC:460,MNC: 0,LAC:09339,Cell ID:04361,BSIC:041,(P)BCCH ARFCN:0082,RxLev:035,RxDbm:-75 MCC:460,MNC: 0,LAC:09339,Cell ID:04362,BSIC:038,(P)BCCH ARFCN:0060,RxLev:009,RxDbm:-101 MCC: -1,MNC:255,LAC:00000,Cell ID:65535,BSIC:255,(P)BCCH ARFCN:0000,RxLev:000,RxDbm:-110 MCC: -1,MNC:255,LAC:00000,Cell ID:65535,BSIC:255,(P)BCCH ARFCN:0000,RxLev:000,RxDbm:-110 MCC: -1,MNC:255,LAC:00000,Cell ID:65535,BSIC:255,(P)BCCH ARFCN:0000,RxLev:000,RxDbm:-110 MCC: -1,MNC:255,LAC:00000,Cell ID:65535,BSIC:255,(P)BCCH ARFCN:0000,RxLev:000,RxDbm:-110...
  • Page 143: Mci, Module Cell Information

    at+MCELL=0,22 MCC:460,MNC:0,LAC:9339,Cell ID:03600,BSIC:27,(P)BCCH ARFCN:76,RxLev:56,RxDbm:-54,C1:30,C2:30,TxPower:5,RxAccMin:6,(PD)TCH ARFCN:INVALID_ARFCN,Timeslot:0,MAIO:0,HSN:0,Timing Advance:255,RxQualFull:6,RxQualSub:6 at+MCELL=0,23 NCELL:1,MCC:460,MNC:0,LAC:9339,Cell ID:04361,BSIC:41,(P)BCCH ARFCN:82,RxLev:32,RxDbm:-78,C1:17,C2:13 NCELL:2,MCC:460,MNC:0,LAC:9339,Cell ID:04362,BSIC:38,(P)BCCH ARFCN:60,RxLev:9,RxDbm:-101,C1:-1,C2:-1 9.1.8 +MCI, Module Cell Information This command returns neighbor cell information. The command returns ARFCN, BSIC and RX level of serving and adjacent cells. In case Module is registered, adjacent cells are from registered PLMN. In case Module is in Emergency Mode, adjacent cells are physical neighbors.
  • Page 144 AT+MCI Read AT+MCI? +MCI: <Filter>, The Read command returns the <enable_TA> current set <Filter> and <enable_TA> values. Test AT+MCI=? +MCI: (List of The Test command returns the supported <Filter>s), ranges of <Filter>'s supported (Range of supported values and <enable TA>s) <enable TA>...
  • Page 145: Mci Indication

    9.1.9 +MCI Indication After AT+MCI command, the neighbor cell information will return back by this +MCI indication format few seconds later. +MCI: <serving cell ARFCN>,<serving cell BSIC>,<signal strength>[,<TA>][,<neighbor 1ARFCN>[,<neighbor 1 BSIC>],<signal strength>[,<neighbor 2 ARFCN>[,<neighbor 2 BSIC>],<signal strength>[,<neighbor 3 ARFCN>[,<neighbor 3 BSIC>],<signal strength>[,<neighbor 4 ARFCN>[,<neighbor 4 BSIC>],<signal strength>[,<neighbor 5 ARFCN>[,<neighbor 5 BSIC>],<signal strength>[,<neighbor 6 ARFCN>[,<neighbor 6 BSIC>],<signal strength>]]]]]]...
  • Page 146: Mjdc Jamming Detection

    The following table shows the +CA parameters. <Parameter> Description <Cell allocation 1>,<Cell allocation Absolute Radio Frequency Channel Number 2>,<Cell allocation 3> Range: [1-124], [128-251], [512-885], [975-1023]. Example: AT+MCI=1 // Get the current serving and neighbor info. +MCI: 58,48,-71, ,72,29,-70,522,47,-76,84,24,-77,68,42,-81,88,17,-82,86,42,-85 +CA: 7,12,29,37,41,44,47,58,73 9.1.11 +MJDC Jamming Detection Detect the jamming.
  • Page 147: Mjdc Indication

    < jamming> no jamming there are jamming detected 9.1.12 +MJDC Indication After AT+MJDC=1 set,if there are jamming detected,+MJDC Indication will output. +MJDC: <jamming> The following table shows the +MJDC parameters. <Parameter> Description <jamming> no jamming there are jamming detected Example: AT+MJDC=1 AT+MJDC? +MJDC: 1,0...
  • Page 148: Cged, Module Cell Description

    9.1.13 +CGED, Module Cell Description This command displays information about the Cellular Network. The information is divided throughout 21 screens, each of them with different parameters data. Command Syntax Response/Action Remarks +MCELL=<mode> The Set command will return “OK” only. , <screen_num> The relevant <screen_info>...
  • Page 149: Cband, Change Radio Band

    Neighbor 5 Cell Information screen Neighbor 6 Cell Information screen Neighbor Cells Summary screen Re-selection screen Hopping Information screen PDP1 Context Information screen PDP2 Context Information screen PDP3 Context Information screen PDP4 Context Information screen Serving Cell paging parameters Optional SYSINFOs Serving and Neighbor Cells Information screen Serving Cell Information screen Neighbor Cells Information screen...
  • Page 150 Test AT+CBAND=? +CBAND: (list of supported bands) The following table shows the +CBAND parameters. <Parameter> Description <band_1> or Automatic band selection(entering every time possible,display improbable) <band_2> or Selection of 850 MHz band <band_3> or Selection of 900 MHz band <band_4> 1800 Selection of 1800 MHz band 1900...
  • Page 151: Gtplmnls, Clear Arfcn List

    9.1.15 +GTPLMNLS, Clear Arfcn list This command allows to Clear Arfcn list and PLMN from nv,that the Arfcn and PLMN is saved after the last register network. So the time of register network is longer after clear Arfcn and PLMN. Command Syntax Response/Action...
  • Page 152 [SIM1]COUNT:0 [SIM1]ARFCN:0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 AT+GTPLMNLS=1 AT+GTPLMNLS? [SIM0]PLMN:0,0,0 [SIM0]COUNT:0 [SIM0]ARFCN:0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 [SIM1]PLMN:0,0,0 [SIM1]COUNT:0 [SIM1]ARFCN:0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 G5/G6-Family AT Commands User Manual Page 152 of 243...
  • Page 153: Hardware Information

    10.1Hardware Information Commands 10.1.1+MMAD, Query and Monitor ADC Value This command intends to query and monitor ADC value. G510-A20 supports 1-ways ADC connector. This command returns the current ADC values for the requested channel. The values received from the first converters represent the DC voltage levels of the input pin.
  • Page 154: Mtsm, Temperature Sensor Measurement

    All the parameter values should be 0 (zero) in first operation of the module. Note: In case AT parameters are set and executed, and a reset or a power-cycle occurs, the G510-A20 continues with the execution of the AT command using the saved parameters, until the user changes the settings.
  • Page 155 2; Activate unsolicited report. 3; Activate unsolicited report only for out-off boundaries events. <Rate> 1-255; Select the time interval in seconds between the unsolicited reports. (Default value = 1 Second). <Low> -40 - 95; The lowest boundary level of the temperature value for unsolicited report.
  • Page 156: Cbc, Battery Charger Connection

    AT+MTSM=3,30,-10,40 // Set to out-off boundary (-10 to +40 Celsius) unsolicited reports for every 30 seconds. +MTSM: -20 // Unsolicited current report out-off the Low boundary. +MTSM: -12 // Unsolicited report out-off the Low boundary after 30 seconds. +MTSM: 47 // Unsolicited report out-off the High boundary after Nx30 seconds AT+MTSM? // Read the current setting.
  • Page 157: Cbaud, Baud Rate Regulation

    Note: The Module does not allow the detection of battery use. The power supply of the Module is connected via the battery pins. However, users can use this command to verify the level of the Module input power source. Example: AT+CBC +CBC: 0,3802 10.1.4+CBAUD, Baud Rate Regulation...
  • Page 158: Ipr, Local Terminal Serial Port Rate

    2400 4800 9600 14400 19200 28800 33600 38400 57600 115200 230400 460800 The default value is 0 10.1.5+IPR, Local Terminal Serial Port Rate This command is responsible for setting and saving the request baud rate. This numeric extended-format parameter specifies the data rate at which the Module accepts commands. Specifying a value of 0 disables the function and allows operation only at rates automatically detectable by the Module.
  • Page 159 +IPR=<rate> +CME ERROR: <err> Read +IPR? +IPR: <rate> Test +IPR=? +IPR: (list of supported <rate>s), Note: Read mode returns the current baud rate and not the value that was set by Set Mode. The following table shows the +IPR parameters. <Parameter>...
  • Page 160: K, Rts/Cts Flow Control

    AT+IPR=? +IPR: (1-8,10-13,2400,4800,9600,14400,19200,28800,33600,38400,57600,115200,230400,460800) 10.1.6&K, RTS/CTS Flow Control This command configures the flow control. The RTS (Request To Send) is an input line. The RTS signal is received from the terminal and a low condition indicates that the Module can send more data. The CTS (Clear To Send) is an output line.
  • Page 161: Ifc, Rts/Cts Flow Control

    Enable CTS/RTS terminal/Module flow control The default value is 0. 10.1.7+IFC, RTS/CTS Flow Control This parameter controls the operation of the local flow control between the terminal and the Module during the data state when V.42 error control is used, or when fallback to non-error control mode is specified to include buffering and flow control.
  • Page 162: C, Circuit 109 Behavior

    AT+IFC=2,2 10.1.8&C, Circuit 109 Behavior This parameter determines how the state of the DCD line relates to the detection of the received line signal from the distant end. Changing the parameters will take effect immediately in both the command and online command states. The DCD line is an output line that indicates the following: In Circuit Switch Data mode an active (low) indicates that a valid carrier (data signal) was detected by the Module (CONNECT message is received), and inactive (high) indicates idle.
  • Page 163: D, Circuit 108 Behavior

    The following table shows the &C parameters. <Parameter> Description <param> DCD signal ON DCD is forced ON at all times. DCD is set to ON when: A ODM carrier is detected. A GPRS external session is being established: Module enters PPP mode TE is about to send an LCP configure-request to the Module (GPRS connection is not yet established).
  • Page 164: Cfun, Shut Down Phone Functionality

    Read AT&D? &D: <param> Test AT&D=? &D: (list of supported <param>s) The following table shows the &D parameters. <Parameter> Description <param> The Module’s reaction when the DTR status is changed from ON to OFF. In ODM: Ignores DTR changes Switches the ODM to asynchronous command mode (the ODM remains connected) Disconnects the ODM and returns to the command mode In GPRS calls:...
  • Page 165 phone or PDA incorporating the Module. Read +CFUN? +CFUN: <fun>, The Read command displays the <STK_mode> current level of functionality. Test +CFUN=? +CFUN: (list of supported The Test command displays the list <fun>s) of supported functionality settings. The following table shows the AT+CFUN parameters. <Parameter>...
  • Page 166: Icf, Dte-Dce Character Framing

    AT+COPS? +COPS: 0,0,"CHINA MOBILE" 10.1.11 +ICF, DTE-DCE Character Framing This command determines the local serial port start/stop (asynchronous) character framing used by the DCE when accepting DTE commands and transmitting information text and result codes, whenever these are not done automatically. Auto detect framing is not supported. Command Syntax Response/Action...
  • Page 167: Mrst, Perform Hardware Power Down

    Even No parity (default) Example: AT+ICF? +ICF: 3,4 AT+ICF=? +ICF: (1-3,7),(0,1,4) AT+ICF=3,1 10.1.12 +MRST, Perform Hardware power down The +MRST command enables customer software to perform a hardware power down to the Module unit. This command provides a software power-off without network logging off. Command Syntax Response/Action...
  • Page 168 ERROR Read +WRIM? +WRIM: <type>,<width> The read command returns the current parameter of RI pin. ERROR Test +WRIM=? +WRIM: <type>,<width> The test command displays the list of supported <type> and <width> values. ERROR The following table shows the +WRIM parameters. <Parameter>...
  • Page 169: Msmpd, Enable/Disable Sim Card Hot Plug

    10.1.14 +MSMPD, Enable/Disable SIM Card Hot Plug This command can Enable/Disable SIM card hot plug feature. The default status is disable this feature. The parameter will be saved in profile and can restore at power cycle. Command Syntax Response/Action Remarks AT+MSMPD=<...
  • Page 170: Gtwd, Enable/Disable Watchdog

    10.1.15 +GTWD, Enable/Disable Watchdog This command can Enable/Disable watchdog feature. The default status is disable this feature. Command Syntax Response/Action Remarks AT+GTWD=< status> Enable/Disable watchdog +CME ERROR: <err> Read AT+GTWD? +GTWD: <status> Read the current status Test AT+GTWD=? +GTWD: (0-1) The following table shows the +GTWD parameters.
  • Page 171: Gtset="Uartmode", Switch Uart2 Work Mode

    10.2.1+GTSET=”UARTMODE”, switch UART2 work mode The +GTSET=”UARTMODE” command set current UART work mode, for AT command or for send/receive user data. Command Syntax Response/Action Remarks +GTSET=”UART Set current UART work mode MODE”,<mode> ERROR The following table shows the +UARTMODE parameters: <Parameter>...
  • Page 172: Uart2 Use For At Command

    The data format is in hex. As the input command can only be character, so here use two characters to indicate one hex number. E.g.: “35” means 0x35. Module will change the format internally. Command Syntax Response/Action Remarks AT+UARTSEND= Used to send data to <source>,<data>...
  • Page 173 CIMI COPS CPIN CREG G5/G6-Family AT Commands User Manual Page 173 of 243...
  • Page 174: Audio

    11 Audio 11.1 Scope The audio control can be summarized to the following three issues: Path: Selection of microphone and speaker to be used. Gain: Control of volume levels for rings, voice, etc. Algorithm: Activation of audio algorithms (echo cancellation, noise suppression and side tone). Audio Control of Path, Gain and Algorithms is available by these two different modes sets of commands.
  • Page 175: Clvl, Loudspeaker Volume

    11.2.2 +CLVL, Loudspeaker Volume This command sets the volume of the internal loudspeaker (which also affects the key feedback tone) of the Module. Note: In this command, the new value remains after power cycle. The +CLVL command can be used even when the SIM is not inserted.
  • Page 176: S94, Sidetone Effect

    state. Test +CMUT=? +CMUT: (list of The Test command returns the supported <state>s) possible <state> values. The following table shows the +CMUT parameters. <Parameter> Description <state> Unmute microphone path (default) Mute microphone path Example: AT+CMUT=? +CMUT:(0-1) AT+CMUT? +CMUT: 0 //uplink voice is unmuted AT+CMUT=1 //uplink voice is muted AT+CMUT?
  • Page 177: S96, Echo Canceling

    Read ATS94? +S94:<n> The Read command returns the sidetone status. The following table shows the S94 parameters. <Parameter> Description <n> 0-7 Sidetone range. 0 is lowest sidetone (not mute). The default value is 004. 11.2.5 S96, Echo Canceling This command suppresses a large amount of the output sound picked up by the input device (cancels all echo).
  • Page 178: Vtd, Tone Duration

    +CME ERROR: <err> Read +CALM? +CALM: The Read command displays the <call_mode>,<SMS_mo current alert sound mode setting. de> Test +CALM=? +CALM: (0-1),(0-1) The Test command displays the list of supported modes. The following table shows the +CALM parameters. <Parameter> Description <call_mode>...
  • Page 179: Vts, Command-Specific Tone Duration

    <n>s) supported tone duration. The following table shows the +VTD parameters. <Parameter> Description <n> Defines the length of tones emitted by the +VTS command. 1-255 200mS to 1S adjustable. 11.2.8 +VTS, Command-Specific Tone Duration This command transmits a string of DTMF tones when a voice call is active. DTMF tones may be used, for example, when announcing the start of a recording period.
  • Page 180: Mapath, Audio Path

    11.2.9 +MAPATH, Audio Path This command sets/requests the active input accessory, and the output accessory for each feature. For example, you can choose the headset mic to be active, the voice and keypad feedback to go to the speaker, and the alerts and rings to go to the alert speaker. On power up, the default path, mic, speaker and alert speaker are restored.
  • Page 181: Mavol, Volume Setting

    11.2.10+MAVOL, Volume Setting This command enables you to determine a volume level for a particular feature via a particular accessory. The gain levels are saved in flex. Therefore, upon power up, the path active (mic, speaker and alert speaker) will have these saved gain levels. Note: The SMS MT volume is adjusted using the +MAVOL command with type "ring".
  • Page 182 1 and 2 6<feature> Voice (1-7) Tone 1 and 2 Audio 1 and 4 2 and 4 1 and 2 and 4 <vol> Volume level 0-6 Tone volume 0-3 Example: AT+MAVOL? +MAVOL: 1,1,4 +MAVOL: 1,2,1 +MAVOL: 1,4,4 AT+MAVOL=? +MAVOL: (1-3),(1-7),(0-6) AT+MAVOL=1,7,3 //Modified all the features in the 1st channel AT+MAVOL?
  • Page 183: Mmicg, Microphone Gain Value

    11.2.11+ MMICG, Microphone Gain Value This command handles the selection of microphone gain values of MIC-handsets and MIC-headsets. The new value remains after power cycle. Command Syntax Response/Action Remarks +MMICG=<gai The Set command sets the n> microphone gain value. +CME ERROR: <err> Read +MMICG? +MMICG: <gain>...
  • Page 184 The following table shows the +MATONE parameters. <Parameter> Description <state> 0 : stop When state=0,means the tone is stop 1 : start <tone_id> <tone_id> integer indicating the audio tone ID and may be: 0: aud_tone_DTMF_0 1: aud_tone_DTM F_1 2: aud_tone_DTMF_2 3: aud_tone_DTMF_3 4: aud_tone_DTMF_4 5: aud_tone_DTMF_5...
  • Page 185: Gprs

    <play_time> <play_time> play audio time period range 100….60000 12GPRS 12.1GPRS Functionality GSM 07.07 defines commands that a TE may use to control a GPRS ME via a non-multiplexed character-stream interface. This places certain limitations on the functionality of the interface. For example, it is not possible for the ME to send control information to the TE or for the TE to send commands to the ME whilst the interface is in the online data state, unless the layer 2 protocol itself supports this feature (GSM 07.60-12).
  • Page 186: Cgclass, Gprs Mobile Station Class

    For the simplest MTs, and for backwards compatibility with existing communications software, it is possible to control access to the GPRS using existing modem-compatible commands. This "modem compatible" mode of operation is described below. 12.2.1+CGCLASS, GPRS Mobile Station Class This command is used to set the Module to operate according to the specified GPRS mobile class. If the requested class is not supported, an ERROR or +CME ERROR response is returned.
  • Page 187: Cgdcont, Define Pdp Context

    +CGCLASS: (CC) //Note that CC is a not supported value. 12.2.2+CGDCONT, Define PDP Context This command specifies the PDP (Packet Data Protocol) context. Command Syntax Response/Action Remarks AT+CGDCONT=[<cid> The Set command specifies the [,<PDP_type>[,<APN> context identification parameter [,<PDP_addr>[,<d_co values for a PDP context. A +CME ERROR: <err>...
  • Page 188 <cid> Numeric parameter specifying a particular PDP context definition (PDP Context Identifier). The parameter is local to the Terminal-Mobile Terminal interface and is used in other PDP context-related commands. The Test command returns the range of permitted values (minimum value=1). <"PDP_type">...
  • Page 189: Cgqmin, Quality Of Service Profile (Min Acceptable)

    Example: AT+CGDCONT? // Only without any set command. AT+CGDCONT=1, “IP”,”CMNET” AT+CGDCONT=2, “IP”,”CMWAP” AT+CGDCONT? +CGDCONT: 1,"IP","CMWAP","0.0.0.0",0,0 +CGDCONT: 2,"IP","CMNET","0.0.0.0",0,0 AT+CGACT=1 AT+CGDCONT? +CGDCONT: 1,"IP","CMWAP","10.230.50.116",0,0 +CGDCONT: 2,"IP","CMNET","10.3.97.156",0,0 AT+CGDCONT=? +CGDCONT: (1-2),(“IP”),,,(0),(0,1) 12.2.3+CGQMIN, Quality of Service Profile (Min Acceptable) This command enables the terminal to specify the minimum acceptable profile which is checked by the ME against the negotiated profile returned in the Activate PDP Context Accept message.
  • Page 190 command. The QoS profile consists of a number of parameters, each of which may be set to a separate value. Read AT+CGQMI +CGQMIN: The Read command returns the <cid>,<precedence>,<delay>,<relia current settings for each defined bility>,<peak>,<mean>[<CR><LF> context. +CGQMIN: <cid>,<precedence>,<delay>,<relia bility.>,<peak>,<mean>[...]] +CME ERROR: <err> Test AT+CGQMI +CGQMIN: <PDP_type>, (list of...
  • Page 191: Cgqreq, Quality Of Service Profile (Requested)

    Example: AT+CGQMIN=? +CGQMIN: "IP",(1-2),(0-4),(0-5),(0-9),(0-18) AT+CGQMIN? +CGQMIN: 1,2,4,3,9,10 +CGQMIN: 2,2,4,3,9,10 12.2.4+CGQREQ, Quality of Service Profile (Requested) This command enables the terminal to specify a Quality of Service Profile that is used when the ME sends an Activate PDP Context Request message to the network. Command Syntax Response/Action...
  • Page 192 supported<precedence>s), the ME supports several PDP types, (list of supported <delay>s), the parameter value ranges for each (list of supported PDP type are returned on a separate <reliability>s), (list of line. supported <peak>s), (list of supported <mean>s) The following table shows the +CGQREQ parameters. <Parameter>...
  • Page 193: Cgatt, Gprs Attach Or Detach

    12.2.5 +CGATT, GPRS Attach or Detach This command attaches/detaches the ME to/from the GPRS service. When the command has completed, the ME remains in V.25ter command state. If the ME is already in the requested state, the command is ignored and the OK response is returned. If the requested state cannot be achieved, an ERROR or +CME ERROR response is returned.
  • Page 194: D*99, Request Gprs Service "D

    12.2.6D*99, Request GPRS Service "D" This command enables the ME to perform the actions necessary for establishing communication between the terminal and the external Packet Data Network (PDN). The ITU V.25ter 'D' (Dial) commands causes the ME to enter the ITU V.25ter Online Data state and together with the terminal, to start the specified layer 2 protocol.
  • Page 195 (GPRS Service Code) called_addresss> String that identifies the called party in the address space applicable to the PDP. For communications software that does not support arbitrary characters in the dial string, a numeric equivalent may be used. Also, the comma character ","...
  • Page 196: Cgact, Pdp Context Activate Or Deactivate

    12.2.7+CGACT, PDP Context Activate or Deactivate This command activates/deactivates the specified PDP context(s). Command Syntax Response/Action Remarks AT+CGACT= The Set command activates/deactivates the [<state>[,<ci specified PDP context(s). When the command is d>[,<cid>[,]]]] completed, the ME remains in V.25 command NO CARRIER state.
  • Page 197: Cgpaddr, Gprs Addresses

    The following table shows the +CGACT parameters. <Parameter> Description <state> Indicates the activation state of the context: 0 Non-active 1 Active <cid> 1-2 A numeric parameter that specifies a particular PDP context definition Example: AT+CGACT=? +CGACT: (0,1) AT+CGACT? AT+CGACT=1 ERROR //GPRS network not present.
  • Page 198 Test AT+CGPADDR= +CGPADDR: (list of defined The Test command returns the <cid>s) list of defined <cid>s. The following table shows the +CGPADDR parameters. <Parameter> Description <cid> A numeric parameter that specifies a particular PDP context definition. If no <cid> is specified, the addresses for all defined context are returned.
  • Page 199: Tcp/Ip

    13TCP/IP 13.1Basic Mode 13.1.1+MIPCALL, Create a Wireless Link This command sets up a PPP (Point to Point Protocol) connection with the GGSN (Gate GPRS Support Node), and returns a valid dynamic IP for the Module. Note: Module can’t support TCP/IP stack AT command mixed with another AT command which can active the PPP or GPRS in parallel.
  • Page 200 The following table shows the +MIPCALL parameters. <Parameter> Description operation 0 - disconnect a link 1 - establish GPRS link <status> Disconnect Connected Busy(disconnecting or connecting) "APN" APN of service provider (in quotation marks). Contact your service provider for details. "Phone Number"...
  • Page 201: Mgauth, Set Type Of Authentication

    AT+MIPCALL=1,"internet","User1 ","Pswd",2 AT+MIPCALL? +MIPCALL: 2 +MIPCALL: 123.145.167.230 13.1.2+MGAUTH, Set type of authentication This proprietary command allows to enter the type of authentication for a user -name (using a password) for the specified PDP context.This command is used for internal protocol. Command Syntax Response/Action...
  • Page 202: Mipopen, Open A Socket (Udp Or Tcp)

    AT+CGDCONT=1,"IP","CMNET" AT+MGAUTH=1,2,"USER","PWD" AT+MIPCALL=1 +MIPCALL: 172.29.34.127 13.1.3+MIPOPEN, Open a Socket (UDP or TCP) This command causes the Module to initialize a new socket that waits for a connection from a remote machine or opens a common connection with a remote side (according to received parameters). Each socket allocates an accumulating buffer whose size is 1372 bytes for TCP connection and 1024 bytes for UDP connection.
  • Page 203 +MIPOPEN: 0 if there are no free sockets. Test AT+MIPOPEN=? +MIPOPEN: (list of supported<socket_ID>s),(list of supported<source_port>s),(list of supported<"Destination_IP">s), (list of <destination_port>s),(list of supported <protocol>s) Example: AT+MIPOPEN? +MIPOPEN: 1, 2, 3, 4 //All sockets closed AT+MIPOPEN? +MIPOPEN: 1, 3, 4 //Socket 2 opened The following table shows the +MIPOPEN parameters.
  • Page 204 Port 0 for incoming connection. Protocol Type of protocol stack. 0 TCP 1 UDP State 0 Inactive 1 Active Note: Does not recommend using port numbers below 1024. These numbers are defined to be reserved for operating systems. Example: AT+MIPOPEN=1,1200,"123.245.213.012",1234,0 //Opening socket 1, using TCP protocol, from port 1200, targeting 123.245.213.012 port 1234 AT+MIPOPEN=2,1300,"123.133.074.192",1242,1...
  • Page 205: Mipclose, Close A Socket

    13.1.4+MIPCLOSE, Close a Socket This command causes the Module to free the socket accumulating buffer and to close the socket. Note: All data stored in the accumulating buffer will be lost. Command Syntax Response/Action +MIPCLOSE=<Socket_ID >[,<Mode>] +MIPCLOSE: <Socket_ID>[,<number_of_acknowledged_bytes>],<close_ type> ERROR Read +MIPCLOSE? +MIPCLOSE: [<socket_ID>]...
  • Page 206: Mipsets, Set Size And Timeout For Automatic Push

    0 - Connection was closed correctly. 1 - The remote side didn't reply, so connection closed by close timeout. 2 - Other (The remote side replied with RST, Re-transmission timeout occurred, etc.). Example: AT+MIPCLOSE=? +MIPCLOSE: (1-4),(0-2) AT+MIPCLOSE? +MIPCLOSE: 0 //No opened sockets AT+MIPCLOSE=1 +MIPCLOSE: 1,0 // Socket 1 closed.
  • Page 207 characters in coded form). In order to reduce the overhead of sending small amounts of data over the air, the Module uses an accumulating buffer. The terminal can specify a watermark within the accumulating buffer size limits to indicate how much data should be accumulated. When the data in the accumulating buffer exceeds the watermark, only data equal to the watermark is sent.
  • Page 208: Mipsend, Send Data

    Example: AT+MIPSETS=1,340 //Asks the Module to accumulate 340 bytes on socket 1 prior to sending (socket should be activated by the +mipopen command) +MIPSETS: 0 AT+MIPSETS=2,400 //Asks the Module to accumulate 400 bytes on socket 2 prior to sending +MIPSETS: 0 AT+MIPSETS=? +MIPSETS: (1-4),(1-2048),(0-1000) AT+MIPSETS?
  • Page 209 Data> characters (2048 in coded +MIPSEND: form). <Socket_ID>,<Status>,<FreeSiz e> <Status>: 0 - Success 1 - Socket is flowed off Read +MIPSEND? +MIPSEND <Socket_ID>,<FreeSize>>[<Soc ket_ID>,FreeSize>]<CR><LF> For all ACTIVE sockets. The following table shows the +MIPSEND parameters. <Parameter> Description <socket_ID> 1,2,3,4 Number of valid socket <FreeSize>...
  • Page 210: Mippush, Push Data Into Protocol Stack

    13.1.7+MIPPUSH, Push Data into Protocol Stack This command causes the Module to push the data accumulated in its accumulating buffers into the protocol stack. It is assumed that before using this command, some data should exist due to previous +MIPSEND commands. Command Syntax Response/Action...
  • Page 211: Mipflush, Flush Data From Buffers

    The following table shows the +MIPPUSH parameters. <Parameter> Description Socket_ID 1,2,3,4Number of valid socket Destination_IP IP of destination site in the format AAA.BBB.CCC.DDD. The value can be written in1, 2 or 3 digits. Destination_Port 0-65535Port of destination site. Written in decimal digits. Example: AT+MIPPUSH=1 //Terminal asks the Module to flush the buffer in socket 1 (was opened...
  • Page 212: Miprudp, Receive Data From Udp Protocol Stack

    AT+MIPFLUSH=2 //Socket number 2 was previously opened using the +MIPOPEN command +MIPFLUSH: 2 AT+MIPFLUSH=5 ERROR AT+MIPFLUSH? +MIPFLUSH: 1, 2 13.1.9+MIPRUDP, Receive Data from UDP Protocol Stack This unsolicited event is sent by the Module to the terminal when data is received from the UDP protocol stack.
  • Page 213: Mipdsets, Set Size And Timeout For Output Received Data

    The following table shows the +MIPRTCP parameters. <Parameter> Description Socket_ID 1,2,3,4 - Number of valid sockets. Left Size of received Data still left in protocol stack. Data Data string received with 0-F hexadecimal digits. String ends with a <CR>. Example: +MIPRTCP: 3,0,7171 13.1.11+MIPDSETS, Set Size and Timeout for Output Received Data This command causes the Module to set a max length and time span when send out data to user.
  • Page 214: Mipstat, Status Report

    128< = size <= 2048 The default value is 1372. TimeSpan 0 - 1000 mS means no timeSpan is used (default). Example: AT+MIPDSETS=1,256,500 When received 512 bytes from network, there are two +MIPRUDP message report to user: +MIPRUDP: 172.16.3.135,222,2,256,313233……..373839 // the first 256 bytes // time span is 500ms +MIPRUDP: 172.16.3.135,222,2,0,313233……..373839 // the last 256 bytes...
  • Page 215: Mipconf - Configure Internal Tcp/Ip Stack

    13.1.13 +MIPCONF - Configure Internal TCP/IP Stack This command allows configuring TCP stack parameters, such as re-transmissions number, upper and bottoming limits of re-transmission timeout, close delay. It can be used to configure TCP socket parameters before socket activation. Configuration values will be stored in Module until power circle. This command must used under MIPCALL is enabled.
  • Page 216 values. Time values can inserted with resolution of 100 milliseconds. Parameter Description <socket_ID> Number of configured TCP socket (1 to 4) <retr_num> Number of re-transmissions (1 to 12) Default: 5 <min_TO> Bottom limit to re-transmit timeout (100 ms to 1 sec.) Default: 5*100mS <max_TO>...
  • Page 217 AT+MIPSEND=2,"474554202F20485454502F312E300D0A486F73743A207777772E676F6F67 6C652E636F6D0D0A0D0A" +MIPPUSH: 2,0,40 +MIPSEND: 2,0,2048 +MIPXOFF: 2 AT+MIPSEND=2,"474554202F20485454502F312E300D0A486F73743A207777772E676F6F67 6C652E636F6D0D0A0D0A" +MIPSEND: 2,1,1372 +MIPSTAT: 2,0,30 +MIPXON: 2 +MIPSTAT: 2,0,40 +MIPRTCP: 2,530,485454502F312E312033303220466F756E640D0A4C6F636174696F6E3A20687474703A2F 2F7777772E676F6F676C652E636F2E696C2F63786665723F633D505245462533443A544D25334 43131313935 +MIPRTCP: 2,450,31343833323A5325334467384A637631426A5458472D30636A5926707265763D2F0D0A53 65742D436F6F6B69653A20505245463D49443D363930376262383735313862663233373A43523 D313A544D3D +MIPRTCP: 2,370,313131393531343833323A4C4D3D313131393531343833323A533D644F6564767A6C3476 5F7059475A384A3B20657870697265733D53756E2C2031372D4A616E2D323033382031393A313 43A30372047 +MIPRTCP: 2,290,4D543B20706174683D2F3B20646F6D61696E3D2E676F6F676C652E636F6D0D0A436 F6E74656E742D547970653A20746578742F68746D6C0D0A5365727665723A204757532F322E31 0D0A436F6E74656E +MIPRTCP: 2,210,742D4C656E6774683A203231370D0A446174653A205468752C203233204A756E2032 3030352030383 +MIPRTCP: 2,130,484541443E3C5449544C453E333032204D6F7665643C2F5449544C453E3C2F484541 443E3C424F44593E0A3C48313E333032204D6F7665643C2F48313E0A54686520646F63756D65 6E7420686173206D +MIPRTCP: AT Commands User Manual...
  • Page 218: Mping, Start Ping Execution (Icmp Protocol)

    2,50,6F7665640A3C4120485245463D22687474703A2F2F7777772E676F6F676C652E636F2 E696C2F63786665723F633D505245462533443A544D253344313131393531343833323A5325334 467384A637631 +MIPRTCP: 2,0,426A5458472D30636A5926616D703B707265763D2F223E686572653C2F413E2E0D0A3 C2F424F44593E3C2F48544D4C3E0D0A +MIPSTAT: 2,1,40 13.1.14 +MPING, Start Ping Execution (ICMP Protocol) This command allows verifying IP connectivity to another remote machine (computer) by sending one or more Internet Control Message Protocol (ICMP) Echo Request messages. The receipt of corresponding Echo Reply messages are displayed, along with round trip times. Valid IP address must be obtained using AT+MIPCALL command prior to starting ping execution.
  • Page 219 displayed, otherwise default parameter values will be displayed Test +MPING=? +MPING: The test command displays all supported <count>,<size>,<TTL> parameters values for +MPING set ,<TOS>,<TimeOut> command. The following table shows the +MPING command parameters. <Parameter> Description <mode> 0 - Abort current ping request execution. 1 - Launch new ping request.
  • Page 220 service is specified along the abstract parameters precedence, delay, throughput, and reliability. These abstract parameters are to be mapped into the actual service parameters of the particular networks the datagram traverses. Minimum and maximum values for TOS are 0 and 255 respectively. Refer to RFC 791 and RFC 2474 which obsoletes RFC 791 for TOS defined values.
  • Page 221: Mpingstat, Status Update For +Mping Execution

    unsolicited response for details. In some cases, the reply message for an Echo Request message might be not an Echo Reply messages but rather some other ICMP message, which is reporting an error in datagram processing. For purpose of reporting an exact type of response for sent Echo Request message, unsolicited response includes <type>...
  • Page 222 The following table shows the +MPINGSTAT unsolicited response parameters. <Parameter> Description <status> Specifies a status of ping request execution. Defined values: 0 - The unsolicited response with this <status> will be sent to DTE upon completion of ping request. If ping request was aborted or socket connection was terminated for any reason, this unsolicited response will not be reported to DTE.
  • Page 223: Msdns, Set Dns Ip Address

    +MIPCALL: 10.170.4.111 //Ping host www.sohu.com 3 times with <TTL>=255. All other parameters are default. AT+MPING=1,"www.sohu.com",3,,255 OK //ICMP Echo Reply message received, RTT is 522 ms. +MPING: "121.14.0.17",0,0,522 +MPINGSTAT: 1 // No corresponding reply within timeout. +MPINGSTAT: 3 // Flow Control OFF. +MPINGSTAT: 4 // Flow Control ON, a new Echo Request message is sent immediately.
  • Page 224 P><CR><LF> +MSDNS: 3,<Primary_DNS_server_IP>,<Secondary_DNS_server_I P><CR><LF> +MSDNS: 4,<Primary_DNS_server_IP>,<Secondary_DNS_server_I P><CR><LF> <CR><LF> Test AT+MSDNS=? +MSDNS: (List of supported <Socket_id>s),(<IP>),(<IP>) The following table shows the +MSDNS parameters. <Parameter> Description <Socket_ID> A unique number that identifies a connection (provided by the terminal application). 0 - Invalid socket number 1,2,3,4 - Valid socket number 5 - Valid socket number dedicated to +MPING.
  • Page 225: Mipodm, Open A Socket (Udp Or Tcp) In Online Data Mode

    +MSDNS: 5,"0.0.0.0","0.0.0.0" AT+MSDNS=2,"212.150.49.10","206.49.94.234" //set socket 2 prim & sec DNS AT+MSDNS=4,"62.120.55.10" //set socket 4 prim DNS only AT+MSDNS=5,"212.150.49.10","206.49.94.234" //set socket 5 prim & sec DNS AT+MSDNS? // read when MIPCALL is disconnected +MSDNS: 1,"0.0.0.0","0.0.0.0" +MSDNS: 2,"212.150.49.10","206.49.94.234" +MSDNS: 3,"0.0.0.0","0.0.0.0" +MSDNS: 4,"62.120.55.10","0.0.0.0" +MSDNS: 5,"212.150.49.10","206.49.94.234"...
  • Page 226 <Pseudo-Command Port>] mode. Mode On/Off> +MIPSTAT: <Socket_ID>,<Status> ERROR: <err> Read AT+MIPODM? +MIPODM:[<Socket_ID>] When a socket opens in Online Data Mode, the for each socket that can be command returns actual opened Socket_ID value a‘d’'1' value (active). Module will +MIPODM 0,0 be in pseudo-command mode for receiving the if there are no free sockets.
  • Page 227 as describe in RFC-1035 section: 2.3 Conventions. Syntax is not validated, except the maximum length (255 characters). Remote Port Port of remote site. Port range: 1-65535 (decimal digits) for outgoing connection. Port 0 for incoming connection. Protocol Type of protocol stack. State Inactive Active...
  • Page 228: Mipxoff, Flow Control - Xoff

    13.1.18 +MIPXOFF, Flow Control - Xoff This command is the unsolicited response that the Module sends to the terminal to stop sending data when it does not have enough memory to process new +MIPSEND requests. The Module uses the accumulating buffer prior to pushing data into the protocol stack. This memory resource is protected by a Xoff_upper watermark.
  • Page 229: Mipntp, Synchronize The Local Time Via Ntp

    13.1.21 +MIPNTP, Synchronize the local time via NTP This command causes the Module to synchronize the local time from the NTP time server. Command Syntax Response/Action + MIPNTP=<Remote_IP>, <Remote_Port> +MIPNTP: <Result> ERROR: <err> Read +MIPNTP? +MIPNTP: <Remote_IP>,<Remote_Port> Test +MIPNTP=? +MIPNTP((list of supported<”Remote_IP”>s), list of supported<Remote_Port>s) The following table shows the +MIPNTP parameters.
  • Page 230: Mipread, Receive Data From Buffer

    13.1.22 +MIPREAD, Receive data from buffer Command Syntax Response Remarks AT+ MIPREAD This command use for reading the data in =<SocketId>, cache. <ReadDataLen> ERROR SocketId : Socket ID ReadDataLen: 2048 bytes at maximum +MIPDATA:SocketID, actualReadDataLen: actual length of data actualReadDataLen in buffer +MIPREAD : no data in buffer +MIPREAD:SocketID,...
  • Page 231 +MIPSEND: 1,0,2045 AT+MIPPUSH=1 // push data +MIPPUSH: 1,0 +MIPREAD: 1,3 // in data cache mode, report data while the buffer is null before receiving data. AT+MIPREAD? // query the bytes during connecting +MIPREAD:1,3 //only 3 bytes in buffer AT+MIPREAD=1,100 // SOCKETID =1,data length=100bytes +MIPDATA: 1,3 // the real data only has three bytes, AT+MIPREAD=1,100...
  • Page 232: Hex Mode

    13.2HEX Mode Base on the basic mode, Module achieve the TCP/IP stack by AT command. In additional, Module supports another mechanism to complete the TCP/IP stack in HEX mode. The data will be sending in HEX when we use +MIPSEND command. 13.2.1+MIPSEND (Ctrl-Z) Command Syntax...
  • Page 233: Mipsend (Data Length)

    +MIPSEND: Send any data without encode. <Socket_ID>,<Status>,<FreeSiz The data buffer range is e> 0<buffer<=1400 bytes. After timeout, the data will be push automatic and returns to ERROR regular AT command mode. The default timeout is 12s. Example: Opening socket 2 already. AT+MIPSEND=2 >>This is the data in HEX<timeout>...
  • Page 234: Gtset, Hex Mode Configuration

    >0123456789abc +MIPPUSH: 2,0 +MIPSEND: 2,0,2048 13.2.4+GTSET, HEX mode configuration Command Syntax Response/Action +GTSET=<future>,<value> ERROR The following table shows the +GTSET parameters related HEX mode. <Parameter> Description <future> "SENDTIME": Set the auto push timeout. <value> 1-30 seconds The default value is 12. <future>...
  • Page 235 AT+MIPSEND=2,10 >0123456789abc +MIPPUSH: 2,0 +MIPSEND: 2,0,2048 <CR><LF>+MIPRTCP: 2,0,30313233343536373839<CR><LF> //Same as basic mode. AT+GTSET="IPRFMT",1 AT+MIPSEND=2,10 >0123456789abc +MIPPUSH: 2,0 +MIPSEND: 2,0,2048 0123456789 //Only data without any information. AT+GTSET="IPRFMT",2 AT+MIPSEND=2,10 >0123456789abc +MIPPUSH: 2,0 +MIPSEND: 2,0,2048 <CR><LF>+MIPRTCP: 2,10,0123456789 AT Commands User Manual Page 235 of 243...
  • Page 236: Error Code

    14Error Code 14.1CME Error Parameter Description <Err> "invalid command line" "phone failure" "no connection to phone" "phone-adapter link reserved" "Operation not allowed" "Operation not supported" "PH-SIM PIN required" "PH-FSIM PIN required" "PH-FSIM PUK required" "SIM not inserted" "SIM PIN required" "SIM PUK required"...
  • Page 237 "text string too long" "invalid characters in text string" "dial string too long" "invalid characters in dial string" "no network service" "Network timeout" "Network not allowed emergency calls only" "Network personalization PIN required" "Network personalization PUK required" "Network subset personalization PIN required" "Network subset personalization PUK required"...
  • Page 238 "Unblock SIM card fail" "Condition not fulfilled" "Unblock SIM card failed, no rest time" "Verify SIM card failed, no rest time" "Input parameter is invalid" "file is inconsistent with the command" "wrong instruction class given in the command" "SIM returned technical problem" "CHV need unblock"...
  • Page 239: Cms Error

    "PDP authentication failure" "Invalid mobile class" "Unspecified GPRS error" 14.2CMS Error Parameter Description <Err> "Unassigned (unallocated) number" "Operator determined barring" "Call barred" "Short message transfer rejected" "Destination out of service" "Unidentified subscriber" "Facility rejected" "Unknown subscriber" "Network out of order" "Temporary failure"...
  • Page 240 "Inter-working, unspecified" "Telematic inter-working not supported" "Short message Type 0 not supported" "Cannot replace short message" "Unspecified TP-PID error" "Data coding scheme (alphabet) not supported" "Message class not supported" "Unspecified TP-DCS error" "Command cannot be action " "Command unsupported" "Unspecified TP-Command error" "TPDU not supported"...
  • Page 241 "SMS service of ME reserved" "Operation not allowed" "Operation not supported" "Invalid PDU mode parameter" "Invalid text mode parameter" "SIM not inserted" "SIM PIN required" "PH-SIM PIN required" "SIM failure" "SIM busy" "SIM wrong" "SIM PUK required" "SIM PIN2 required" "SIM PUK2 required"...
  • Page 242: Tcp/Ip Error

    "invalid parameter" "invalid length or character" "invalid character in text" "timer expired"} 14.3TCP/IP Error Parameter Description <Err> "TCPIP Param wrong " "TCPIP not supported in ppp mode" "TCPIP dns convert to ip fail" "TCPIP socket number limited" "TCPIP invalid operation" "TCPIP protol error"...
  • Page 243 "TCPIP socket send data size limited" "TCPIP socket set listening mode failed" "TCPIP socket listen fail" "TCPIP socket error" "TCPIP socket not opened " "TCPIP tcp stack configure failed" "TCPIP socket no data to send " "TCPIP socket send invalid data state" "TCPIP socket close client"...

This manual is also suitable for:

G510sG520G610-a20 seriesG620-a20 series

Table of Contents

Save PDF