At command introduction and usage, at command set

Source: Internet
Author: User

At command introduction and usage, at command set

At commands play an important role in contemporary mobile phone communication. They can use AT commands to control many behaviors of mobile phones, including dialing numbers, button control, fax, and GPRS. The Siemens M55 mobile phone provides me with a lot of AT commands and a lot of information about AT commands on the Internet. Here I will extract some important simple explanations. Other mobile phones are also generally used. For more details, refer to the mobile phone manufacturer's information.
To use the AT command, you can install Microsoft's Super TerminalProgramAfter selecting the port connection speed, you can use it normally.

 

At command usage

1. Add "=?" To the AT command ?" It constitutes a test command. For example, "At + CSCs = ?" All supported character sets are listed.
2. Add "?" To the AT command It constitutes a READ command. For example, "At + CSCs ?" The current settings are listed.
3. Execute Command. Generally, add "=" and command parameters after the AT command. Some commands, such as the at + cmgr command, can be directly executed without parameters.
Note: not all at commands Support 1 and 2.

 

Common basic AT commands

 

Command
Function

At
Test whether the connection is correct

Ate0
Disable echo. At part of program initialization first closes echo.

Ate1
Enable echo. Run the command on the Super Terminal.

At + cgmi
Obtain vendor information

At + cgmr
Get the mobile phone version number

At + cgsn
Obtain the mobile phone serial number (IMEI)

At + CIMI
Get the mobile phone imsi number

At + CSCs
Obtains and sets the current character set of the mobile phone. Can be set to GSM or ucs2

At + CBC
Get cell phone power

At + cclk
Get set mobile phone clock

At + cnum
Body number. Divided into line 1 and Line 2

At + CSQ
Current Signal

At + cops
Network operator

At + csca
SMS center number

These commands are used for initialization when connecting to the mobile phone. IMEI and imsi can be used to support more mobile phone connections.

And keep data independent.

Text message section

 

Command
Function

At + CPMS
Select the storage location of the SMS. Select me (SIM card) and MT (Body)

At + cmgl
PDU that lists short messages in a specified statusCode

At + cmgr
Lists the short message PDU codes of a specified serial number.

At + cmgs
Send SMS

At + cmgd
Deletes a specified SMS.

At + cmgf
SMS format. Divided into text mode and PDU Mode

At + cnmi
Set up a new short message to notify the computer

At + csca
SMS Center

The preceding commands are the most frequently used commands for short messages.

I. general commands
At + cgmi identifies the module vendor.
At + cgmm obtains the module ID. This command is used to obtain the supported bandwidths (GSM900, DCS1800, or pcs1900 ). When a module has multiple frequency bands, the response may be a combination of different frequency bands.
At + cgmr get the revised software version.
At + cgsn obtains the IMEI (international mobile device identification) serial number of the GSM module.
At + CSCs select te feature settings. This command reports the status setting me used by te. Me can be used to convert each input or displayed letter. This is used to send, read, or write text messages.
At + WPCs: Set the phone book status. This Special Command reports the status me used through the Te phone book. Me can then convert each input or displayed string letter. This entry is used to read or write the phone book.
At + CIMI get imsi. This command is used to read or recognize the imsi (International Mobile signatory ID) of the SIM card ). Enter a pin before reading imsi (if pin is needed ).
At + CCID to obtain the SIM card ID. This command causes the module to read the EF-CCID file on the SIM card.
At + GCAP to obtain the capability table. (Supported functions)
A/repeat the previous command. Only the/command cannot be repeated. This command repeats the previous command.
At + cpof shutdown. This special command stops the GSM software stack and hardware layer. The command at + cfun = 0 has the same function as + cpof.
At + cfun: Set the telephone capacity. This command selects the function level of the mobile site.
At + CPAs returns the activity status of the mobile device.
At + cmee reports mobile device errors. This command determines whether to allow or not to use the result code "+ cmeerror: <XXX>" or "+ cmserror: <XXX>" to replace the simple "error ".
At + ckpd keypad control. Simulate the me keypad to execute the command.
At + cclk clock management. This command is used to set or obtain the current date and time of the real me clock.
At + Cala alarm management. This command is used to set the alert date/time in me. (Alert)
Play the at + crmp ringtone melody. This command plays a piece of music on the buzzer of the module. There are two kinds of melody available: Arrival voice, data or fax call melody and arrival text message sound.
At + crsl sets or gets the sound level of incoming phone ringtones.
Ii. Call Control commands
ATD dialing command. This command is used to set a call, data, or fax call.
Ath host command.
ATA receives the call.
At + ceer extended Error Report. This command is used to explain why a call is interrupted when the call setting fails.
At + vtd provides users with DTMF (dual-Tone Multi-frequency) Dual-audio sent using the GSM network. This command is used to define the length of the dual audio (the default value is 300 milliseconds ).
At + VTS provides users with DTMF dual-audio transmission through the GSM network. This command allows the transmission of dual audio.
Atdl redial the last phone number.
At % DN automatic dialing when the data terminal is ready (DTR.
Ats0 automatically responds.
At + CICB incoming call message.
At + CSNs single number solution.
At + vgr
At + VGT gain control. This command is used to adjust the receiving gain of the Speaker and the transmission gain of the microphone.
At + cmut microphone mute control.
At + speaker/microphone selection. This special command is used to select speakers and microphones.
At + echo cancel.
At + sidet side tone correction.
At + VIP initialize sound parameters.
At + DUI dialing with additional user information.
At + Hui is mounted with additional user information.
At + Rui receives additional user information.
Iii. Network Service commands
At + CSQ signal quality.
Select at + cops service provider.
At + CREG network registration. Obtain the registration status of the mobile phone.
At + wopn reads the Operator name.
At + cpol priority operator list.
Iv. Security commands
At + cpin input pin.
At + cpin2 input pin2.
At + cpincpin.
At + clck device lock.
At + CPWD Change Password.
V. Phone Book commands
At + CPBS Select phone book memory storage.
At + cpbr read the phone book table.
At + cpbf: Find the phone book table.
At + cpbw write the phone book table.
At + cpbp phone book query.
At + cpbn mobile phone book action. This special command moves the entries in the phone book forward or backward (in alphabetical order)
At + cnum signer number.
At + waip prevents all phone books from being initialized during the next restart.
At + wdcp Delete the call phone number.
At + csvm sets the voice mail number.
6. Short Message commands
At + CSMs select message service. The supported services include GSM-mo, SMS-MT, and SMS-CB.
At + cnma confirm the response to the new message.
At + CPMS preferentially stores information. This command defines the storage area used to read and write information.
At + cmgf priority information format. The execution formats are text and PDU.
At + CSAs Save settings. Save the + CSAs and + CSMP parameters.
At + CRES recovery settings.
At + CSDH parameters for text display.
At + cnmi new information indication. This command selects how to receive short messages from the network.
At + cmgr reads text messages. Information is read from the memory set by the + CPMS command.
At + cmgl lists the stored information.
At + cmgs sends information.
At + cmgw writes short messages and stores them.
At + CMSS sends information from the memory.
At + CSMP sets the text mode parameters.
At + cmgd Delete short messages. Delete one or more messages.
At + csca SMS service center address.
At + CSCB select the Unit broadcast information type.
At + wcbm unit broadcast information identifier.
The at + wmsc Information Status (read or sent) is corrected.
At + wmgo information overwrites data.
At + wuss does not change the SMS status. Unread is maintained after execution of + cmgr or + cmgl.
VII. Add service commands
At + ccfc call continues.
At + clck call prohibited.
At + CPWD change the append service password.
At + ccwa call wait.
At + clir call line validation restrictions.
At + clip Call Line confirmation statement.
At + Colp tie line validation statement.
At + caoc fee report.
At + CACM cumulative call metering.
At + camm cumulative call metering maximum.
At + cpuc unit price and currency table.
Append services related to at + chld calls.
At + CLCC lists the current calls.
At + cssn append service notification.
At + cusd unorganized append service data.
At + ccug disabled user group.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.