AT Commands Tutorial

The controlling of a MODEM can be done by using instructions or AT commands. Here term AT in the command is the short form of an Attention. The command line used in every modem starts with ‘AT’ otherwise ‘at’ so these commands are named as AT commands. There are many commands which are used for controlling modems (wired dial-up) like ATD – Dial, ATA – Answer, ATH – Hook control & ATO – Come back to the online data state. These are supported by modems like mobile phones, GSM or GPRS. There are some commands which support GSM. These commands which are used for GSM mainly include SMS based commands like AT+CMGS, AT+CMSS, AT+CMGL & AT+CMGR. Here the prefix AT in these commands informs the modem regarding the begin of a command line.

What are AT Commands?

In AT commands, AT stands for Attention and these commands are used for controlling MODEMs. These types of commands are taken from the commands like Hayes. The Hayes-commands mainly used in the Hayes smart modems. These commands are indicated with the term AT to specify the attention from MODEM. These commands are mainly used in the devices which use machine-to-machine communication to communicate with a PC. These devices consist of a subset of the Hayes command set with other extensive AT commands. These commands are used in GSM, GPRS, or mobile phone MODEMs can be used to access the information as well as services which include the following.

The basic commands are called as the Hayes subset commands and the commands which are exact to a GSM network are known as extended AT commands.

Types of AT Commands

These commands are classified into four types namely Test, Read, Set and Execution.

Test Command

The test AT command is mainly used for checking the command’s compatibility using a modem. The SYNTAX for this command is AT < name of the command>. The best example of this command is AD =?

Read Command

The Read command is mainly used for changing the settings of mobile phone otherwise modem required for operations. The SYNTAX for this command is AT < name of the command>. The best example of this command is AT+CBC =?

Set Command

The Set command is mainly used for making modifications in the settings of mobile phone otherwise modem required for operations. The SYNTAX for this command is AT < name of the command>= Value 1, Value 2….Value N. The best example of this is AT+CBC =”+923140”, 110

Execution Command

The Execution command is mainly used for executing the said operation. The SYNTAX for this command is AT < name of the command>= parameter-1, parameter-2… parameter-N. The best example of this is AT+CBC = 2,”+ 4867512120”, 210.

AT Commands List

The list of AT commands is discussed below.

For Testing

AT command is used to check the communication among the computer as well as module

For Controlling Call

The commands used for controlling call mainly include the following.

For Data Card Control

The commands used for data call control mainly include the following.

For Phone Control

The commands used for phone control mainly include the following.

Computer Data Interface

The commands used for computer data interface mainly include the following.
ATE is an Echo command

For Service

The commands used for service mainly include the following.

For Network Communication Parameter

The commands used for network communication parameter mainly include the following.

For Miscellaneous

The commands used for miscellaneous mainly include the following.

For SMS Text Mode

The commands used for SMS text mode mainly include the following.

SMS PDU Mode

The commands used for SMS PDU mode mainly include the following.

ESP8266 AT Commands

The ESP8266 Commands mainly include the following.

LINUX AT Commands

The LINUX AT-commands is discussed below.

ATA Command: It is used to respond an incoming call through MODEM

ATD – ATH Commands: An ATD command is used to dial a voice call through MODEM whereas ATH command is used to hang-up the call.

Extended AT-Commands: The extended AT-commands like AT+CGMI, AT+CGSN, and AT+CIMI are used to provide information regarding the mobile manufacturer, IMEI, and IMSI (International Mobile Subscriber Identity)

Extended AT-Commands: The extended AT-commands like AT+CSQ, AT+CBC are used to get the status of battery charge and quality of the signal.

AT+CMGF Command: This command is used to send an SMS to a precise number.

Thus, this is all about AT commands tutorial, which includes what is an AT command,, different types, and its list. These are used for controlling a MODEM. Here is a question for you, what are HC 05 at commands?