×
Namespaces

Variants
Actions
(Difference between revisions)

AT Commands

From Nokia Developer Wiki
Jump to: navigation, search
BZapf (Talk | contribs)
hamishwillee (Talk | contribs)
m (Hamishwillee - Add ArticleNeedsUpdate template)
(21 intermediate revisions by 10 users not shown)
Line 1: Line 1:
=Warning=
+
[[Category:Connectivity]][[Category:AT Command]][[Category:Technical Resources/Services]]
 +
{{FeaturedArticle|timestamp=20080914}}
  
This information is only partial. Typing commands as they are represented here may result in obscure error messages. Additionally, not all Nokia phones understand all the commands on this page, or reply in a meaningful way. Firmware on some phones is broken. Do not expect the documentation to match reality. See comments.
+
{{ArticleMetaData
 +
|language=<!-- Language category code for non-English topics - e.g. Lang-Chinese -->
 +
|sourcecode= <!-- Link to example source code e.g. [[Media:The Code Example ZIP.zip]] -->
 +
|installfile= <!-- Link to installation file (e.g. [[Media:The Installation File.sis]]) -->
 +
|devices= <!-- Devices tested against - e.g. ''devices=N95, N8'') -->
 +
|sdk= <!-- SDK(s) built and tested against (e.g. [http://linktosdkdownload/ Nokia Qt SDK 1.1]) -->
 +
|platform= <!-- Compatible platforms - e.g. Symbian^1 and later, Qt 4.6 and later -->
 +
|devicecompatability= <!-- Compatible devices e.g.: All* (must have internal GPS) -->
 +
|signing=<!-- Signing requirements - empty or one of: Self-Signed, DevCert, Manufacturer -->
 +
|capabilities=<!-- Capabilities required by the article/code example (e.g. Location, NetworkServices. -->
 +
|keywords= <!-- APIs, classes and methods (e.g. QSystemScreenSaver, QList, CBase -->
 +
|reviewer=<!-- Following technical re-review of article: [[User:username]] -->
 +
|timestamp=<!-- Following technical re-review of article: YYYYMMDD -->
 +
|creationdate=20070512
 +
|author=[[User:vasant21]]
 +
}}
 +
==What you should know==
  
=Overview=
+
Different phones support different sets of AT commands. This means that a specific phone might not support all AT commands listed below. Currently there is no authoritative list available of supported AT commands by all phones.
  
AT commands are known by Hayes AT commands. There are different views to understand the meanings of "AT". Some people call it as "Attention Telephone" or some people call it as "Attention Terminal" commands. Views can be different but meanings are same. We are after all going to give some instruction to phone either it is mobile phone or a normal landline telephone. Basically the commands work on Modem. We can also send some of the commands to our PC's modem also. If we are sending commands to GSM mobile phones of Nokia they may differ by manufacturer to manufacturer. Major AT commands are same some of them are different. Mobile manufacturer also gives attention to operators to allow or not to allow some commands on the phone. Let us see in brief what is the use of such commands. We can perform some of the operation which we do from mobile keypad like calling a number, sending an sms, reading an SMS, deleting an SMS, setting the SMSC number, looking for GPRS access point, reading phonebook data, deleting phonebook data, reading the battery status, reading the signal strength etc. When we want to make a PC based application to interface a mobile phone using USB, IR or bluetooth such commands are needed to communicate with mobile phones. Basically such commands are  application layer of MBUS or FBUS commands. Nokia provides an AT command set guide by which we can refer the basic command syntax and the response of the command in various situations.
+
==Overview==
  
Let us see now how to use this commands. The AT commands work on all the devices but you have to check out whether it has in built GSM modem or not, if it exists then there is no need of virtual modem software to install in your PC. But if you are using very older Nokia Phones you have to find out the DATA suite not the PC Suite for such phones (Nokia 5110) to use AT commands. We focus on the mobile phones which has built-in GSM modem. The user can configure the PC to use it within a minute.  
+
AT commands are also known as Hayes AT commands. There are different views to understand the meanings of "AT". Some call it "Attention Telephone", whereas others interpret it as "Attention Terminal" commands.
  
First connect your mobile phone with PC using any available option (BT, USB or IR). Check whether you have installed the proper driver from Nokia website for the GSM modem or not, if it is not installed download it first for you device. Now next step is to open the hyper terminal - a communication utility in your window OS. You can find the hyper terminal in start>programs>accessories>communication. Open it and create one new connection set some of the parameters like baud rate (normally 9600), handshaking mode (Xon-Xoff), parity bit (default) etc. Select the communication port on which your mobile has been connected. once you are done with this you can give the basic AT command, type simple AT in the window so you will get "OK" response. Now there are basically two modes to work for mobile phones. one is PDU and another is text mode. PDU is protocol data unit. Mobile normally understands internally in PDU format. We can use both. AT+CMGF is the command to set the mode. If we type AT+CMGF=0 the PDU mode is set. If we type AT+CMGF=1 the text mode is set. If we want to check which mode has been set we can type simple AT+CMGF? so it will show the result.
+
AT commands allow giving instructions to both mobile devices and ordinary landline telephones. The commands are sent to the phone's modem, which can be a GSM modem or PC modem. This article focuses on AT commands on Nokia's GSM and WCDMA products only. Different manufacturers may have different sets of AT commands. Fortunately, many AT commands are the same. Mobile device manufacturers may also give attention to operators to allow or not to allow some commands on phones.
  
Now for example we want to dial out a number called "111" the command is ATD 111
+
AT commands can be used for operations that are usually done from the keypad, for instance calling a number, sending, reading, or deleting an SMS, setting the SMSC number, looking for a GPRS access point, reading and deleting phonebook data, reading the battery status, reading the signal strength, and so on. When you want to make a PC-based application to interface a mobile phone using USB, IR, or Bluetooth, these commands are needed to communicate with mobile phones. Basically such commands are the application layer of MBUS or FBUS commands. Nokia provides an AT command set guide, where you can see the basic command syntax and the response of the command in various situations. See the Related Links section at the end of this article).
or ATD "111".  
+
  
To send an SMS first we have to set the mode in text. We can send SMS in both the modes but the format of typing text to send SMS is different. For normal usage we use text mode. So type AT+CMGS="9198XX21XX99", "Message" ^ctrlZ. So SMS will be sent out from your PC through mobile phone. To read an SMS from the inbox we have to write AT+CMGR=1 to read the sms stored at 1st location. The location starts from 0 so be careful. To delete an SMS type AT+CMG
+
==Using AT Commands with HyperTerminal==
  
 +
AT commands work on devices that have a built-in GSM modem. If there is one, you do not need to install virtual modem software on your PC. If you are using very old Nokia devices, you have to find out the DATA suite, not the PC Suite, for these devices (such as the Nokia 5110) to be able to use AT commands. This article focuses on mobile devices that have a built-in GSM modem.
  
=NOKIA GSM AT COMMAND SET=
+
To use AT commands:
  
 +
* Connect the mobile phone to your PC in PC Suite mode using any available connection (Bluetooth, USB, or IR).
  
== Call Control ==
+
* Make sure that you have installed the correct GSM modem driver on your PC. You can check it from Control Panel | System | Hardware | Device Manager. Check the Modems section. If you see something like "Nokia XY USB Modem" or "Nokia XY Bluetooth Modem", the device has a built-in GSM modem. If you don't have it, go to the Nokia Web site and download the driver from the product page of your device.
  
{| cellpadding="0" cellspacing="0" border="0" width="80%"
+
[[File:controlpanel_gsmmodem.png]]
 +
 
 +
*  Right Click  on Nokia N95 8GB USB Modem and find the port used by selecting the modem tab, in our case it is COM 4. Also it is good to test the modem by selecting Diagnostics | Query Modem, this will tell us if the modem is working properly.
 +
* Open the HyperTerminal, which is a communication utility on Microsoft Windows OS. HyperTerminal is located in Start | Programs | Accessories | Communication.
 +
 
 +
* Create a new connection set on HyperTerminal and give a name to the connection.
 +
* Select the port number by seleting drop down box "Connect using". In our case the port number is COM 4
 +
[[File:selectportatcommand.png]]
 +
 
 +
* You need to select some settings related to  ASCII setup, To do select  File | Properties | Settings (tab) | ASCII Setup
 +
[[File:asciisetup.png]]
 +
 
 +
* You may need to set some parameters, such as baud rate (for example, 9600), handshaking mode (Xon-Xoff), parity bit (default), and so on.
 +
 
 +
[[File:hyperterminal_settings.png]]
 +
 
 +
 
 +
* Note that you also need to select the communication port on which your mobile has been connected. The port number can be found by right-clicking the modem item in Control Panel.
 +
 
 +
[[File:controlpanel_gsmmodem_port.png]]
 +
 
 +
 
 +
* After this, you can give the basic AT command. Simply type '''AT''' in the window and you will get the "OK" response.
 +
 
 +
[[File:hyperterminal_example.png]]
 +
 
 +
The above picture also shows how to dial a number using the ATD command. Note that there is a semi-colon (;) at the end of the phone number indicating that this is a voice call. If there is no semi-colon, a data call (CSD call) is will be performed.
 +
 
 +
== AT commands set for Nokia GSM and WCDMA products ==
 +
=== Call control ===
 +
 
 +
{| class="wikitable"
 
! Command !! Description
 
! Command !! Description
 
|-  
 
|-  
| style="width:150px" | ATA || Answer Command
+
| style="width:150px" | ATA || Answer command
 
|-
 
|-
| ATD || Dial Command
+
| ATD || Dial command
 
|-
 
|-
| ATH || Hang Up Call
+
| ATH || Hang up call
 
|-
 
|-
| ATL || Monitor Speaker Loudness
+
| ATL || Monitor speaker loudness
 
|-
 
|-
| ATM || Monitor Speaker Mode
+
| ATM || Monitor speaker mode
 
|-
 
|-
| ATO || Go On-Line
+
| ATO || Go on-line
 
|-
 
|-
| ATP || Set Pulse Dial as Default
+
| ATP || Set pulse dial as default
 
|-
 
|-
| ATT || Set Tone Dial as Default
+
| ATT || Set tone dial as default
 
|-
 
|-
| AT+CSTA || Select Type of Address
+
| AT+CSTA || Select type of address
 
|-
 
|-
| AT+CRC || Cellular Result Codes
+
| AT+CRC || Cellular result codes
 
|}
 
|}
  
  
== Data Card Control Commands ==
+
=== Data card control commands ===
  
{| cellpadding="0" cellspacing="0" border="0" width="80%"
+
{| class="wikitable"
 
! Command !! Description
 
! Command !! Description
 
|-
 
|-
Line 56: Line 105:
 
| ATS || Select an S-register  
 
| ATS || Select an S-register  
 
|-
 
|-
| ATZ || Recall Stored Profile
+
| ATZ || Recall stored profile
 
|-
 
|-
| AT&F || Restore Factory Settings
+
| AT&F || Restore factory settings
 
|-
 
|-
| AT&V || View Active Configuration
+
| AT&V || View active configuration
 
|-
 
|-
| AT&W || Store Parameters in Given Profile
+
| AT&W || Store parameters in given profile
 
|-
 
|-
| AT&Y || Select Set as s Powerup Option
+
| AT&Y || Select Set as powerup option
 
|-
 
|-
| AT+CLCK || Facility Lock Command
+
| AT+CLCK || Facility lock command
 
|-
 
|-
| AT+COLP || Connected Line Identification Presentation
+
| AT+COLP || Connected line identification presentation
 
|-
 
|-
| AT+GCAP || Request Complete Capabilities List
+
| AT+GCAP || Request complete capabilities list
 
|-
 
|-
| AT+GMI || Request Manufacturer Identification
+
| AT+GMI || Request manufacturer identification
 
|-
 
|-
| AT+GMM || Request Model Identification
+
| AT+GMM || Request model identification
 
|-
 
|-
| AT+GMR || Request Revision Identification
+
| AT+GMR || Request revision identification
 
|-
 
|-
| AT+GSN || Request Product Serial Number Identification
+
| AT+GSN || Request product serial number identification (IMEI)
 
|}
 
|}
  
 +
=== Phone control commands ===
  
== Phone Control Commands ==
+
{| class="wikitable"
 
+
{| cellpadding="0" cellspacing="0" border="0" width="80%"
+
 
! Command !! Description
 
! Command !! Description
 
|-  
 
|-  
|style="width:150px" | AT+CBC || Battery Charge
+
|style="width:150px" | AT+CBC || Battery charge
 
|-
 
|-
| AT+CGMI || Request Manufacturer Identification
+
| AT+CGMI || Request manufacturer identification
 
|-
 
|-
| AT+CGMM || Request Model Identification
+
| AT+CGMM || Request model identification
 
|-
 
|-
| AT+CGMR || Request Revision Identification
+
| AT+CGMR || Request revision identification
 
|-
 
|-
| AT+CGSN || Request Product Serial Number Identification
+
| AT+CGSN || Request product serial number identification
 
|-
 
|-
| AT+CMEE || Report Mobile Equipment Error
+
| AT+CMEE || Report mobile equipment error
 
|-
 
|-
| AT+CPAS || Phone Activity Status
+
| AT+CPAS || Phone activity status
 
|-
 
|-
| AT+CPBF || Find Phone Book Entries
+
| AT+CPBF || Find phone book entries
 
|-
 
|-
| AT+CPBR || Read Phone Book Entry
+
| AT+CPBR || Read phone book entry
 
|-
 
|-
| AT+CPBS || Select Phone Book Memory Storage
+
| AT+CPBS || Select phone book memory storage
 
|-
 
|-
| AT+CPBW || Write Phone Book Entry
+
| AT+CPBW || Write phone book entry
 
|-
 
|-
| AT+CSCS || Select TE Character Set
+
| AT+CSCS || Select TE character set
 
|-
 
|-
| AT+CSQ || Signal Quality
+
| AT+CSQ || Signal quality
 
|}
 
|}
  
  
== Computer Data Card Interface Commands ==
+
=== Computer data card interface commands ===
  
{| cellpadding="0" cellspacing="0" border="0" width="80%"
+
{| class="wikitable"
 
! Command !! Description
 
! Command !! Description
 
|-
 
|-
 
| style="width:150px" | ATE || Command Echo
 
| style="width:150px" | ATE || Command Echo
 
|-  
 
|-  
| ATQ || Result Code Suppression
+
| ATQ || Result code suppression
 
|-  
 
|-  
| ATV || Define Response Format
+
| ATV || Define response format
 
|-
 
|-
| ATX || Response Range Selection
+
| ATX || Response range selection
 
|-
 
|-
| AT&C || Define DCD Usage
+
| AT&C || Define DCD usage
 
|-
 
|-
| AT&D || Define DTR Usage
+
| AT&D || Define DTR usage
 
|-
 
|-
| AT&K || Select Flow Control
+
| AT&K || Select flow control
 
|-
 
|-
| AT&Q || Define Communications Mode Option
+
| AT&Q || Define communications mode option
 
|-
 
|-
| AT&S || Define DSR Option
+
| AT&S || Define DSR option
 
|-
 
|-
| AT+ICF || DTE-DCE Character Framing
+
| AT+ICF || DTE-DCE character framing
 
|-
 
|-
| AT+IFC || DTE-DCE Local Flow Control
+
| AT+IFC || DTE-DCE Local flow control
 
|-
 
|-
| AT+IPR || Fixed DTE Rate
+
| AT+IPR || Fixed DTE rate
 
|}
 
|}
  
  
== Service ==
+
=== Service ===
  
{| cellpadding="0" cellspacing="0" border="0" width="80%"
+
{| class="wikitable"
 
! Command !! Description
 
! Command !! Description
 
|-
 
|-
| style="width:150px" | AT+CLIP || Calling Line Identification Presentation
+
| style="width:150px" | AT+CLIP || Calling line identification presentation
 
|-
 
|-
| AT+CR ||  Service Reporting Control
+
| AT+CR ||  Service reporting control
 
|-
 
|-
| AT+DR ||  Data Compression Reporting
+
| AT+DR ||  Data compression reporting
 
|-
 
|-
| AT+ILRR || DTE-DCE Local Rate Reporting
+
| AT+ILRR || DTE-DCE local rate reporting
 
|}
 
|}
  
  
== Network Communication Parameter Commands ==
+
=== Network communication parameter commands ===
  
{| cellpadding="0" cellspacing="0" border="0" width="80%"
+
{| class="wikitable"
 
! Command !! Description
 
! Command !! Description
 
|-
 
|-
| style="width:150px" | ATB || Communications Standard Option
+
| style="width:150px" | ATB || Communications standard option
 
|-
 
|-
| AT+CBST || Select Bearer Service Type
+
| AT+CBST || Select bearer service type
 
|-
 
|-
| AT+CEER || Extended Error Report
+
| AT+CEER || Extended error report
 
|-
 
|-
| AT+CRLP || Radio Link Protocol
+
| AT+CRLP || Radio link protocol
 
|-
 
|-
| AT+DS ||  Data Compression
+
| AT+DS ||  Data compression
 
|}
 
|}
  
  
  
== Miscellaneous Commands ==
+
=== Miscellaneous commands ===
  
{| cellpadding="0" cellspacing="0" border="0" width="80%"
+
{| class="wikitable"
 
! Command !! Description
 
! Command !! Description
 
|-
 
|-
| style="width:150px" | A/ ||  Re-Execute Command Line
+
| style="width:150px" | A/ ||  Re-execute command line
 
|-
 
|-
| AT? || Command Help
+
| AT? || Command help
 
|-
 
|-
| AT*C || Start SMS Interpreter
+
| AT*C || Start SMS interpreter
 
|-
 
|-
| AT*T || Enter SMS Block Mode Protocol
+
| AT*T || Enter SMS block mode protocol
 
|-
 
|-
| AT*V || Activate V.25bis Mode
+
| AT*V || Activate V.25bis mode
 
|-
 
|-
| AT*NOKIATEST || Test Command
+
| AT*NOKIATEST || Test command
 
|-
 
|-
| AT+CESP || Enter SMS Block Mode Protocol
+
| AT+CESP || Enter SMS block mode protocol
 
|}
 
|}
  
  
== SMS Commands SMS Text Mode ==
+
=== SMS commands ===
  
{| cellpadding="0" cellspacing="0" border="0" width="80%"
+
==== SMS text mode ====
 +
 
 +
{| class="wikitable"
 
! Command !! Description
 
! Command !! Description
 
|-
 
|-
| style="width:150px" | AT+CSMS || Select Message Service
+
| style="width:150px" | AT+CSMS || Select message service
 
|-
 
|-
| AT+CPMS || Preferred Message Storage
+
| AT+CPMS || Preferred message storage
 
|-
 
|-
| AT+CMGF || Message Format
+
| AT+CMGF || Message format
 
|-
 
|-
| AT+CSCA || Service Centre Address
+
| AT+CSCA || Service centre address
 
|-
 
|-
| AT+CSMP || Set Text Mode Parameters
+
| AT+CSMP || Set text mode parameters
 
|-
 
|-
| AT+CSDH || Show Text Mode Parameters
+
| AT+CSDH || Show text mode parameters
 
|-
 
|-
| AT+CSCB || Select Cell Broadcast Message Types
+
| AT+CSCB || Select cell broadcast message types
 
|-
 
|-
| AT+CSAS || Save Settings
+
| AT+CSAS || Save settings
 
|-
 
|-
| AT+CRES || Restore Settings
+
| AT+CRES || Restore settings
 
|-
 
|-
| AT+CNMI || New Message Indications to TE  
+
| AT+CNMI || New message indications to TE  
 
|-
 
|-
| AT+CMGL || List Messages
+
| AT+CMGL || List messages
 
|-
 
|-
| AT+CMGR || Read Message
+
| AT+CMGR || Read message
 
|-
 
|-
| AT+CMGS || Send Message
+
| AT+CMGS || Send message
 
|-
 
|-
| AT+CMSS || Send Message from Storage
+
| AT+CMSS || Send message from storage
 
|-
 
|-
| AT+CMGW || Write Message to Memory
+
| AT+CMGW || Write message to memory
 
|-
 
|-
| AT+CMGD || Delete Message
+
| AT+CMGD || Delete message
 
|}
 
|}
  
  
== SMS PDU Mode ==
+
==== SMS PDU ode ====
  
{| cellpadding="0" cellspacing="0" border="0" width="80%"
+
{| class="wikitable"
 
! Command !! Description
 
! Command !! Description
 
|-
 
|-
 
| style="width:150px" | AT+CMGL || List Messages
 
| style="width:150px" | AT+CMGL || List Messages
 
|-  
 
|-  
| AT+CMGR || Read Message
+
| AT+CMGR || Read message
 
|-
 
|-
| AT+CMGS || Send Message
+
| AT+CMGS || Send message
 
|-
 
|-
| AT+CMGW || Write Message to Memory
+
| AT+CMGW || Write message to memory
 
|}
 
|}
  
  
== Related Links ==
+
== Related links ==
  
* [http://forum.nokia.com/info/sw.nokia.com/id/95672052-6c77-488d-a055-acef77e4cdc5/AT_Command_Set_For_Nokia_GSM_And_WCDMA_Products_v1_2_en.pdf.html AT Command Set For Nokia GSM And WCDMA Products v1.2]
+
* [http://www.developer.nokia.com/info/sw.nokia.com/id/95672052-6c77-488d-a055-acef77e4cdc5/AT_Command_Set_For_Nokia_GSM_And_WCDMA_Products_v1_2_en.pdf.html AT Command Set For Nokia GSM And WCDMA Products v1.2]
 
* [http://www.bengkelprogram.com/download-ATNOKIA.pdf AT Command Set For Nokia GSM Products]
 
* [http://www.bengkelprogram.com/download-ATNOKIA.pdf AT Command Set For Nokia GSM Products]
 
+
* [[File:Send AT Commands.zip|Sending AT Commands example source codes]]
----
+
* [[Using AT commands to send and read_SMS]]
 
+
[[Category:Technical Resources/Services]]
+

Revision as of 04:54, 21 September 2011

Featured Article
14 Sep
2008
Article Metadata
Compatibility
Platform(s):
Series 40
Symbian
Article
Created: vasant21 (12 May 2007)
Last edited: hamishwillee (21 Sep 2011)

Contents

What you should know

Different phones support different sets of AT commands. This means that a specific phone might not support all AT commands listed below. Currently there is no authoritative list available of supported AT commands by all phones.

Overview

AT commands are also known as Hayes AT commands. There are different views to understand the meanings of "AT". Some call it "Attention Telephone", whereas others interpret it as "Attention Terminal" commands.

AT commands allow giving instructions to both mobile devices and ordinary landline telephones. The commands are sent to the phone's modem, which can be a GSM modem or PC modem. This article focuses on AT commands on Nokia's GSM and WCDMA products only. Different manufacturers may have different sets of AT commands. Fortunately, many AT commands are the same. Mobile device manufacturers may also give attention to operators to allow or not to allow some commands on phones.

AT commands can be used for operations that are usually done from the keypad, for instance calling a number, sending, reading, or deleting an SMS, setting the SMSC number, looking for a GPRS access point, reading and deleting phonebook data, reading the battery status, reading the signal strength, and so on. When you want to make a PC-based application to interface a mobile phone using USB, IR, or Bluetooth, these commands are needed to communicate with mobile phones. Basically such commands are the application layer of MBUS or FBUS commands. Nokia provides an AT command set guide, where you can see the basic command syntax and the response of the command in various situations. See the Related Links section at the end of this article).

Using AT Commands with HyperTerminal

AT commands work on devices that have a built-in GSM modem. If there is one, you do not need to install virtual modem software on your PC. If you are using very old Nokia devices, you have to find out the DATA suite, not the PC Suite, for these devices (such as the Nokia 5110) to be able to use AT commands. This article focuses on mobile devices that have a built-in GSM modem.

To use AT commands:

  • Connect the mobile phone to your PC in PC Suite mode using any available connection (Bluetooth, USB, or IR).
  • Make sure that you have installed the correct GSM modem driver on your PC. You can check it from Control Panel | System | Hardware | Device Manager. Check the Modems section. If you see something like "Nokia XY USB Modem" or "Nokia XY Bluetooth Modem", the device has a built-in GSM modem. If you don't have it, go to the Nokia Web site and download the driver from the product page of your device.

Controlpanel gsmmodem.png

  • Right Click on Nokia N95 8GB USB Modem and find the port used by selecting the modem tab, in our case it is COM 4. Also it is good to test the modem by selecting Diagnostics | Query Modem, this will tell us if the modem is working properly.
  • Open the HyperTerminal, which is a communication utility on Microsoft Windows OS. HyperTerminal is located in Start | Programs | Accessories | Communication.
  • Create a new connection set on HyperTerminal and give a name to the connection.
  • Select the port number by seleting drop down box "Connect using". In our case the port number is COM 4

Selectportatcommand.png

  • You need to select some settings related to ASCII setup, To do select File | Properties | Settings (tab) | ASCII Setup

Asciisetup.png

  • You may need to set some parameters, such as baud rate (for example, 9600), handshaking mode (Xon-Xoff), parity bit (default), and so on.

Hyperterminal settings.png


  • Note that you also need to select the communication port on which your mobile has been connected. The port number can be found by right-clicking the modem item in Control Panel.

Controlpanel gsmmodem port.png


  • After this, you can give the basic AT command. Simply type AT in the window and you will get the "OK" response.

Hyperterminal example.png

The above picture also shows how to dial a number using the ATD command. Note that there is a semi-colon (;) at the end of the phone number indicating that this is a voice call. If there is no semi-colon, a data call (CSD call) is will be performed.

AT commands set for Nokia GSM and WCDMA products

Call control

Command Description
ATA Answer command
ATD Dial command
ATH Hang up call
ATL Monitor speaker loudness
ATM Monitor speaker mode
ATO Go on-line
ATP Set pulse dial as default
ATT Set tone dial as default
AT+CSTA Select type of address
AT+CRC Cellular result codes


Data card control commands

Command Description
ATI Identification
ATS Select an S-register
ATZ Recall stored profile
AT&F Restore factory settings
AT&V View active configuration
AT&W Store parameters in given profile
AT&Y Select Set as powerup option
AT+CLCK Facility lock command
AT+COLP Connected line identification presentation
AT+GCAP Request complete capabilities list
AT+GMI Request manufacturer identification
AT+GMM Request model identification
AT+GMR Request revision identification
AT+GSN Request product serial number identification (IMEI)

Phone control commands

Command Description
AT+CBC Battery charge
AT+CGMI Request manufacturer identification
AT+CGMM Request model identification
AT+CGMR Request revision identification
AT+CGSN Request product serial number identification
AT+CMEE Report mobile equipment error
AT+CPAS Phone activity status
AT+CPBF Find phone book entries
AT+CPBR Read phone book entry
AT+CPBS Select phone book memory storage
AT+CPBW Write phone book entry
AT+CSCS Select TE character set
AT+CSQ Signal quality


Computer data card interface commands

Command Description
ATE Command Echo
ATQ Result code suppression
ATV Define response format
ATX Response range selection
AT&C Define DCD usage
AT&D Define DTR usage
AT&K Select flow control
AT&Q Define communications mode option
AT&S Define DSR option
AT+ICF DTE-DCE character framing
AT+IFC DTE-DCE Local flow control
AT+IPR Fixed DTE rate


Service

Command Description
AT+CLIP Calling line identification presentation
AT+CR Service reporting control
AT+DR Data compression reporting
AT+ILRR DTE-DCE local rate reporting


Network communication parameter commands

Command Description
ATB Communications standard option
AT+CBST Select bearer service type
AT+CEER Extended error report
AT+CRLP Radio link protocol
AT+DS Data compression


Miscellaneous commands

Command Description
A/ Re-execute command line
AT? Command help
AT*C Start SMS interpreter
AT*T Enter SMS block mode protocol
AT*V Activate V.25bis mode
AT*NOKIATEST Test command
AT+CESP Enter SMS block mode protocol


SMS commands

SMS text mode

Command Description
AT+CSMS Select message service
AT+CPMS Preferred message storage
AT+CMGF Message format
AT+CSCA Service centre address
AT+CSMP Set text mode parameters
AT+CSDH Show text mode parameters
AT+CSCB Select cell broadcast message types
AT+CSAS Save settings
AT+CRES Restore settings
AT+CNMI New message indications to TE
AT+CMGL List messages
AT+CMGR Read message
AT+CMGS Send message
AT+CMSS Send message from storage
AT+CMGW Write message to memory
AT+CMGD Delete message


SMS PDU ode

Command Description
AT+CMGL List Messages
AT+CMGR Read message
AT+CMGS Send message
AT+CMGW Write message to memory


Related links

2004 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×