Huawei MG323 manual AT Command Interface Specification

Page 1

HUAWEI MG323 GSM M2M Module

AT Command Interface Specification

Issue 02

Date 2010-11-23

Image 1
Contents AT Command Interface Specification No Warranty History About This DocumentVersion Date Chapter Descriptions Contents Commands for Status Control Commands for Security Control Commands for Call Control Commands for Network Services 110 135 156 160 182 204 Figures Tables 142 Overall Description Content DescriptionProduct Description Description of AT Commands Overview of AT Command InterfacesA command or a response Instructions for UsePrefixed with + Types of AT CommandsCommand Format Description 1Format of a basic commandCommand Command Format Description Type 3Types and formats of extended and vendor-defined commandsRules for Running AT Commands Abort Attributes of AT CommandsChapter Describes Organization of This DocumentChapter Describes AT&F Command for Restoring Factory Settings Commands for ConfigurationAT+CIND AT+CMERAT\Q AT&C AT&DExecution command AT&V Command for Querying the Current ConfigurationExamples of Results Returned by the &V Command Error errCRLF AT&W Command for Storing the Current ConfigurationAT Commands ATS7 AT+CR ATQ Command for Controlling the Return of Execution ResultsATS3 ATS4 ATS5 String Format Numeric Meaning ATV Command for Setting the Formats of ME ResponsesConnect RingATE Command for Setting Echo ATZ Command for Restoring the Settings Saved by the UserError BusyTest command AT+CFUN Command for Setting the Work ModeQuerying the Supported Work Modes Fun Function Description RemarksSetting Value 7Relations between work modes and servicesSetvice URCSetting the Work Mode Reading the Current Work ModeRead AT+CFUN? command WriteSetting System Shutdown Atsmso Command for System ShutdownExecution Atsmso command ExamplesName string for example, +CGSM Execution AT+GCAP commandAT+GCAP +GCAP +CGSM AT+GCAP=?Querying the Error Reporting Mode Supported by the Terminal 11 AT+CMEE Command for Setting Terminal Error ReportingReading the Terminal Error Reporting Mode Test AT+CMEE=? commandSetting the Terminal Error Reporting Mode 12 AT+CSCS Command for Setting the TE CharacterTest AT+CSCS=? command Querying the Character Set Supported by the TEDefault value UCS2 Setting the Character Set of the TEReading the Character Set of the TE ValueTest ATSCFG=? command Atscfg Extended Command for Setting Configuration ItemsStr Value Value Description Reading the Settings for Configuration Items Sysstart Command for Unsolicitedly Reporting Module StartupSetting Configuration Items Read ATSCFG? commandURC Crlfshutdowncrlf AT+CMER Command for Setting Event Reporting Commands for Status ControlQuerying the Supported Settings for Event Reporting Test AT+CMER=? commandReading the Current Settings for Event Reporting AT+CIND Command for Controlling Indication EventsSetting the Event Reporting Mode IndDescr IndValue Test AT+CIND=? commandRead AT+CIND? command Setting Whether to Report Indication EventsReading the Current Indication Status Querying the Supported Report Events Atsind Extended Command for Controlling Indication EventsSysstart AT+CIND=?IndDescr IndValue Read Reading the Current Event Reporting ModeTest AT+WS46=? command AT+WS46 Command for Selecting a Radio NetworkQuerying the Supported Radio Networks CrlfsindSetting the Radio Network to Be Registered +CIEV Command for Indicating the Status ChangeRead AT+WS46? command Reading the Current Radio NetworkAT\Q Command for Enabling Software or Hardware Flow Control Commands for Serial Port ControlAT&C Command for Setting the DCD Usage State AT\Q command sets the flow control modeAT&S Command for Setting the DSR Usage State AT&D Command for Setting the DTR Usage StateTest AT+IPR=? command AT+IPR Command for Setting the Baud RateRead AT+IPR? command Querying the Supported Baud Rates of the DTE-DCESetting the Baud Rate of the DTE-DCE AT+CMUX Command for Setting MultiplexingQuerying the Supported Settings for Multiplexing Test AT+CMUX=? commandIssue 02 Huawei Proprietary and Confidential Setting Multiplexing Reading the Current Settings for MultiplexingCase of an error CRLF+CME Error errCRLF CommandAT+CPIN Command for PIN Management Commands for Security ControlChecking Whether a PIN Management Command Exists Reading the Password Entry RequestExample Enter the PIN code for unlocking Responding to the Password Entry RequestChecking the Devices Supported by This Command AT+CLCK Command for Locking and Unlocking the DeviceAT+CLCK command locks and unlocks the device AT+CPIN? +CPIN SIM PINLocking and Unlocking the Device AT+CPWD command modifies the password AT+CPWD Command for Modifying the PasswordAT+CLCK=SC,2 +CLCKTest Modifying the PasswordAT+CPWD=? Card Example Run AT+CPWD to modify the PIN code+CLCK0 ATI Command for Querying the Product Information Commands for IdentificationATI AT+CGMI/GMI Command for Querying the Vendor Information+GCAP +CGSM ATI4 Huawei MG323AT+CGMM/GMM command queries the product model AT+CGMM/GMM Command for Querying the Product ModelQuerying the Vendor Information Request Query the vendor informationExample Query the product model number Querying the Product Model Number RequestAT+CGMM MG323Example Query the software version number Querying the Software Version NumberAT+CGMR 11.810.01.00.00 OK AT+GMRChecking Whether the Command for Querying the Imei Exists AT+CGSN/GSN Command for Querying the ImeiQuerying the Imei CharChecking Whether the Command for Querying the Imsi Exists AT+CIMI Command for Querying the ImsiTest AT+CIMI=? command Querying the ImsiAT+CIMI Example Query the Imsi46009755200774 ATD Command for Originating a Call Commands for Call ControlCase of failed link establishment Crlfno Carriercrlf ATD*98# Command for Requesting the Gprs IP Service ATD*99# Command for Requesting the Gprs ServiceCarriercrlf Execution ATHn command ATH Command for Hanging Up the ConnectionCrlfconnectcrlf Reading the Settings of the Automatic Answer Data Services ATA Command for Answering a Call or Data ServicesCrlfokcrlf Crlfno CarriercrlfReading the Set Waiting Duration Request Setting Unsolicitedly Answering Data ServicesTest AT+CRLP=? command Setting the Waiting DurationQuerying the Supported RLP Parameters AT+CBST Command for Setting the Bearer Service Type Querying the Current Bearer Service Type Querying the Supported Bearer Service TypesSetting the Bearer Service Type Test AT+CBST=? commandATO Command for Switching Command Mode to Data Mode 10 +++ Command for Switching Data Mode to Command ModeExecution +++ Command Execution ATOn command13 AT+CR Command for Setting the Service Reporting Mode 12 AT+CHUP Command for Hanging Up Data Services12.2 AT+CHUP Command for Hanging Up Checking Whether AT+CHUP Hang-up Is SupportedReading the Current Settings for Service Reporting Querying the Supported Settings for Service ReportingMode integer Default value disables service reporting ConnectSetting Service Reporting 14 AT+CRC Command for Setting the Cell Result CodesQuerying the Supported Settings for the Cell Result Codes AT+CRC=?Querying the Current Settings for the Cell Result Codes 15 AT+VTS Command for Sending the Dtmf ToneSettings the Cell Result Codes AT+VTS command sends the Dtmf toneSending the Dtmf Tone Querying the Settings Supported by the AT+CLIP CommandSupported nsCRLF AT+CLIP=?Setting the Clip Reading the Settings of the Clip Service16.4 +CLIP Command for Unsolicitedly Reporting the CLI MCRLFType character string. -3 lists the values 3type values Ring Command for Unsolicitedly Reporting Incoming CallsURC Crlfringcrlf AT+COPN Command for Querying the Operator Name Commands for Network ServicesChecking Whether This Command Is Supported AT+COPN command queries the operator nameExecution AT+COPN command AT+COPS Command for Selecting OperatorsReading the List of Operators AT+COPN=?Crlfokcrlf Example Obtain the list of available operator information Setting the Current Operator InformationAT+COPS=? AT+COPS?Checking the Parameter Range Supported by This Command AT+CREG Command for Querying Network RegistrationAT+CREG command queries network registration Case of an error during command executionQuerying the Current Status of Network Registration Setting the Status of Network RegistrationAT+CREG? AT+CSQ Command for Querying the Signal QualityAT+CREG=2 CRLF+CSQ list of supported rssis,list of supported bersCRLF Querying the Current Signal Quality Atsmonc Command for Querying the Cell InformationExample Query the parameter range supported by the command AT+CSQ=?Test ATSMONC=? command Checking Whether This Command Is AvailableQuerying the Cell Information AtsmoncExample Query the current cell information ATSMONC=?Atsmonc Smonc ATSMOND=?RSSI,BER Execution Atsmond commandAtsmond BER bit error rate 0-7ATMONI=? Parameter Description 1List of parameters for the serving cellParameter values set for the ME in different states Serving cell Dedicated Channel ME has accessed the cell and registered with the networkMCC MNC LAC NCC BCC PWRCrlfcrlfokcrlf Execution Atmoni commandAtmoni ATMONI=?ATMONI=1 PWR Atmonp Command for Monitoring Idle Neighbor CellsDBm Q ChMod Execution CRLF+CME Error errCRLF Case of an error related to the MT during commandATMONP=? Obtaining the Monitoring Information About Neighbor Cells Execution Atmonp commandMonp ATMONP=?Atmonp Example Query the information about neighbor cellsATMONP=1 Chann rs DBm MCC MNC BCC 712 460 001 735 705712 20 -73 460 Atsmong Command for Gprs MonitoringBcch PAT PbcchNOM RACCrlfbcch G Pbcch PAT MCC MNC NOM TA Execution Atsmong commandATSMONG=? Example Obtain the parameter rangeSmong 1,1-100 Bcch Pbcch PAT MCC MNC NOM TA RAC AtsmongATSMONG=1,1 Bcch Pbcch PAT MCC MNC NOM RACAtsplm command reads the Plmn list Atsplm Command for Reading the Plmn List552 460 255 Querying the List of Operator Names Saved on the ME Execution Atsplm commandExample Query the list of operators saved on the ME AtsplmDefault value operator information oper in numeric format AT+CPOL command sets the list of preferred operatorsQuerying the List of Preferred Operators Setting the List of Preferred OperatorsOperator indicates an operator name in numeric format Example Add a preferred operator AT+CPOL=1,2,46000Atsplr command queries preferred operators Atsplr Command for Querying Preferred OperatorsQuerying the Current Range of Preferred Operators Indexa sequence number range supported by the SIM cardATSPLR=1,2 Atsplw Command for Writing Preferred OperatorsWriting the Information About Preferred Operators 14 AT+CNUM Command for Querying Subscriber NumbersQuerying the Msisdn Related to Subscribers Execution AT+CNUM commandCRLF+CNUM AT+CPBW=1,13903702769,145 Query the Msisdn AT+CPBS=ONAT+CNUM AT+CPBS=ON AT+CPBW=1 AT+CNUMQuerying the Supported Status of PDP Context Commands for Data ServicesAT+CGACT=? Case of an error related to the MT CRLF+CME Setting the Activation State of the PDP ContextReading the Activation State of the PDP Context AT+CGACT?AT+CGACT? +CGACT 1,0 Checking the Supported Gprs Service StateAT+CGACT=1,1 AT+CGACT?Setting the Gprs Service State Querying the Current Gprs Service StateAT+CGATT? AT+CGATT=0Checking the Supported Gprs Event Reporting Mode AT+CGEREP Command for Reporting Gprs EventsAT+CGEREP=? Setting the Gprs Event Reporting Mode Reading the Gprs Event Reporting ModeURC URC +CGEV NW Detach AT+CGDATA Command for Entering the Data ModeNetwork requests for Gprs detachment URC +CGEV MT DetachEstablishing Communication Between the TE and Network Case of failed command executionCase of failed communication establishment Crlfno AT+CGDATA=?Run +++ to quit the data mode and enter the command mode AT+CGDCONT Command for Defining the PDP ContextAT+CGDCONT? +CGDCONT1,IP,1234,0.0.0.0,0,0 Establish the communicationAT+CGDCONT=? Querying the Range of PDP Related ParametersReading the Status of the PDP Context Setting the Status of the PDP Context+CGDCONT1,IP,1234,,0,0 CRLF+CGDCONT …CRLFCRLF CrlfokcrlfQuerying the Supported PDP Index Value AT+CGPADDR Command for Reading the PDP AddressReading the PDP Address List of the Specified PDP Context AT+CGPADDR=?Read the PDP address. AT+CGPADDR=1 +CGPADDR1,192.168.50.64 When the size of SDU is 1024 octets Delay Level Average Percentile Transmission DelayQuerying the Supported QoS Parameter Range AT+CGQMIN=?Issue 02 Huawei Proprietary and Confidential 124 CRLF+CGQMIN Querying the Minimum QoS of All PDP ContextsSetting the Minimum QoS of a PDP Context AT+CGQREQ Command for Setting the Requested QoS ProfileChecking the Parameter Range Supported by the Command AT+CGQREQ=?Delay Level Average Transmission Delay Percentile Issue 02 Huawei Proprietary and Confidential 128 Querying All QoS Levels Specified by the TE Setting the QoS of a PDP ContextWrite comm Functi on Respo nse CRLF+CGQREQAT+CGREG=? 4 +CGREG Command for Reporting Unsolicitedly AT+CGSMS command sets the MT SMS bearer domain 10 AT+CGSMS Command for Selecting the MO SMS Bearer DomainQuerying the Supported SMS Bearer Domains Reading the Current SMS Bearer DomainSetting the SMS Bearer Domain Issue 02 Huawei Proprietary and Confidential 134 Atsics Command for Creating a Connection Profile Commands for Internet ServicesChecking Whether the Sics Command Is Available Atsics command can create and edit a connection profileCSD Not Supported Reading the Information About Connection ProfilesCurrently Setting the Internet Connection Profile Atsici command queries the status of the connection profile Atsici Command for Querying the Connection ProfileQuery the status of the connection profile ATSICS?Querying the Status of the Connection Profile Querying the ID of the Defined Connection ProfileATSICI=? ATSICI?Example Query the ID of the supported connection profile Displaying the Status of the Specified Connection ProfileATSICI=? ATSICI?Reading the Status of the Service Profile Atsiss Command for Creating the Service ProfileAtsiss command sets the service profile Test ATSISS=? commandSrvParmTag SrvParmValue SrvParmTag Mandatory/OptionalSetting the Internet Service Profile Querying the ID of the Defined Service Profile Atsisi Command for Querying the Service ProfileQuery the status of the service profile Atsisi command queries the status of the service profileCrlfsisi Querying the Status of the Service ProfileATSISI=? Displaying the Status of the Specified Service ProfileATSISI? Querying the Open Status of All Services Atsiso Command for Starting Internet ServicesThis command starts a specified Internet service ATSISO?Example Enable service Starting a Specified Internet ServiceATSISO=0 Stopping a Specified Internet Service Atsisc Command for Stopping Internet ServicesATSISO? Writing Data to the Buffer of a Service Atsisw Command for Writing Data for Internet ServicesTest ATSISW=? command ATSISC=0Example Check whether the command is available Sisw Command for Reporting UnsolicitedlyATSISW=? Checking Whether the Atsisr Command Is Available Atsisr Command for Internet Services to Read DataAtsisr command reads data out from the service buffer User enters 20 characters hereCrlfsisr Reading Data Out From the Buffer of an Internet ServiceExmaples Sisr Command for Reporting UnsolicitedlyURC Crlfsis srvProfileId,urcCause, urcInfoId,urcInfoTextCRLF 11.1 AT+CMGD Command for Deleting Short Messages Commands for Short MessagesAT+CMGD=? Deleting Short Messages Case of an error related to the MS CRLF+CMSExample AT+CMGD=? +CMGD1-255 Check the parameter range AT+CMGD=1Delete all the short messages that are Checking the Supported Format of Short MessagesStored on the SIM card AT+CMGF=?Reading the Format of Short Messages Setting the Format of Short MessagesAT+CMGF=0 AT+CMGF?Checking the Supported Status of Short Messages AT+CMGF=0, that is, when short messages are in PDU modeSCA Reading the List of Short MessagesOct Oct to 1Oct 12 Oct +CMGL 1,1 …Short messages in PDU mode 11.4 AT+CMGR Command for Reading Short MessagesAT+CMGL=4 AT+CMGR=?CRLF+CMS Error errCRLF When short messages are in PDU mode +CMGR=0Index of the SIM card CRLF+CME Error Reading Short MessagesTest AT+CMGS=? command 11.5 AT+CMGS Command for Sending Short MessagesThis command sends short messages in PDU mode +CMGF=0 Write commandAT+CGSMS=1 AT+CMGF=0 11.6 AT+CMGW Command for Storing Short MessagesAT+CMGS=20 Example Store a short message in PDU mode This command stores short messages in PDU mode +CMGF=0Storing Short Messages AT+CMGF=0 AT+CMGW=56When the short message is in PDU mode +CMGF=0 Test AT+CMSS=? commandSending a Short Message at the Specified Location Short message is successfully sentAT+CMGF=0 AT+CMSS=8 Example Send a stored short message in PDU modeLocation whose index is +CMSS AT+CNMI=?Issue 02 Huawei Proprietary and Confidential 169 Reading the Status of Short Message Notification Setting the Status of Short Message NotificationAT+CNMI=1,1,0,0,0 CRLF+CNMIChecking the Storage Location of Short Messages AT+CPMS command sets the storage location of short messagesAT+CPMS=? AT+CPMS? Reading the Status of Storage LocationCRLF+CPMS Setting the Storage Location 11.10 AT+CSCA Command for Setting the NumberAT+CPMS=? AT+CPMS?Response z When the Smsc has been registered Checking Whether the Command Is AvailableReading the Currently Registered Number of the Smsc Management or service. The subscriber cannot use this value Setting the Number of the SmscNumber is organized by the network Number falls within the number range of the home countryAT+CSCA? AT+CSCB command selects the type of cell messages+CSCA 1380063859 Reading the Current CBM Type Setting the Current CBM TypeExample Query the current CBM information AT+CSCB?AT+CSMS command sets the message service type 11.12 AT+CSMS Command for Setting the Message Service TypeAT+CSCB=? +CSCB 0,1Setting the Message Service Type Reading the Current Message Service TypeExample AT+CSMS=? +CSMS AT+CSMS?11.14 +CMT Command for Unsolicitedly Reporting a New SM 11.13 +CMTI Command for Unsolicitedly Reporting SMS Arrival+CMTI command is used to indicate that a new SM is received +CMT command is used to indicate that a new SM is received11.15 +CBM Command for Unsolicitedly Reporting a Cell SM Checking Whether the +CRSM Command Is Available Commands for the SIM CardAT+CRSM=? CRLF+CRSM Accessing the SIM Database13.1 AT+CPBR Command for Reading the Phone Book Commands for the Phone BookChecking the Parameter Range Supported by the +CPBR Command AT+CPBR command reads the phone bookAT+CPBR=? 13.1.2 +CPBR Command for Reading the Phone BookCRLF+CPBR 13.2 AT+CPBW Command for Writing the Phone Book Writing a Record into the Phone Book Example Query the parameter range supported by this commandAT+ CPBW=? Checking the Value Range Supported by the +CPBS Command 13.3 AT+CPBS Command for Selecting the Phone Book MemoryAT+CPBS=? Reading the Current Memory of the Phone Book Setting the Memory Type of the Phone BookAT+CPBS=? +CPBS FD,SM,ON,LD,MC,RC,EN Example+CPBS SM,23,250 Example AT+CPBS?AT+CPBS=SM Case of an error related to the MT CRLF+CME Error Commands for Hardware ControlInteger, which indicates the index of the alarm clock array 14.1 AT+CALASetting an Alarm Clock Querying the Set Alarm ClockAT+CALA? 14.1.4 +CALA Command for Reporting Unsolicitedly 14.2 AT+CCLK Command for Setting the System Time+CALA 0,0,1-16 Example Query the current alarm clock AT+CALA=?Test ATCCLK=? command Setting the System TimeQuerying the Current System Time AT+CCLK?AT+CCLK? Example Query the current system timeAtswspath Command for Switching Between Audio Channels Commands for Audio ControlThis chapter describes the AT commands for audio control Atswspath command switches the audio channelAT+CMIC command adjusts the the mircophone gain level Switching the Audio ChannelReading the Current Audio Channel Querying the Supported Microphnoe Gain LevelsSetting the Microphone Gain Level Atecho Command for Suppressing the EchoAtecho command suppresses the echo Querying the Current Microphone Gain LevelQuerying the Supported Echo Suppressing Functions Case of an errorCRLFERRORCRLFATECHO=? ATECHO?Setting the Echo Suppressing Function 15.4 AT+CLVL Command for Adjusting the Speaker VolumeQuerying the Supported Speaker Volume Level AT+CLVL command adjusts the speaker volumeReading the Current Speaker Volume 15.5 AT+CMUT Command for Muting and Unmuting the MicrophoneSetting the Speaker Volume AT+CMUT command is used to mute and unmute the microphoneReading the Curent Muting Settings of the Microphone Querying the Supported Muting Settings for the MicrophoneTest AT+CMUT=? command AT+CMUT?Setting the Muting Function of the Microphone 16.1 A/ Command for Executing the Previous Command Again Other CommandsExecution Command Execution command FunctionSetting the Command Line Ending Character Querying the Current Command Line Ending CharacterATS3? 013 Example Set the command line ending character ATS3=13 16.3 ATS4 Command for Setting the Response Format CharacterQuerying the Current Format Character CRLFnCRLFCRLFOKCRLFSetting the Response Format Character 16.4 ATS5 Command for Setting the Backspace CharacterExample Query the current response format character ATS4?Querying the Current Backspace Character Setting the Current Backspace CharacterATS5? Crlftherm modeCRLF ATS5=81List of effects on AT commands imposed by SIM PIN List of effects on AT commands imposed by SIM PINAppendix Commands for serial port control Commands for status controlCommands for security control Commands for identificationCommands for data services Commands for network servicesATS7 AT+CRLP AT+CBST ATO AT+CHUP AT+CR AT+CRC AT+VTS AT+CLIPCommands for short messages Commands for Internet servicesCommand related to the SIM card Commands for the phone bookCommands related to the hardware List of URC CommandsCommands for audio control Other commandsSIS AT+CALA Sysstart Alarm ModeAT+CGEREP AT+CGEREP +CGEV NW Detach +CGEV ME Detach3Common CME Error codes List of CME/CMS Error CodesErr Code Text AT+CMEE=2 4CME Error codes related to the Gprs 6CME Error codes related to the MG323 only 5CMS Error codes related to the SMSErr Code Text AT+CMEE=2 Not Supported Currently No +CNMA ACK ExpectedPage 7Acronyms and abbreviations Acronyms and AbbreviationsAcronym and Abbreviation Full Spelling PDU PDPPIN PlmnXER XCDWcdma
Related manuals
Manual 54 pages 46.29 Kb