Huawei MG323 manual Checking the Parameter Range Supported by this Command, At+Cgreg=?

Page 147

HUAWEI MG323 GSM M2M Module

 

AT Command Interface Specification

Commands for Data Services

9.9.1 Checking the Parameter Range Supported by this Command

Test

AT+CGREG=?

command

 

Function

Checks the parameter range supported by this command.

Response

z In case of successful execution:

 

<CR><LF>+CGREG:(list of supported <n>s)<CR><LF>

 

<CR><LF>OK<CR><LF>

 

z In case of an error during command execution:

 

<CR><LF>ERROR<CR><LF>

 

z In case of an error related to the MT during command execution:

 

<CR><LF>+CME ERROR: <err><CR><LF>

Parameter description

<n>: numeric parameter.

z0 (default value): disables the URC

z1: enables the URC“+CGREG:<stat>”

z2: enables the URC“+CGREG:<stat>[<lac>,<ci>]”

<lac>: Location Area Code (LAC)

<ci>: Cell Identity (CI)

9.9.2Querying the Parameters Unsolicitedly Reported When the Current GPRS Registration Status Changes

Read AT+CGREG? command

Function Queries the parameters unsolicitedly reported when the current GPRS registration status changes.

Response z In case of successful execution:

When <n> is not set to 2:

<CR><LF>+CGREG: <n>,<state><CR><LF> <CR><LF>OK<CR><LF>

When <n> is set to 2:

<CR><LF>+CGREG: <n>,<state>,<lac>,<ci><CR><LF> <CR><LF>OK<CR><LF>

zIn case of an error during command execution: <CR><LF>ERROR<CR><LF>

zIn case of an error related to the MT during command execution: <CR><LF>+CME ERROR: <err><CR><LF>

Issue 02 (2010-11-23)

Huawei Proprietary and Confidential

130

Copyright © Huawei Technologies Co., Ltd.

 

 

Image 147
Contents AT Command Interface Specification No Warranty About This Document HistoryVersion 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 Content Description Overall DescriptionProduct Description Instructions for Use Overview of AT Command InterfacesDescription of AT Commands A command or a responsePrefixed 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&D AT+CMERAT+CIND AT\Q AT&CAT&V Command for Querying the Current Configuration Execution commandExamples of Results Returned by the &V Command AT&W Command for Storing the Current Configuration Error errCRLFAT Commands ATQ Command for Controlling the Return of Execution Results ATS7 AT+CRATS3 ATS4 ATS5 Ring ATV Command for Setting the Formats of ME ResponsesString Format Numeric Meaning ConnectBusy ATZ Command for Restoring the Settings Saved by the UserATE Command for Setting Echo ErrorFun Function Description Remarks AT+CFUN Command for Setting the Work ModeTest command Querying the Supported Work ModesURC 7Relations between work modes and servicesSetting Value SetviceWrite Reading the Current Work ModeSetting the Work Mode Read AT+CFUN? commandExamples Atsmso Command for System ShutdownSetting System Shutdown Execution Atsmso commandAT+GCAP=? Execution AT+GCAP commandName string for example, +CGSM AT+GCAP +GCAP +CGSMTest AT+CMEE=? command 11 AT+CMEE Command for Setting Terminal Error ReportingQuerying the Error Reporting Mode Supported by the Terminal Reading the Terminal Error Reporting ModeQuerying the Character Set Supported by the TE 12 AT+CSCS Command for Setting the TE CharacterSetting the Terminal Error Reporting Mode Test AT+CSCS=? commandValue Setting the Character Set of the TEDefault value UCS2 Reading the Character Set of the TEAtscfg Extended Command for Setting Configuration Items Test ATSCFG=? commandStr Value Value Description Read ATSCFG? command Sysstart Command for Unsolicitedly Reporting Module StartupReading the Settings for Configuration Items Setting Configuration ItemsURC Crlfshutdowncrlf Test AT+CMER=? command Commands for Status ControlAT+CMER Command for Setting Event Reporting Querying the Supported Settings for Event ReportingAT+CIND Command for Controlling Indication Events Reading the Current Settings for Event ReportingSetting the Event Reporting Mode IndDescr IndValue Test AT+CIND=? commandSetting Whether to Report Indication Events Read AT+CIND? commandReading the Current Indication Status AT+CIND=? Atsind Extended Command for Controlling Indication EventsQuerying the Supported Report Events SysstartIndDescr IndValue Read Reading the Current Event Reporting ModeCrlfsind AT+WS46 Command for Selecting a Radio NetworkTest AT+WS46=? command Querying the Supported Radio NetworksReading the Current Radio Network +CIEV Command for Indicating the Status ChangeSetting the Radio Network to Be Registered Read AT+WS46? commandAT\Q command sets the flow control mode Commands for Serial Port ControlAT\Q Command for Enabling Software or Hardware Flow Control AT&C Command for Setting the DCD Usage StateAT&S Command for Setting the DSR Usage State AT&D Command for Setting the DTR Usage StateQuerying the Supported Baud Rates of the DTE-DCE AT+IPR Command for Setting the Baud RateTest AT+IPR=? command Read AT+IPR? commandTest AT+CMUX=? command AT+CMUX Command for Setting MultiplexingSetting the Baud Rate of the DTE-DCE Querying the Supported Settings for MultiplexingIssue 02 Huawei Proprietary and Confidential Command Reading the Current Settings for MultiplexingSetting Multiplexing Case of an error CRLF+CME Error errCRLFReading the Password Entry Request Commands for Security ControlAT+CPIN Command for PIN Management Checking Whether a PIN Management Command ExistsExample Enter the PIN code for unlocking Responding to the Password Entry RequestAT+CPIN? +CPIN SIM PIN AT+CLCK Command for Locking and Unlocking the DeviceChecking the Devices Supported by This Command AT+CLCK command locks and unlocks the deviceLocking and Unlocking the Device +CLCK AT+CPWD Command for Modifying the PasswordAT+CPWD command modifies the password AT+CLCK=SC,2Modifying the Password TestAT+CPWD=? Example Run AT+CPWD to modify the PIN code Card+CLCK0 ATI Command for Querying the Product Information Commands for IdentificationATI4 Huawei MG323 AT+CGMI/GMI Command for Querying the Vendor InformationATI +GCAP +CGSMQuery the vendor information AT+CGMM/GMM Command for Querying the Product ModelAT+CGMM/GMM command queries the product model Querying the Vendor Information RequestMG323 Querying the Product Model Number RequestExample Query the product model number AT+CGMM11.810.01.00.00 OK AT+GMR Querying the Software Version NumberExample Query the software version number AT+CGMRChar AT+CGSN/GSN Command for Querying the ImeiChecking Whether the Command for Querying the Imei Exists Querying the ImeiQuerying the Imsi AT+CIMI Command for Querying the ImsiChecking Whether the Command for Querying the Imsi Exists Test AT+CIMI=? commandExample Query the Imsi AT+CIMI46009755200774 Commands for Call Control ATD Command for Originating a CallCase of failed link establishment Crlfno Carriercrlf ATD*99# Command for Requesting the Gprs Service ATD*98# Command for Requesting the Gprs IP ServiceCarriercrlf ATH Command for Hanging Up the Connection Execution ATHn commandCrlfconnectcrlf Crlfno Carriercrlf ATA Command for Answering a Call or Data ServicesReading the Settings of the Automatic Answer Data Services CrlfokcrlfReading the Set Waiting Duration Request Setting Unsolicitedly Answering Data ServicesSetting the Waiting Duration Test AT+CRLP=? commandQuerying the Supported RLP Parameters AT+CBST Command for Setting the Bearer Service Type Test AT+CBST=? command Querying the Supported Bearer Service TypesQuerying the Current Bearer Service Type Setting the Bearer Service TypeExecution ATOn command 10 +++ Command for Switching Data Mode to Command ModeATO Command for Switching Command Mode to Data Mode Execution +++ CommandChecking Whether AT+CHUP Hang-up Is Supported 12 AT+CHUP Command for Hanging Up Data Services13 AT+CR Command for Setting the Service Reporting Mode 12.2 AT+CHUP Command for Hanging UpConnect Querying the Supported Settings for Service ReportingReading the Current Settings for Service Reporting Mode integer Default value disables service reportingAT+CRC=? 14 AT+CRC Command for Setting the Cell Result CodesSetting Service Reporting Querying the Supported Settings for the Cell Result CodesAT+VTS command sends the Dtmf tone 15 AT+VTS Command for Sending the Dtmf ToneQuerying the Current Settings for the Cell Result Codes Settings the Cell Result CodesAT+CLIP=? Querying the Settings Supported by the AT+CLIP CommandSending the Dtmf Tone Supported nsCRLFMCRLF Reading the Settings of the Clip ServiceSetting the Clip 16.4 +CLIP Command for Unsolicitedly Reporting the CLIRing Command for Unsolicitedly Reporting Incoming Calls Type character string. -3 lists the values 3type valuesURC Crlfringcrlf AT+COPN command queries the operator name Commands for Network ServicesAT+COPN Command for Querying the Operator Name Checking Whether This Command Is SupportedAT+COPN=? AT+COPS Command for Selecting OperatorsExecution AT+COPN command Reading the List of OperatorsCrlfokcrlf AT+COPS? Setting the Current Operator InformationExample Obtain the list of available operator information AT+COPS=?Case of an error during command execution AT+CREG Command for Querying Network RegistrationChecking the Parameter Range Supported by This Command AT+CREG command queries network registrationQuerying the Current Status of Network Registration Setting the Status of Network RegistrationAT+CSQ Command for Querying the Signal Quality AT+CREG?AT+CREG=2 CRLF+CSQ list of supported rssis,list of supported bersCRLF AT+CSQ=? Atsmonc Command for Querying the Cell InformationQuerying the Current Signal Quality Example Query the parameter range supported by the commandAtsmonc Checking Whether This Command Is AvailableTest ATSMONC=? command Querying the Cell InformationATSMOND=? ATSMONC=?Example Query the current cell information Atsmonc SmoncRSSI,BER Execution Atsmond commandBER bit error rate 0-7 AtsmondATMONI=? 1List of parameters for the serving cell Parameter DescriptionParameter values set for the ME in different states NCC BCC PWR ME has accessed the cell and registered with the networkServing cell Dedicated Channel MCC MNC LACCrlfcrlfokcrlf Execution Atmoni commandATMONI=? AtmoniATMONI=1 Atmonp Command for Monitoring Idle Neighbor Cells PWRDBm Q ChMod Case of an error related to the MT during command Execution CRLF+CME Error errCRLFATMONP=? Obtaining the Monitoring Information About Neighbor Cells Execution Atmonp commandMonp ATMONP=?Chann rs DBm MCC MNC BCC 712 460 001 735 705 Example Query the information about neighbor cellsAtmonp ATMONP=1Atsmong Command for Gprs Monitoring 712 20 -73 460Bcch RAC PbcchPAT NOMCrlfbcch G Pbcch PAT MCC MNC NOM TA Execution Atsmong commandExample Obtain the parameter range ATSMONG=?Smong 1,1-100 Bcch Pbcch PAT MCC MNC NOM RAC AtsmongBcch Pbcch PAT MCC MNC NOM TA RAC ATSMONG=1,1Atsplm Command for Reading the Plmn List Atsplm command reads the Plmn list552 460 255 Atsplm Execution Atsplm commandQuerying the List of Operator Names Saved on the ME Example Query the list of operators saved on the MEDefault value operator information oper in numeric format AT+CPOL command sets the list of preferred operatorsExample Add a preferred operator AT+CPOL=1,2,46000 Setting the List of Preferred OperatorsQuerying the List of Preferred Operators Operator indicates an operator name in numeric formatIndexa sequence number range supported by the SIM card Atsplr Command for Querying Preferred OperatorsAtsplr command queries preferred operators Querying the Current Range of Preferred OperatorsATSPLR=1,2 Atsplw Command for Writing Preferred OperatorsWriting the Information About Preferred Operators 14 AT+CNUM Command for Querying Subscriber NumbersExecution AT+CNUM command Querying the Msisdn Related to SubscribersCRLF+CNUM AT+CPBS=ON AT+CPBW=1 AT+CNUM AT+CPBS=ONAT+CPBW=1,13903702769,145 Query the Msisdn AT+CNUMCommands for Data Services Querying the Supported Status of PDP ContextAT+CGACT=? AT+CGACT? Setting the Activation State of the PDP ContextCase of an error related to the MT CRLF+CME Reading the Activation State of the PDP ContextAT+CGACT? Checking the Supported Gprs Service StateAT+CGACT? +CGACT 1,0 AT+CGACT=1,1AT+CGATT=0 Querying the Current Gprs Service StateSetting the Gprs Service State AT+CGATT?AT+CGEREP Command for Reporting Gprs Events Checking the Supported Gprs Event Reporting ModeAT+CGEREP=? Reading the Gprs Event Reporting Mode Setting the Gprs Event Reporting ModeURC URC +CGEV MT Detach AT+CGDATA Command for Entering the Data ModeURC +CGEV NW Detach Network requests for Gprs detachmentAT+CGDATA=? Case of failed command executionEstablishing Communication Between the TE and Network Case of failed communication establishment Crlfno+CGDCONT1,IP,1234,0.0.0.0,0,0 Establish the communication AT+CGDCONT Command for Defining the PDP ContextRun +++ to quit the data mode and enter the command mode AT+CGDCONT?AT+CGDCONT=? Querying the Range of PDP Related ParametersCRLF+CGDCONT …CRLFCRLF Crlfokcrlf Setting the Status of the PDP ContextReading the Status of the PDP Context +CGDCONT1,IP,1234,,0,0AT+CGPADDR=? AT+CGPADDR Command for Reading the PDP AddressQuerying the Supported PDP Index Value Reading the PDP Address List of the Specified PDP ContextRead the PDP address. AT+CGPADDR=1 +CGPADDR1,192.168.50.64 AT+CGQMIN=? Delay Level Average Percentile Transmission DelayWhen the size of SDU is 1024 octets Querying the Supported QoS Parameter RangeIssue 02 Huawei Proprietary and Confidential 124 CRLF+CGQMIN Querying the Minimum QoS of All PDP ContextsAT+CGQREQ=? AT+CGQREQ Command for Setting the Requested QoS ProfileSetting the Minimum QoS of a PDP Context Checking the Parameter Range Supported by the CommandDelay Level Average Transmission Delay Percentile Issue 02 Huawei Proprietary and Confidential 128 CRLF+CGQREQ Setting the QoS of a PDP ContextQuerying All QoS Levels Specified by the TE Write comm Functi on Respo nseAT+CGREG=? 4 +CGREG Command for Reporting Unsolicitedly Reading the Current SMS Bearer Domain 10 AT+CGSMS Command for Selecting the MO SMS Bearer DomainAT+CGSMS command sets the MT SMS bearer domain Querying the Supported SMS Bearer DomainsSetting the SMS Bearer Domain Issue 02 Huawei Proprietary and Confidential 134 Atsics command can create and edit a connection profile Commands for Internet ServicesAtsics Command for Creating a Connection Profile Checking Whether the Sics Command Is AvailableReading the Information About Connection Profiles CSD Not SupportedCurrently Setting the Internet Connection Profile ATSICS? Atsici Command for Querying the Connection ProfileAtsici command queries the status of the connection profile Query the status of the connection profileATSICI? Querying the ID of the Defined Connection ProfileQuerying the Status of the Connection Profile ATSICI=?ATSICI? Displaying the Status of the Specified Connection ProfileExample Query the ID of the supported connection profile ATSICI=?Test ATSISS=? command Atsiss Command for Creating the Service ProfileReading the Status of the Service Profile Atsiss command sets the service profileSrvParmTag SrvParmValue SrvParmTag Mandatory/OptionalSetting the Internet Service Profile Atsisi command queries the status of the service profile Atsisi Command for Querying the Service ProfileQuerying the ID of the Defined Service Profile Query the status of the service profileCrlfsisi Querying the Status of the Service ProfileDisplaying the Status of the Specified Service Profile ATSISI=?ATSISI? ATSISO? Atsiso Command for Starting Internet ServicesQuerying the Open Status of All Services This command starts a specified Internet serviceStarting a Specified Internet Service Example Enable serviceATSISO=0 Atsisc Command for Stopping Internet Services Stopping a Specified Internet ServiceATSISO? ATSISC=0 Atsisw Command for Writing Data for Internet ServicesWriting Data to the Buffer of a Service Test ATSISW=? commandSisw Command for Reporting Unsolicitedly Example Check whether the command is availableATSISW=? User enters 20 characters here Atsisr Command for Internet Services to Read DataChecking Whether the Atsisr Command Is Available Atsisr command reads data out from the service bufferCrlfsisr Reading Data Out From the Buffer of an Internet ServiceExmaples Sisr Command for Reporting UnsolicitedlyURC Crlfsis srvProfileId,urcCause, urcInfoId,urcInfoTextCRLF Commands for Short Messages 11.1 AT+CMGD Command for Deleting Short MessagesAT+CMGD=? AT+CMGD=1 Case of an error related to the MS CRLF+CMSDeleting Short Messages Example AT+CMGD=? +CMGD1-255 Check the parameter rangeAT+CMGF=? Checking the Supported Format of Short MessagesDelete all the short messages that are Stored on the SIM cardAT+CMGF? Setting the Format of Short MessagesReading the Format of Short Messages AT+CMGF=0Checking the Supported Status of Short Messages AT+CMGF=0, that is, when short messages are in PDU modeReading the List of Short Messages SCAOct Oct to 1Oct 12 Oct AT+CMGR=? 11.4 AT+CMGR Command for Reading Short Messages+CMGL 1,1 …Short messages in PDU mode AT+CMGL=4Reading Short Messages When short messages are in PDU mode +CMGR=0CRLF+CMS Error errCRLF Index of the SIM card CRLF+CME ErrorWrite command 11.5 AT+CMGS Command for Sending Short MessagesTest AT+CMGS=? command This command sends short messages in PDU mode +CMGF=011.6 AT+CMGW Command for Storing Short Messages AT+CGSMS=1 AT+CMGF=0AT+CMGS=20 AT+CMGF=0 AT+CMGW=56 This command stores short messages in PDU mode +CMGF=0Example Store a short message in PDU mode Storing Short MessagesShort message is successfully sent Test AT+CMSS=? commandWhen the short message is in PDU mode +CMGF=0 Sending a Short Message at the Specified LocationAT+CNMI=? Example Send a stored short message in PDU modeAT+CMGF=0 AT+CMSS=8 Location whose index is +CMSSIssue 02 Huawei Proprietary and Confidential 169 CRLF+CNMI Setting the Status of Short Message NotificationReading the Status of Short Message Notification AT+CNMI=1,1,0,0,0AT+CPMS command sets the storage location of short messages Checking the Storage Location of Short MessagesAT+CPMS=? Reading the Status of Storage Location AT+CPMS?CRLF+CPMS AT+CPMS? 11.10 AT+CSCA Command for Setting the NumberSetting the Storage Location AT+CPMS=?Checking Whether the Command Is Available Response z When the Smsc has been registeredReading the Currently Registered Number of the Smsc Number falls within the number range of the home country Setting the Number of the SmscManagement or service. The subscriber cannot use this value Number is organized by the networkAT+CSCB command selects the type of cell messages AT+CSCA?+CSCA 1380063859 AT+CSCB? Setting the Current CBM TypeReading the Current CBM Type Example Query the current CBM information+CSCB 0,1 11.12 AT+CSMS Command for Setting the Message Service TypeAT+CSMS command sets the message service type AT+CSCB=?AT+CSMS? Reading the Current Message Service TypeSetting the Message Service Type Example AT+CSMS=? +CSMS+CMT command is used to indicate that a new SM is received 11.13 +CMTI Command for Unsolicitedly Reporting SMS Arrival11.14 +CMT Command for Unsolicitedly Reporting a New SM +CMTI command is used to indicate that a new SM is received11.15 +CBM Command for Unsolicitedly Reporting a Cell SM Commands for the SIM Card Checking Whether the +CRSM Command Is AvailableAT+CRSM=? CRLF+CRSM Accessing the SIM DatabaseAT+CPBR command reads the phone book Commands for the Phone Book13.1 AT+CPBR Command for Reading the Phone Book Checking the Parameter Range Supported by the +CPBR Command13.1.2 +CPBR Command for Reading the Phone Book AT+CPBR=?CRLF+CPBR 13.2 AT+CPBW Command for Writing the Phone Book Example Query the parameter range supported by this command Writing a Record into the Phone BookAT+ CPBW=? 13.3 AT+CPBS Command for Selecting the Phone Book Memory Checking the Value Range Supported by the +CPBS CommandAT+CPBS=? +CPBS FD,SM,ON,LD,MC,RC,EN Example Setting the Memory Type of the Phone BookReading the Current Memory of the Phone Book AT+CPBS=?AT+CPBS? +CPBS SM,23,250 ExampleAT+CPBS=SM 14.1 AT+CALA Commands for Hardware ControlCase of an error related to the MT CRLF+CME Error Integer, which indicates the index of the alarm clock arrayQuerying the Set Alarm Clock Setting an Alarm ClockAT+CALA? AT+CALA=? 14.2 AT+CCLK Command for Setting the System Time14.1.4 +CALA Command for Reporting Unsolicitedly +CALA 0,0,1-16 Example Query the current alarm clockAT+CCLK? Setting the System TimeTest ATCCLK=? command Querying the Current System TimeAT+CCLK? Example Query the current system timeAtswspath command switches the audio channel Commands for Audio ControlAtswspath Command for Switching Between Audio Channels This chapter describes the AT commands for audio controlQuerying the Supported Microphnoe Gain Levels Switching the Audio ChannelAT+CMIC command adjusts the the mircophone gain level Reading the Current Audio ChannelQuerying the Current Microphone Gain Level Atecho Command for Suppressing the EchoSetting the Microphone Gain Level Atecho command suppresses the echoATECHO? Case of an errorCRLFERRORCRLFQuerying the Supported Echo Suppressing Functions ATECHO=?AT+CLVL command adjusts the speaker volume 15.4 AT+CLVL Command for Adjusting the Speaker VolumeSetting the Echo Suppressing Function Querying the Supported Speaker Volume LevelAT+CMUT command is used to mute and unmute the microphone 15.5 AT+CMUT Command for Muting and Unmuting the MicrophoneReading the Current Speaker Volume Setting the Speaker VolumeAT+CMUT? Querying the Supported Muting Settings for the MicrophoneReading the Curent Muting Settings of the Microphone Test AT+CMUT=? commandSetting the Muting Function of the Microphone Execution command Function Other Commands16.1 A/ Command for Executing the Previous Command Again Execution CommandQuerying the Current Command Line Ending Character Setting the Command Line Ending CharacterATS3? CRLFnCRLFCRLFOKCRLF 16.3 ATS4 Command for Setting the Response Format Character013 Example Set the command line ending character ATS3=13 Querying the Current Format CharacterATS4? 16.4 ATS5 Command for Setting the Backspace CharacterSetting the Response Format Character Example Query the current response format characterSetting the Current Backspace Character Querying the Current Backspace CharacterATS5? Crlftherm modeCRLF ATS5=8List of effects on AT commands imposed by SIM PIN 1List of effects on AT commands imposed by SIM PINAppendix Commands for identification Commands for status controlCommands for serial port control Commands for security controlATO AT+CHUP AT+CR AT+CRC AT+VTS AT+CLIP Commands for network servicesCommands for data services ATS7 AT+CRLP AT+CBSTCommands for the phone book Commands for Internet servicesCommands for short messages Command related to the SIM cardOther commands List of URC CommandsCommands related to the hardware Commands for audio controlAT+CGEREP +CGEV NW Detach +CGEV ME Detach AT+CALA Sysstart Alarm ModeSIS AT+CGEREPList of CME/CMS Error Codes 3Common CME Error codesErr Code Text AT+CMEE=2 4CME Error codes related to the Gprs No +CNMA ACK Expected 5CMS Error codes related to the SMS6CME Error codes related to the MG323 only Err Code Text AT+CMEE=2 Not Supported CurrentlyPage Acronyms and Abbreviations 7Acronyms and abbreviationsAcronym and Abbreviation Full Spelling Plmn PDPPDU PINXCD XERWcdma
Related manuals
Manual 54 pages 46.29 Kb