Huawei MG323 Reading the Gprs Event Reporting Mode, Setting the Gprs Event Reporting Mode, Urc

Page 132

HUAWEI MG323 GSM M2M Module

 

AT Command Interface Specification

Commands for Data Services

9.3.2 Reading the GPRS Event Reporting Mode

Read

AT+CGEREP?

command

 

Function

Reads the GPRS event reporting mode.

Response

z In case of successful execution: <CR><LF>+CGEREP:

 

<mode>,<bfr><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: <CR><LF>+CME ERROR: <err><CR><LF>

9.3.3Setting the GPRS Event Reporting Mode

Write

AT+CGEREP=[<mode>[,<bfr>]]

command

 

Function

Sets the GPRS event reporting mode.

Response

z In case of successful execution: <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: <CR><LF>+CME ERROR:

 

<err><CR><LF>

Unsolicited event reporting

URC 1

+CGEV: REJECT <PDP_type>, <PDP_addr>

The MT disables the reporting of +CRING to the TE. The request for activating the PDP context on the network is automatically rejected.

URC 2

+CGEV: NW REACT <PDP_type>, <PDP_addr>, [<cid>]

The network requests for re-activating the PDP context. The <cid> parameter is used to re-activate the PDP context.

URC 3

+CGEV: NW DEACT <PDP_type>, <PDP_addr>, [<cid>]

The network requests for deactivating the PDP context. The <cid> parameter is used to activate the PDP context.

URC 4

+CGEV: MT DEACT <PDP_type>, <PDP_addr>, [<cid>]

Issue 02 (2010-11-23)

Huawei Proprietary and Confidential

115

Copyright © Huawei Technologies Co., Ltd.

 

 

Image 132
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 Overview of AT Command Interfaces Description of AT CommandsA command or a response Instructions for UseTypes of AT Commands Prefixed with +1Format of a basic command Command Format Description3Types and formats of extended and vendor-defined commands Command Command Format Description TypeAbort Attributes of AT Commands Rules for Running AT CommandsOrganization of This Document Chapter DescribesChapter Describes Commands for Configuration AT&F Command for Restoring Factory SettingsAT+CMER AT+CINDAT\Q AT&C AT&DAT&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 ATV Command for Setting the Formats of ME Responses String Format Numeric MeaningConnect RingATZ Command for Restoring the Settings Saved by the User ATE Command for Setting EchoError BusyAT+CFUN Command for Setting the Work Mode Test commandQuerying the Supported Work Modes Fun Function Description Remarks7Relations between work modes and services Setting ValueSetvice URCReading the Current Work Mode Setting the Work ModeRead AT+CFUN? command WriteAtsmso Command for System Shutdown Setting System ShutdownExecution Atsmso command ExamplesExecution AT+GCAP command Name string for example, +CGSMAT+GCAP +GCAP +CGSM AT+GCAP=?11 AT+CMEE Command for Setting Terminal Error Reporting Querying the Error Reporting Mode Supported by the TerminalReading the Terminal Error Reporting Mode Test AT+CMEE=? command12 AT+CSCS Command for Setting the TE Character Setting the Terminal Error Reporting ModeTest AT+CSCS=? command Querying the Character Set Supported by the TESetting the Character Set of the TE Default value UCS2Reading the Character Set of the TE ValueAtscfg Extended Command for Setting Configuration Items Test ATSCFG=? commandStr Value Value Description Sysstart Command for Unsolicitedly Reporting Module Startup Reading the Settings for Configuration ItemsSetting Configuration Items Read ATSCFG? commandURC Crlfshutdowncrlf Commands for Status Control AT+CMER Command for Setting Event ReportingQuerying the Supported Settings for Event Reporting Test AT+CMER=? commandAT+CIND Command for Controlling Indication Events Reading the Current Settings for Event ReportingSetting the Event Reporting Mode Test AT+CIND=? command IndDescr IndValueSetting Whether to Report Indication Events Read AT+CIND? commandReading the Current Indication Status Atsind Extended Command for Controlling Indication Events Querying the Supported Report EventsSysstart AT+CIND=?IndDescr IndValue Reading the Current Event Reporting Mode ReadAT+WS46 Command for Selecting a Radio Network Test AT+WS46=? commandQuerying the Supported Radio Networks Crlfsind+CIEV Command for Indicating the Status Change Setting the Radio Network to Be RegisteredRead AT+WS46? command Reading the Current Radio NetworkCommands for Serial Port Control AT\Q Command for Enabling Software or Hardware Flow ControlAT&C Command for Setting the DCD Usage State AT\Q command sets the flow control modeAT&D Command for Setting the DTR Usage State AT&S Command for Setting the DSR Usage StateAT+IPR Command for Setting the Baud Rate Test AT+IPR=? commandRead AT+IPR? command Querying the Supported Baud Rates of the DTE-DCEAT+CMUX Command for Setting Multiplexing Setting the Baud Rate of the DTE-DCEQuerying the Supported Settings for Multiplexing Test AT+CMUX=? commandIssue 02 Huawei Proprietary and Confidential Reading the Current Settings for Multiplexing Setting MultiplexingCase of an error CRLF+CME Error errCRLF CommandCommands for Security Control AT+CPIN Command for PIN ManagementChecking Whether a PIN Management Command Exists Reading the Password Entry RequestResponding to the Password Entry Request Example Enter the PIN code for unlockingAT+CLCK Command for Locking and Unlocking the Device Checking the Devices Supported by This CommandAT+CLCK command locks and unlocks the device AT+CPIN? +CPIN SIM PINLocking and Unlocking the Device AT+CPWD Command for Modifying the Password AT+CPWD command modifies the passwordAT+CLCK=SC,2 +CLCKModifying the Password TestAT+CPWD=? Example Run AT+CPWD to modify the PIN code Card+CLCK0 Commands for Identification ATI Command for Querying the Product InformationAT+CGMI/GMI Command for Querying the Vendor Information ATI+GCAP +CGSM ATI4 Huawei MG323AT+CGMM/GMM Command for Querying the Product Model AT+CGMM/GMM command queries the product modelQuerying the Vendor Information Request Query the vendor informationQuerying the Product Model Number Request Example Query the product model numberAT+CGMM MG323Querying the Software Version Number Example Query the software version numberAT+CGMR 11.810.01.00.00 OK AT+GMRAT+CGSN/GSN Command for Querying the Imei Checking Whether the Command for Querying the Imei ExistsQuerying the Imei CharAT+CIMI Command for Querying the Imsi Checking Whether the Command for Querying the Imsi ExistsTest AT+CIMI=? command Querying the ImsiExample 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 ATA Command for Answering a Call or Data Services Reading the Settings of the Automatic Answer Data ServicesCrlfokcrlf Crlfno CarriercrlfSetting Unsolicitedly Answering Data Services Reading the Set Waiting Duration RequestSetting the Waiting Duration Test AT+CRLP=? commandQuerying the Supported RLP Parameters AT+CBST Command for Setting the Bearer Service Type Querying the Supported Bearer Service Types Querying the Current Bearer Service TypeSetting the Bearer Service Type Test AT+CBST=? command10 +++ Command for Switching Data Mode to Command Mode ATO Command for Switching Command Mode to Data ModeExecution +++ Command Execution ATOn command12 AT+CHUP Command for Hanging Up Data Services 13 AT+CR Command for Setting the Service Reporting Mode12.2 AT+CHUP Command for Hanging Up Checking Whether AT+CHUP Hang-up Is SupportedQuerying the Supported Settings for Service Reporting Reading the Current Settings for Service ReportingMode integer Default value disables service reporting Connect14 AT+CRC Command for Setting the Cell Result Codes Setting Service ReportingQuerying the Supported Settings for the Cell Result Codes AT+CRC=?15 AT+VTS Command for Sending the Dtmf Tone Querying the Current Settings for the Cell Result CodesSettings the Cell Result Codes AT+VTS command sends the Dtmf toneQuerying the Settings Supported by the AT+CLIP Command Sending the Dtmf ToneSupported nsCRLF AT+CLIP=?Reading the Settings of the Clip Service Setting the Clip16.4 +CLIP Command for Unsolicitedly Reporting the CLI MCRLFRing Command for Unsolicitedly Reporting Incoming Calls Type character string. -3 lists the values 3type valuesURC Crlfringcrlf Commands for Network Services AT+COPN Command for Querying the Operator NameChecking Whether This Command Is Supported AT+COPN command queries the operator nameAT+COPS Command for Selecting Operators Execution AT+COPN commandReading the List of Operators AT+COPN=?Crlfokcrlf Setting the Current Operator Information Example Obtain the list of available operator informationAT+COPS=? AT+COPS?AT+CREG Command for Querying Network Registration Checking the Parameter Range Supported by This CommandAT+CREG command queries network registration Case of an error during command executionSetting the Status of Network Registration Querying the Current 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 Atsmonc Command for Querying the Cell Information Querying the Current Signal QualityExample Query the parameter range supported by the command AT+CSQ=?Checking Whether This Command Is Available Test ATSMONC=? commandQuerying the Cell Information AtsmoncATSMONC=? Example Query the current cell informationAtsmonc Smonc ATSMOND=?Execution Atsmond command RSSI,BERBER bit error rate 0-7 AtsmondATMONI=? 1List of parameters for the serving cell Parameter DescriptionParameter values set for the ME in different states ME has accessed the cell and registered with the network Serving cell Dedicated ChannelMCC MNC LAC NCC BCC PWRExecution Atmoni command CrlfcrlfokcrlfATMONI=? 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=? Execution Atmonp command Obtaining the Monitoring Information About Neighbor CellsATMONP=? MonpExample Query the information about neighbor cells AtmonpATMONP=1 Chann rs DBm MCC MNC BCC 712 460 001 735 705Atsmong Command for Gprs Monitoring 712 20 -73 460Bcch Pbcch PATNOM RACExecution Atsmong command Crlfbcch G Pbcch PAT MCC MNC NOM TAExample Obtain the parameter range ATSMONG=?Smong 1,1-100 Atsmong Bcch Pbcch PAT MCC MNC NOM TA RACATSMONG=1,1 Bcch Pbcch PAT MCC MNC NOM RACAtsplm Command for Reading the Plmn List Atsplm command reads the Plmn list552 460 255 Execution Atsplm command Querying the List of Operator Names Saved on the MEExample Query the list of operators saved on the ME AtsplmAT+CPOL command sets the list of preferred operators Default value operator information oper in numeric formatSetting the List of Preferred Operators Querying the List of Preferred OperatorsOperator indicates an operator name in numeric format Example Add a preferred operator AT+CPOL=1,2,46000Atsplr Command for Querying Preferred Operators Atsplr command queries preferred operatorsQuerying the Current Range of Preferred Operators Indexa sequence number range supported by the SIM cardAtsplw Command for Writing Preferred Operators ATSPLR=1,214 AT+CNUM Command for Querying Subscriber Numbers Writing the Information About Preferred OperatorsExecution AT+CNUM command Querying the Msisdn Related to SubscribersCRLF+CNUM AT+CPBS=ON AT+CPBW=1,13903702769,145 Query the MsisdnAT+CNUM AT+CPBS=ON AT+CPBW=1 AT+CNUMCommands for Data Services Querying the Supported Status of PDP ContextAT+CGACT=? Setting the Activation State of the PDP Context Case of an error related to the MT CRLF+CMEReading the Activation State of the PDP Context AT+CGACT?Checking the Supported Gprs Service State AT+CGACT? +CGACT 1,0AT+CGACT=1,1 AT+CGACT?Querying the Current Gprs Service State Setting the Gprs Service StateAT+CGATT? AT+CGATT=0AT+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 AT+CGDATA Command for Entering the Data Mode URC +CGEV NW DetachNetwork requests for Gprs detachment URC +CGEV MT DetachCase of failed command execution Establishing Communication Between the TE and NetworkCase of failed communication establishment Crlfno AT+CGDATA=?AT+CGDCONT Command for Defining the PDP Context Run +++ to quit the data mode and enter the command modeAT+CGDCONT? +CGDCONT1,IP,1234,0.0.0.0,0,0 Establish the communicationQuerying the Range of PDP Related Parameters AT+CGDCONT=?Setting the Status of the PDP Context Reading the Status of the PDP Context+CGDCONT1,IP,1234,,0,0 CRLF+CGDCONT …CRLFCRLF CrlfokcrlfAT+CGPADDR Command for Reading the PDP Address Querying the Supported PDP Index ValueReading the PDP Address List of the Specified PDP Context AT+CGPADDR=?Read the PDP address. AT+CGPADDR=1 +CGPADDR1,192.168.50.64 Delay Level Average Percentile Transmission Delay When the size of SDU is 1024 octetsQuerying the Supported QoS Parameter Range AT+CGQMIN=?Issue 02 Huawei Proprietary and Confidential 124 Querying the Minimum QoS of All PDP Contexts CRLF+CGQMINAT+CGQREQ Command for Setting the Requested QoS Profile Setting the Minimum QoS of a PDP ContextChecking the Parameter Range Supported by the Command AT+CGQREQ=?Delay Level Average Transmission Delay Percentile Issue 02 Huawei Proprietary and Confidential 128 Setting the QoS of a PDP Context Querying All QoS Levels Specified by the TEWrite comm Functi on Respo nse CRLF+CGQREQAT+CGREG=? 4 +CGREG Command for Reporting Unsolicitedly 10 AT+CGSMS Command for Selecting the MO SMS Bearer Domain AT+CGSMS command sets the MT 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 Commands for Internet Services Atsics Command for Creating a Connection ProfileChecking Whether the Sics Command Is Available Atsics command can create and edit a connection profileReading the Information About Connection Profiles CSD Not SupportedCurrently Setting the Internet Connection Profile Atsici Command for Querying the Connection Profile Atsici command queries the status of the connection profileQuery the status of the connection profile ATSICS?Querying the ID of the Defined Connection Profile Querying the Status of the Connection ProfileATSICI=? ATSICI?Displaying the Status of the Specified Connection Profile Example Query the ID of the supported connection profileATSICI=? ATSICI?Atsiss Command for Creating the Service Profile Reading the Status of the Service ProfileAtsiss command sets the service profile Test ATSISS=? commandSrvParmTag Mandatory/Optional SrvParmTag SrvParmValueSetting the Internet Service Profile Atsisi Command for Querying the Service Profile Querying the ID of the Defined Service ProfileQuery the status of the service profile Atsisi command queries the status of the service profileQuerying the Status of the Service Profile CrlfsisiDisplaying the Status of the Specified Service Profile ATSISI=?ATSISI? Atsiso Command for Starting Internet Services Querying the Open Status of All ServicesThis command starts a specified Internet service ATSISO?Starting a Specified Internet Service Example Enable serviceATSISO=0 Atsisc Command for Stopping Internet Services Stopping a Specified Internet ServiceATSISO? Atsisw Command for Writing Data for Internet Services Writing Data to the Buffer of a ServiceTest ATSISW=? command ATSISC=0Sisw Command for Reporting Unsolicitedly Example Check whether the command is availableATSISW=? Atsisr Command for Internet Services to Read Data Checking Whether the Atsisr Command Is AvailableAtsisr command reads data out from the service buffer User enters 20 characters hereReading Data Out From the Buffer of an Internet Service CrlfsisrSisr Command for Reporting Unsolicitedly ExmaplesURC Crlfsis srvProfileId,urcCause, urcInfoId,urcInfoTextCRLF Commands for Short Messages 11.1 AT+CMGD Command for Deleting Short MessagesAT+CMGD=? Case of an error related to the MS CRLF+CMS Deleting Short MessagesExample AT+CMGD=? +CMGD1-255 Check the parameter range AT+CMGD=1Checking the Supported Format of Short Messages Delete all the short messages that areStored on the SIM card AT+CMGF=?Setting the Format of Short Messages Reading the Format of Short MessagesAT+CMGF=0 AT+CMGF?AT+CMGF=0, that is, when short messages are in PDU mode Checking the Supported Status of Short MessagesReading the List of Short Messages SCAOct Oct to 1Oct 12 Oct 11.4 AT+CMGR Command for Reading Short Messages +CMGL 1,1 …Short messages in PDU modeAT+CMGL=4 AT+CMGR=?When short messages are in PDU mode +CMGR=0 CRLF+CMS Error errCRLFIndex of the SIM card CRLF+CME Error Reading Short Messages11.5 AT+CMGS Command for Sending Short Messages Test AT+CMGS=? commandThis command sends short messages in PDU mode +CMGF=0 Write command11.6 AT+CMGW Command for Storing Short Messages AT+CGSMS=1 AT+CMGF=0AT+CMGS=20 This command stores short messages in PDU mode +CMGF=0 Example Store a short message in PDU modeStoring Short Messages AT+CMGF=0 AT+CMGW=56Test AT+CMSS=? command When the short message is in PDU mode +CMGF=0Sending a Short Message at the Specified Location Short message is successfully sentExample Send a stored short message in PDU mode AT+CMGF=0 AT+CMSS=8Location whose index is +CMSS AT+CNMI=?Issue 02 Huawei Proprietary and Confidential 169 Setting the Status of Short Message Notification Reading the Status of Short Message NotificationAT+CNMI=1,1,0,0,0 CRLF+CNMIAT+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 11.10 AT+CSCA Command for Setting the Number Setting the Storage LocationAT+CPMS=? AT+CPMS?Checking Whether the Command Is Available Response z When the Smsc has been registeredReading the Currently Registered Number of the Smsc Setting the Number of the Smsc Management or service. The subscriber cannot use this valueNumber is organized by the network Number falls within the number range of the home countryAT+CSCB command selects the type of cell messages AT+CSCA?+CSCA 1380063859 Setting the Current CBM Type Reading the Current CBM TypeExample Query the current CBM information AT+CSCB?11.12 AT+CSMS Command for Setting the Message Service Type AT+CSMS command sets the message service typeAT+CSCB=? +CSCB 0,1Reading the Current Message Service Type Setting the Message Service TypeExample AT+CSMS=? +CSMS AT+CSMS?11.13 +CMTI Command for Unsolicitedly Reporting SMS Arrival 11.14 +CMT Command for Unsolicitedly Reporting a New SM+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 Commands for the SIM Card Checking Whether the +CRSM Command Is AvailableAT+CRSM=? Accessing the SIM Database CRLF+CRSMCommands for the Phone Book 13.1 AT+CPBR Command for Reading the Phone BookChecking the Parameter Range Supported by the +CPBR Command AT+CPBR command reads the phone book13.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=? Setting the Memory Type of the Phone Book Reading the Current Memory of the Phone BookAT+CPBS=? +CPBS FD,SM,ON,LD,MC,RC,EN ExampleAT+CPBS? +CPBS SM,23,250 ExampleAT+CPBS=SM Commands for Hardware Control Case of an error related to the MT CRLF+CME ErrorInteger, which indicates the index of the alarm clock array 14.1 AT+CALAQuerying the Set Alarm Clock Setting an Alarm ClockAT+CALA? 14.2 AT+CCLK Command for Setting the System Time 14.1.4 +CALA Command for Reporting Unsolicitedly+CALA 0,0,1-16 Example Query the current alarm clock AT+CALA=?Setting the System Time Test ATCCLK=? commandQuerying the Current System Time AT+CCLK?Example Query the current system time AT+CCLK?Commands for Audio Control Atswspath Command for Switching Between Audio ChannelsThis chapter describes the AT commands for audio control Atswspath command switches the audio channelSwitching the Audio Channel AT+CMIC command adjusts the the mircophone gain levelReading the Current Audio Channel Querying the Supported Microphnoe Gain LevelsAtecho Command for Suppressing the Echo Setting the Microphone Gain LevelAtecho command suppresses the echo Querying the Current Microphone Gain LevelCase of an errorCRLFERRORCRLF Querying the Supported Echo Suppressing FunctionsATECHO=? ATECHO?15.4 AT+CLVL Command for Adjusting the Speaker Volume Setting the Echo Suppressing FunctionQuerying the Supported Speaker Volume Level AT+CLVL command adjusts the speaker volume15.5 AT+CMUT Command for Muting and Unmuting the Microphone Reading the Current Speaker VolumeSetting the Speaker Volume AT+CMUT command is used to mute and unmute the microphoneQuerying the Supported Muting Settings for the Microphone Reading the Curent Muting Settings of the MicrophoneTest AT+CMUT=? command AT+CMUT?Setting the Muting Function of the Microphone Other Commands 16.1 A/ Command for Executing the Previous Command AgainExecution Command Execution command FunctionQuerying the Current Command Line Ending Character Setting the Command Line Ending CharacterATS3? 16.3 ATS4 Command for Setting the Response Format Character 013 Example Set the command line ending character ATS3=13Querying the Current Format Character CRLFnCRLFCRLFOKCRLF16.4 ATS5 Command for Setting the Backspace Character Setting the Response Format CharacterExample Query the current response format character ATS4?Setting the Current Backspace Character Querying the Current Backspace CharacterATS5? ATS5=8 Crlftherm modeCRLFList of effects on AT commands imposed by SIM PIN 1List of effects on AT commands imposed by SIM PINAppendix Commands for status control Commands for serial port controlCommands for security control Commands for identificationCommands for network services Commands for data servicesATS7 AT+CRLP AT+CBST ATO AT+CHUP AT+CR AT+CRC AT+VTS AT+CLIPCommands for Internet services Commands for short messagesCommand related to the SIM card Commands for the phone bookList of URC Commands Commands related to the hardwareCommands for audio control Other commandsAT+CALA Sysstart Alarm Mode SISAT+CGEREP AT+CGEREP +CGEV NW Detach +CGEV ME DetachList of CME/CMS Error Codes 3Common CME Error codesErr Code Text AT+CMEE=2 4CME Error codes related to the Gprs 5CMS Error codes related to the SMS 6CME Error codes related to the MG323 onlyErr Code Text AT+CMEE=2 Not Supported Currently No +CNMA ACK ExpectedPage Acronyms and Abbreviations 7Acronyms and abbreviationsAcronym and Abbreviation Full Spelling PDP PDUPIN PlmnXCD XERWcdma
Related manuals
Manual 54 pages 46.29 Kb