Sie sind auf Seite 1von 14

Search

Log inJoin

English

Design Develop Distribute Devices Resources Community


Share

Wiki
Create New Wiki Page

WikiResources

Wiki Home Help Etiquette Featured Articles Featured Videos Templates Glossary Feedback

DevelopmentFrameworks

Platforms

CrossPlatform

Tools &Resources

NaturalLanguages

Toolbox

Article Read Comments Read View source History

14 Sep 2008

Contents

What you should know Overview

Using AT Commands with HyperTerminal AT commands set for Nokia GSM and WCDMA products

o o o o o o o o

Call control Data card control commands Phone control commands Computer data card interface commands Service Network communication parameter commands Miscellaneous commands SMS commands SMS text mode SMS PDU ode

ArticleMetadata

Related links

Article

Created: vasant21 (12 May 2007) Last edited: hamishwillee (21 Sep 2011)

Categories: Connectivity | AT Command | Technical Resources/Services

AT Commands
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.

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

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

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

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.

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

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

Data card control commands


Command ATI Description Identification

ATS ATZ AT&F AT&V AT&W AT&Y AT+CLCK AT+COLP AT+GCAP AT+GMI AT+GMM AT+GMR AT+GSN

Select an S-register Recall stored profile Restore factory settings View active configuration Store parameters in given profile Select Set as powerup option Facility lock command Connected line identification presentation Request complete capabilities list Request manufacturer identification Request model identification Request revision identification Request product serial number identification (IMEI)

Phone control commands


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

Computer data card interface commands


Command ATE ATQ ATV ATX AT&C AT&D Description Command Echo Result code suppression Define response format Response range selection Define DCD usage Define DTR usage

AT&K AT&Q AT&S AT+ICF AT+IFC AT+IPR

Select flow control Define communications mode option Define DSR option DTE-DCE character framing DTE-DCE Local flow control Fixed DTE rate

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

Network communication parameter commands


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

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

SMS commands
SMS text mode
Command AT+CSMS AT+CPMS AT+CMGF Description Select message service Preferred message storage Message format

AT+CSCA AT+CSMP AT+CSDH AT+CSCB AT+CSAS AT+CRES AT+CNMI AT+CMGL AT+CMGR AT+CMGS AT+CMSS AT+CMGW AT+CMGD

Service centre address Set text mode parameters Show text mode parameters Select cell broadcast message types Save settings Restore settings New message indications to TE List messages Read message Send message Send message from storage Write message to memory Delete message

SMS PDU ode


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

Related links

AT Command Set For Nokia GSM And WCDMA Products v1.2 AT Command Set For Nokia GSM Products File:Send AT Commands.zip Using AT commands to send and read_SMS

Comments
Featured article, September 14th 2008 (week 38) The overview added on this page was originally written by ktrivedi on my user page. I moved the overview on this page and edited some typos, but did not touch the overall flow of the article. If this material does not fit in here, please edit it accordingly Hartti

Severe Bug: N73 AT command support broken


N73 (and several other nokia phones, too including E51) understands only parts of the command set. Example dialogs: AT+CPMS? +CPMS: ,,,,,,,, OK AT+CPMS=? +CPMS: (),(),()

OK Many other commands (e.g. in contact management) don't work either. I found no documentation regarding this behaviour. I feel that Nokia should release information about how this phone is to be used. I wouldn't recommend anyone to pay in excess of 200 for a phone that doesn't do what it's supposed to.

use lower speed in USB COM port


Hi, i had the same problem above, and all i had to do was, search for the USB COM port that the phone was using, and lower the speed (i used 9600). because i only need to send a few SMS messages, i left the speed that low. after changing the speed, SMS and other commands work OK. regards, Oscar. Oscar, Thanks for the advice I am using the E51, I have cranked back the bit rate to 9600 and I still have the same issue. It seems to be more of an issue of storage of where the SMSs are stored. Does Nokia have any suggestion of where we should be accessing via AT commands to get to the SMSs? Keith

command set differs from phone to phone


e.g. on some phones some commands are missing and not all commands are listed here and on referenced links...

How to use at commands with hyperterminal to control keypad of handset


I use Nokia N81 handset to connect with PC,then use" at+ckpd=?" at commands with hyperterminal,the response is "ERROR". Who can help me?

Who knows Nokia handset's keycode?


I want to get nokia handset's keycode.Who can help me? left softkey,right softkey,up arrow softkey,down arrow softkey,left arrow softkey,right arrow softkey,the middle softkey,0,1,2,3,4,5,6,7,8,9,clear softkey.......

Image Updated
-I (Mahbub_s60) added couple of images and related text in the article. It makes easier now (those pictures were hidden :-) ) to send AT command from PC

Wheateus - Hyper-Terminal to ASCII


I'm using the commands to send a text message: AT+CSCA=+61418706700 The SMS message centre number for Telstra AT+CMGF=1 Format the modem for text mode AT+CMGS=XXXXXXXXXXX Mobile number for where you want the message to go to "Insert your message here" (Control-Z) Hold control z together at the same time Then do not push any other number then the message will be sent

This is what I have done in HyperTerminal but I wish to convert it to ASCII so that I can program an IC to send this command, can anyone help me with this for my school project Thanks, Wheateus Wheateus 14:04, 18 September 2011 (EEST)

Parakrama - how can i make 3g video call


i m trying to many ways to make a 3g call using using my n97 mobile and connected to my pc and using commands but i couldnt find a way to make 3g call

so how can i make 3g call using my pc and N97 mobile phone parakrama 08:29, 4 October 2011 (EEST)

Hamishwillee - @Parakrama
Parakrama , I suggest you raise this on the discussion boards. hamishwillee 03:52, 5 October 2011 (EEST)

Parakrama - @ Hamishwille
I Searchd in many ways in internet i thought world still in 16 century because still i couldnt find any tutorial about make 3g video call so are we still in 16 century???? please some one help me to make 3g video call using any programing language thanks parakrama 06:14, 13 October 2011 (EEST)

Hamishwillee - @Parakrama - please read my previous response


>Parakrama , I suggest you raise this on the discussion boards. If you actually want an answer then go ask on the discussion boards. That is where you will find the most people who might know the answer to your question. This is an article on AT commands - it is unlikely the small number of people who might be viewing it will know the answer to your question. hamishwillee 06:20, 14 October 2011 (EEST)

Md. Kayesh - Windows does show E7 handset as modem


I attached E7-00 in Windows 7 and Windows XP. I found it as modem in Windows 7 but as Windows 7 doesn't have hyper Terminal i could not follow this page any more there. The i tried in Windows XP and there i could not find it as a modem. What should i do now. I need to check AT command response. Md. Kayesh 09:55, 19 December 2011 (EET)

Hamishwillee - Md. Kayesh - try discussion boards


There is no guarantee that person who wrote this article is still watching. If you get an answer, please extend this article. hamishwillee 01:03, 20 December 2011 (EET)

Gmedici - @Md. Kayesh - Windows does show E7 handset as modem+AT support incomplete for E52???
I was able to talk to my E52 over Bluetooth, Win7 and I see it as COM4. I used putty which is a good Hyperterminal free replacement. My problem is that it seems that not all AT commands work-- I can dial (ATD) I can answer a call (ATA) but I can't hangup (ATH=ERROR) and, worse, I can't figure a way of getting the Caller Line Identification. Anybody can give an advice? Thanks, --giorgio gmedici 19:51, 2 February 2012 (EET)

Gmedici - Re: AT support incomplete for E52???


OK solved (I think!...) It turns out that (i don't know why) after issuing this command: AT+CLIP=1 the modem reports the CLI after RING and that after issuing AT+CVHU=0 the command ATH does what it is expected to, ie it hangs up the call --giorgio gmedici 20:20, 2 February 2012 (EET)

Programergosum - minicom or cutecom for Linux


The examples for using AT commands from HyperTerminal can be shown for Linux users using minicom or cutecom. programergosum 17:36, 19 February 2012 (EET)

Kingsonprisonic - E-Recharge AT Commands


Dear sir, Currently i am developing an application in vb.net. Which will able to send sms through a nokia mobile phone and Airtel Sim card. Now I know the AT commands for sending and receiving SMS's .

How can i send e-recharge through LAPO SIM (MASTER SIM) using AT commands. In LAPO SIM(also known as Demo SIM/Master SIM), an application called "Refill Amount" already installed. 1. The retailer open this app and put my number 2. Now he put the amount to send 3. Now he enter his PIN 4. Now he send the amount And at last My account is successfully recharged... I think this application also use the GSM modem to send commands. I just want to know the commands for sending recharge to other phones.... Someone from this community say that i should ask this info from my operator... But as you can see that the application just recharge other mobile by just sending sms then i think there is a way to do same thing manually by AT commands....

If any other method available please let me know.

Thanks in advance.... kingsonprisonic 14:06, 10 March 2012 (EET)

Log in or Join to leave comments.


This page was last modified on 21 September 2011, at 01:54. 2852 page views in the last 30 days.

Featured links
Event calendar Contact and feedback Support

Develop
Windows Phone Qt Series 40

Distribution
Store Statistics Publisher Guide

Blogs
Nokia Developer Blog Nokia Publisher Blog Qt Blog

Community
Discussions Wiki Groups Projects Champions Knowledge base

Resources
Documentation Tools

Code examples Developer Programs

Site Map Terms & Conditions Privacy Policy

Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.
Copyright Nokia 2012 All rights reserved

Das könnte Ihnen auch gefallen