Huawei MG323 manual Setting the Internet Connection Profile, Examples

Page 154

HUAWEI MG323 GSM M2M Module

 

AT Command Interface Specification

Commands for Internet Services

z“GPRS0”: GPRS connection

z“none”: clears connection profiles

“apn”: access point name in character type, which consists of not more than 100 characters (the default value is a null string).

“user”: user name in character type, which consists of not more than 32 characters (the default value is a null string). This parameter is not supported currently.

“alphabet”: selects the settings for input and output character parameters in the profile. This parameter is not supported currently.

z“0” (default value): Character settings depend on AT+CSCS.

z“1”: international reference alphabet (IRA, 7-bit ASCII)

“passwd”: password in character type, which consists of not more than 32 characters (the default value is *****).

“calledNum”: called BCD number, which is not supported currently.

“dataType”: data call type, which is not supported currently.

z“0” : ISDN

z“1” (default value): analog

“dns1”: preferred DNS server address (IP address in the format of four dot-separated bytes), which is not supported currently.

“dns2”: alternative DNS server address (IP address in the format of four dot- separated bytes), which is not supported currently.

10.1.3 Setting the Internet Connection Profile

Write AT^SICS=<conProfileId>,<conParmTag><conParmValue> command

Function Sets all parameters of the internet connection profile.

Response z In case of successful execution: <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>

Note:

You need to select the internet connection type through the “conType” value of <conParmTag> before setting other values of <conParmTag> because the value of “conType” determines the applicability of other values (excluding the <conParmValue-alphabet>) of <conParmTag>. The <conParmValue-alphabet> parameter can be set either before or after “conType”. The settings for all parameters of the profile are changeable.

10.1.4 Examples

Example 1:

Issue 02 (2010-11-23)

Huawei Proprietary and Confidential

137

Copyright © Huawei Technologies Co., Ltd.

 

 

Image 154
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 A command or a response Overview of AT Command InterfacesDescription of AT Commands 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\Q AT&C AT+CMERAT+CIND 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 Connect ATV Command for Setting the Formats of ME ResponsesString Format Numeric Meaning RingError ATZ Command for Restoring the Settings Saved by the UserATE Command for Setting Echo BusyQuerying the Supported Work Modes AT+CFUN Command for Setting the Work ModeTest command Fun Function Description RemarksSetvice 7Relations between work modes and servicesSetting Value URCRead AT+CFUN? command Reading the Current Work ModeSetting the Work Mode WriteExecution Atsmso command Atsmso Command for System ShutdownSetting System Shutdown ExamplesAT+GCAP +GCAP +CGSM Execution AT+GCAP commandName string for example, +CGSM AT+GCAP=?Reading the Terminal Error Reporting Mode 11 AT+CMEE Command for Setting Terminal Error ReportingQuerying the Error Reporting Mode Supported by the Terminal Test AT+CMEE=? commandTest AT+CSCS=? command 12 AT+CSCS Command for Setting the TE CharacterSetting the Terminal Error Reporting Mode Querying the Character Set Supported by the TEReading the Character Set of the TE Setting the Character Set of the TEDefault value UCS2 ValueTest ATSCFG=? command Atscfg Extended Command for Setting Configuration ItemsStr Value Value Description Setting Configuration Items Sysstart Command for Unsolicitedly Reporting Module StartupReading the Settings for Configuration Items Read ATSCFG? commandURC Crlfshutdowncrlf Querying the Supported Settings for Event Reporting Commands for Status ControlAT+CMER Command for Setting 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 Sysstart Atsind Extended Command for Controlling Indication EventsQuerying the Supported Report Events AT+CIND=?IndDescr IndValue Reading the Current Event Reporting Mode ReadQuerying the Supported Radio Networks AT+WS46 Command for Selecting a Radio NetworkTest AT+WS46=? command CrlfsindRead AT+WS46? command +CIEV Command for Indicating the Status ChangeSetting the Radio Network to Be Registered Reading the Current Radio NetworkAT&C Command for Setting the DCD Usage State Commands for Serial Port ControlAT\Q Command for Enabling Software or Hardware Flow Control AT\Q command sets the flow control modeAT&D Command for Setting the DTR Usage State AT&S Command for Setting the DSR Usage StateRead AT+IPR? command AT+IPR Command for Setting the Baud RateTest AT+IPR=? command Querying the Supported Baud Rates of the DTE-DCEQuerying the Supported Settings for Multiplexing AT+CMUX Command for Setting MultiplexingSetting the Baud Rate of the DTE-DCE Test AT+CMUX=? commandIssue 02 Huawei Proprietary and Confidential Case of an error CRLF+CME Error errCRLF Reading the Current Settings for MultiplexingSetting Multiplexing CommandChecking Whether a PIN Management Command Exists Commands for Security ControlAT+CPIN Command for PIN Management Reading the Password Entry RequestResponding to the Password Entry Request Example Enter the PIN code for unlockingAT+CLCK command locks and unlocks the device AT+CLCK Command for Locking and Unlocking the DeviceChecking the Devices Supported by This Command AT+CPIN? +CPIN SIM PINLocking and Unlocking the Device AT+CLCK=SC,2 AT+CPWD Command for Modifying the PasswordAT+CPWD command modifies the password +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 Information+GCAP +CGSM AT+CGMI/GMI Command for Querying the Vendor InformationATI ATI4 Huawei MG323Querying the Vendor Information Request AT+CGMM/GMM Command for Querying the Product ModelAT+CGMM/GMM command queries the product model Query the vendor informationAT+CGMM Querying the Product Model Number RequestExample Query the product model number MG323AT+CGMR Querying the Software Version NumberExample Query the software version number 11.810.01.00.00 OK AT+GMRQuerying the Imei AT+CGSN/GSN Command for Querying the ImeiChecking Whether the Command for Querying the Imei Exists CharTest AT+CIMI=? command AT+CIMI Command for Querying the ImsiChecking Whether the Command for Querying the Imsi Exists 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 Crlfokcrlf ATA Command for Answering a Call or Data ServicesReading the Settings of the Automatic Answer Data Services 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 Setting the Bearer Service Type Querying the Supported Bearer Service TypesQuerying the Current Bearer Service Type Test AT+CBST=? commandExecution +++ Command 10 +++ Command for Switching Data Mode to Command ModeATO Command for Switching Command Mode to Data Mode Execution ATOn command12.2 AT+CHUP Command for Hanging Up 12 AT+CHUP Command for Hanging Up Data Services13 AT+CR Command for Setting the Service Reporting Mode Checking Whether AT+CHUP Hang-up Is SupportedMode integer Default value disables service reporting Querying the Supported Settings for Service ReportingReading the Current Settings for Service Reporting ConnectQuerying the Supported Settings for the Cell Result Codes 14 AT+CRC Command for Setting the Cell Result CodesSetting Service Reporting AT+CRC=?Settings the Cell Result Codes 15 AT+VTS Command for Sending the Dtmf ToneQuerying the Current Settings for the Cell Result Codes AT+VTS command sends the Dtmf toneSupported nsCRLF Querying the Settings Supported by the AT+CLIP CommandSending the Dtmf Tone AT+CLIP=?16.4 +CLIP Command for Unsolicitedly Reporting the CLI Reading the Settings of the Clip ServiceSetting the Clip MCRLFType character string. -3 lists the values 3type values Ring Command for Unsolicitedly Reporting Incoming CallsURC Crlfringcrlf Checking Whether This Command Is Supported Commands for Network ServicesAT+COPN Command for Querying the Operator Name AT+COPN command queries the operator nameReading the List of Operators AT+COPS Command for Selecting OperatorsExecution AT+COPN command AT+COPN=?Crlfokcrlf AT+COPS=? Setting the Current Operator InformationExample Obtain the list of available operator information AT+COPS?AT+CREG command queries network registration AT+CREG Command for Querying Network RegistrationChecking the Parameter Range Supported by This Command 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 Example Query the parameter range supported by the command Atsmonc Command for Querying the Cell InformationQuerying the Current Signal Quality AT+CSQ=?Querying the Cell Information Checking Whether This Command Is AvailableTest ATSMONC=? command AtsmoncAtsmonc Smonc ATSMONC=?Example Query the current cell information 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 MCC MNC LAC ME has accessed the cell and registered with the networkServing cell Dedicated Channel 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=? MonpATMONP=1 Example Query the information about neighbor cellsAtmonp Chann rs DBm MCC MNC BCC 712 460 001 735 705712 20 -73 460 Atsmong Command for Gprs MonitoringBcch NOM PbcchPAT RACExecution Atsmong command Crlfbcch G Pbcch PAT MCC MNC NOM TAATSMONG=? Example Obtain the parameter rangeSmong 1,1-100 ATSMONG=1,1 AtsmongBcch Pbcch PAT MCC MNC NOM TA RAC Bcch Pbcch PAT MCC MNC NOM RACAtsplm command reads the Plmn list Atsplm Command for Reading the Plmn List552 460 255 Example Query the list of operators saved on the ME Execution Atsplm commandQuerying the List of Operator Names Saved on the ME AtsplmAT+CPOL command sets the list of preferred operators Default value operator information oper in numeric formatOperator indicates an operator name in numeric format Setting the List of Preferred OperatorsQuerying the List of Preferred Operators Example Add a preferred operator AT+CPOL=1,2,46000Querying the Current Range of Preferred Operators Atsplr Command for Querying Preferred OperatorsAtsplr command queries 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+CNUM AT+CPBS=ONAT+CPBW=1,13903702769,145 Query the Msisdn AT+CPBS=ON AT+CPBW=1 AT+CNUMQuerying the Supported Status of PDP Context Commands for Data ServicesAT+CGACT=? Reading the Activation State of the PDP Context Setting the Activation State of the PDP ContextCase of an error related to the MT CRLF+CME AT+CGACT?AT+CGACT=1,1 Checking the Supported Gprs Service StateAT+CGACT? +CGACT 1,0 AT+CGACT?AT+CGATT? Querying the Current Gprs Service StateSetting the Gprs Service State 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 Network requests for Gprs detachment AT+CGDATA Command for Entering the Data ModeURC +CGEV NW Detach URC +CGEV MT DetachCase of failed communication establishment Crlfno Case of failed command executionEstablishing Communication Between the TE and Network AT+CGDATA=?AT+CGDCONT? AT+CGDCONT Command for Defining the PDP ContextRun +++ to quit the data mode and enter the command mode +CGDCONT1,IP,1234,0.0.0.0,0,0 Establish the communicationQuerying the Range of PDP Related Parameters AT+CGDCONT=?+CGDCONT1,IP,1234,,0,0 Setting the Status of the PDP ContextReading the Status of the PDP Context CRLF+CGDCONT …CRLFCRLF CrlfokcrlfReading the PDP Address List of the Specified PDP Context AT+CGPADDR Command for Reading the PDP AddressQuerying the Supported PDP Index Value AT+CGPADDR=?Read the PDP address. AT+CGPADDR=1 +CGPADDR1,192.168.50.64 Querying the Supported QoS Parameter Range Delay Level Average Percentile Transmission DelayWhen the size of SDU is 1024 octets AT+CGQMIN=?Issue 02 Huawei Proprietary and Confidential 124 Querying the Minimum QoS of All PDP Contexts CRLF+CGQMINChecking the Parameter Range Supported by the Command AT+CGQREQ Command for Setting the Requested QoS ProfileSetting the Minimum QoS of a PDP Context AT+CGQREQ=?Delay Level Average Transmission Delay Percentile Issue 02 Huawei Proprietary and Confidential 128 Write comm Functi on Respo nse Setting the QoS of a PDP ContextQuerying All QoS Levels Specified by the TE CRLF+CGQREQAT+CGREG=? 4 +CGREG Command for Reporting Unsolicitedly Querying the Supported SMS Bearer Domains 10 AT+CGSMS Command for Selecting the MO SMS Bearer DomainAT+CGSMS command sets the MT SMS bearer domain Reading the Current SMS Bearer DomainSetting the SMS Bearer Domain Issue 02 Huawei Proprietary and Confidential 134 Checking Whether the Sics Command Is Available Commands for Internet ServicesAtsics Command for Creating a Connection Profile Atsics command can create and edit a connection profileCSD Not Supported Reading the Information About Connection ProfilesCurrently Setting the Internet Connection Profile Query the status of the connection profile Atsici Command for Querying the Connection ProfileAtsici command queries the status of the connection profile ATSICS?ATSICI=? 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?Atsiss command sets the service profile Atsiss Command for Creating the Service ProfileReading the Status of the Service Profile Test ATSISS=? commandSrvParmTag Mandatory/Optional SrvParmTag SrvParmValueSetting the Internet Service Profile Query the status of the service profile Atsisi Command for Querying the Service ProfileQuerying the ID of the Defined 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? This command starts a specified Internet service Atsiso Command for Starting Internet ServicesQuerying the Open Status of All Services ATSISO?Example Enable service Starting a Specified Internet ServiceATSISO=0 Stopping a Specified Internet Service Atsisc Command for Stopping Internet ServicesATSISO? Test ATSISW=? command Atsisw Command for Writing Data for Internet ServicesWriting Data to the Buffer of a Service ATSISC=0Example Check whether the command is available Sisw Command for Reporting UnsolicitedlyATSISW=? Atsisr command reads data out from the service buffer Atsisr Command for Internet Services to Read DataChecking Whether the Atsisr Command Is Available 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=? Example AT+CMGD=? +CMGD1-255 Check the parameter range Case of an error related to the MS CRLF+CMSDeleting Short Messages AT+CMGD=1Stored on the SIM card Checking the Supported Format of Short MessagesDelete all the short messages that are AT+CMGF=?AT+CMGF=0 Setting the Format of Short MessagesReading the Format of Short Messages 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 AT+CMGL=4 11.4 AT+CMGR Command for Reading Short Messages+CMGL 1,1 …Short messages in PDU mode AT+CMGR=?Index of the SIM card CRLF+CME Error When short messages are in PDU mode +CMGR=0CRLF+CMS Error errCRLF Reading Short MessagesThis command sends short messages in PDU mode +CMGF=0 11.5 AT+CMGS Command for Sending Short MessagesTest AT+CMGS=? command Write commandAT+CGSMS=1 AT+CMGF=0 11.6 AT+CMGW Command for Storing Short MessagesAT+CMGS=20 Storing Short Messages This command stores short messages in PDU mode +CMGF=0Example Store a short message in PDU mode AT+CMGF=0 AT+CMGW=56Sending a Short Message at the Specified Location Test AT+CMSS=? commandWhen the short message is in PDU mode +CMGF=0 Short message is successfully sentLocation whose index is +CMSS Example Send a stored short message in PDU modeAT+CMGF=0 AT+CMSS=8 AT+CNMI=?Issue 02 Huawei Proprietary and Confidential 169 AT+CNMI=1,1,0,0,0 Setting the Status of Short Message NotificationReading the Status of Short Message Notification 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 AT+CPMS=? 11.10 AT+CSCA Command for Setting the NumberSetting the Storage Location AT+CPMS?Response z When the Smsc has been registered Checking Whether the Command Is AvailableReading the Currently Registered Number of the Smsc Number is organized by the network Setting the Number of the SmscManagement or service. The subscriber cannot use this value Number falls within the number range of the home countryAT+CSCA? AT+CSCB command selects the type of cell messages+CSCA 1380063859 Example Query the current CBM information Setting the Current CBM TypeReading the Current CBM Type AT+CSCB?AT+CSCB=? 11.12 AT+CSMS Command for Setting the Message Service TypeAT+CSMS command sets the message service type +CSCB 0,1Example AT+CSMS=? +CSMS Reading the Current Message Service TypeSetting the Message Service Type AT+CSMS?+CMTI 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 +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+CRSMChecking the Parameter Range Supported by the +CPBR Command Commands for the Phone Book13.1 AT+CPBR Command for Reading the Phone Book 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=? AT+CPBS=? Setting the Memory Type of the Phone BookReading the Current Memory of the Phone Book +CPBS FD,SM,ON,LD,MC,RC,EN Example+CPBS SM,23,250 Example AT+CPBS?AT+CPBS=SM Integer, which indicates the index of the alarm clock array Commands for Hardware ControlCase of an error related to the MT CRLF+CME Error 14.1 AT+CALASetting an Alarm Clock Querying the Set Alarm ClockAT+CALA? +CALA 0,0,1-16 Example Query the current alarm clock 14.2 AT+CCLK Command for Setting the System Time14.1.4 +CALA Command for Reporting Unsolicitedly AT+CALA=?Querying the Current System Time Setting the System TimeTest ATCCLK=? command AT+CCLK?Example Query the current system time AT+CCLK?This chapter describes the AT commands for audio control Commands for Audio ControlAtswspath Command for Switching Between Audio Channels Atswspath command switches the audio channelReading the Current Audio Channel Switching the Audio ChannelAT+CMIC command adjusts the the mircophone gain level Querying the Supported Microphnoe Gain LevelsAtecho command suppresses the echo Atecho Command for Suppressing the EchoSetting the Microphone Gain Level Querying the Current Microphone Gain LevelATECHO=? Case of an errorCRLFERRORCRLFQuerying the Supported Echo Suppressing Functions ATECHO?Querying the Supported Speaker Volume Level 15.4 AT+CLVL Command for Adjusting the Speaker VolumeSetting the Echo Suppressing Function AT+CLVL command adjusts the speaker volumeSetting the Speaker Volume 15.5 AT+CMUT Command for Muting and Unmuting the MicrophoneReading the Current Speaker Volume AT+CMUT command is used to mute and unmute the microphoneTest AT+CMUT=? command Querying the Supported Muting Settings for the MicrophoneReading the Curent Muting Settings of the Microphone AT+CMUT?Setting the Muting Function of the Microphone Execution Command Other Commands16.1 A/ Command for Executing the Previous Command Again Execution command FunctionSetting the Command Line Ending Character Querying the Current Command Line Ending CharacterATS3? Querying the Current Format Character 16.3 ATS4 Command for Setting the Response Format Character013 Example Set the command line ending character ATS3=13 CRLFnCRLFCRLFOKCRLFExample Query the current response format character 16.4 ATS5 Command for Setting the Backspace CharacterSetting the 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 security control Commands for status controlCommands for serial port control Commands for identificationATS7 AT+CRLP AT+CBST Commands for network servicesCommands for data services ATO AT+CHUP AT+CR AT+CRC AT+VTS AT+CLIPCommand related to the SIM card Commands for Internet servicesCommands for short messages Commands for the phone bookCommands for audio control List of URC CommandsCommands related to the hardware Other commandsAT+CGEREP AT+CALA Sysstart Alarm ModeSIS 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 Err Code Text AT+CMEE=2 Not Supported Currently 5CMS Error codes related to the SMS6CME Error codes related to the MG323 only No +CNMA ACK ExpectedPage 7Acronyms and abbreviations Acronyms and AbbreviationsAcronym and Abbreviation Full Spelling PIN PDPPDU PlmnXER XCDWcdma
Related manuals
Manual 54 pages 46.29 Kb