Beruflich Dokumente
Kultur Dokumente
Log inJoin
English
Wiki
Create New Wiki Page
WikiResources
Wiki Home Help Etiquette Featured Articles Featured Videos Templates Glossary Feedback
DevelopmentFrameworks
Platforms
CrossPlatform
Tools &Resources
NaturalLanguages
Toolbox
14 Sep 2008
Contents
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)
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).
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.
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)
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
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
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
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.
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
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)
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)
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)
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....
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
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