Huawei MG323 Checking Whether This Command Is Available, Querying the Cell Information, Atsmonc

Page 100

HUAWEI MG323 GSM M2M Module

 

AT Command Interface Specification

Commands for Network Services

8.5.1 Checking Whether This Command Is Available

Test AT^SMONC=? command

Function Checks whether this command is available.

Response

z In case of available command: <CR><LF>OK<CR><LF>

zIn case of unavailable command: <CR><LF>ERROR<CR><LF>

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

8.5.2Querying the Cell Information

Execution

AT^SMONC

command

 

Function

Obtains the cell information.

Response

z In case of successful execution:

 

<CR><LF>^SMONC:

 

<MCC>1,<MNC>1,<LAC>1,<cell>1,<BSIC>1,<chann>1,<RSSI>1,<

 

C1>1,<C2>1,<MCC>2,<MNC>2,<LAC>2,<cell>2,<BSIC>2,<chann>

 

2,<RSSI>2,<C1>2, <C2>2, ...<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

<MCC>: country code, which is a 3-digit decimal number.

<MNC>: network code, which is a 2- or 3-digit decimal number.

<LAC>: location area code, which is a 4-digit hexadecimal number.

<cell>: cell code, which is a 4-digit hexadecimal number.

<BSIC>: base station identification code, which is a 2-digit decimal number.

<chann>: Absolute Frequency Channel Number (ARFCN)

<RSSI>: received signal level of BCCH carriers (0–63), which is expressed by dBm value plus offset value. For details, see the 3GPP TS 05.08.

<C1>: cell reselection coefficient.

<C2>: cell reselection coefficient.

Issue 02 (2010-11-23)

Huawei Proprietary and Confidential

83

Copyright © Huawei Technologies Co., Ltd.

 

 

Image 100
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 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&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 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 ValueTest ATSCFG=? command Atscfg Extended Command for Setting Configuration ItemsStr 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=? commandReading the Current Settings for Event Reporting AT+CIND Command for Controlling Indication EventsSetting the Event Reporting Mode Test AT+CIND=? command IndDescr IndValueRead AT+CIND? command Setting Whether to Report Indication EventsReading 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 +CLCKTest Modifying the PasswordAT+CPWD=? Card Example Run AT+CPWD to modify the PIN code+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 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 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 RequestTest AT+CRLP=? command Setting the Waiting DurationQuerying 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 MCRLFType character string. -3 lists the values 3type values Ring Command for Unsolicitedly Reporting Incoming CallsURC 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+CREG? AT+CSQ Command for Querying the Signal QualityAT+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,BERAtsmond BER bit error rate 0-7ATMONI=? Parameter Description 1List of parameters for the serving cellParameter 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 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=? 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 705712 20 -73 460 Atsmong Command for Gprs MonitoringBcch Pbcch PATNOM RACExecution Atsmong command Crlfbcch G Pbcch PAT MCC MNC NOM TAATSMONG=? Example Obtain the parameter rangeSmong 1,1-100 Atsmong Bcch Pbcch PAT MCC MNC NOM TA RACATSMONG=1,1 Bcch Pbcch PAT MCC MNC NOM RACAtsplm command reads the Plmn list Atsplm Command for Reading 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 OperatorsQuerying the Msisdn Related to Subscribers Execution AT+CNUM commandCRLF+CNUM AT+CPBS=ON AT+CPBW=1,13903702769,145 Query the MsisdnAT+CNUM AT+CPBS=ON AT+CPBW=1 AT+CNUMQuerying the Supported Status of PDP Context Commands for Data ServicesAT+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=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 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 profileCSD Not Supported Reading the Information About Connection ProfilesCurrently 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 CrlfsisiATSISI=? Displaying the Status of the Specified Service ProfileATSISI? Atsiso Command for Starting Internet Services Querying the Open Status of All 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? Atsisw Command for Writing Data for Internet Services Writing Data to the Buffer of a ServiceTest ATSISW=? command ATSISC=0Example Check whether the command is available Sisw Command for Reporting UnsolicitedlyATSISW=? 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 11.1 AT+CMGD Command for Deleting Short Messages Commands for 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 MessagesSCA Reading the List of Short MessagesOct 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 commandAT+CGSMS=1 AT+CMGF=0 11.6 AT+CMGW Command for Storing Short MessagesAT+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+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 11.10 AT+CSCA Command for Setting the Number Setting the Storage LocationAT+CPMS=? AT+CPMS?Response z When the Smsc has been registered Checking Whether the Command Is AvailableReading 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+CSCA? AT+CSCB command selects the type of cell messages+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 Checking Whether the +CRSM Command Is Available Commands for the SIM CardAT+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 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=? 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 Example+CPBS SM,23,250 Example AT+CPBS?AT+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+CALASetting an Alarm Clock Querying the Set 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 FunctionSetting the Command Line Ending Character Querying the Current 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?Querying the Current Backspace Character Setting the Current Backspace CharacterATS5? ATS5=8 Crlftherm modeCRLF1List of effects on AT commands imposed by SIM PIN List 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 Detach3Common CME Error codes List of CME/CMS 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 7Acronyms and abbreviations Acronyms and AbbreviationsAcronym and Abbreviation Full Spelling PDP PDUPIN PlmnXER XCDWcdma
Related manuals
Manual 54 pages 46.29 Kb