| Home · All Classes · Annotated · Functions |
The following lists the AT control commands that a device is expected to support, however, a device may support more commands than listed.
For example, some phones support both AT+CGMI and AT+GMI to retrieve the manufacturer name, while only AT+CGMI is required.
In the future, additional commands from the GSM specifications 07.05 and 07.07 may be required, so it is recommended that all device manufacturers fully comply with GSM specifications.
The categories of control commands are:
| Command | Description |
|---|---|
| AT+CGMI | Identify manufacturer |
| AT+CGMM | Identify model |
| AT+CGMR | Identify revision |
| AT+CGSN | Identify serial number (of device, not SIM card) |
| AT+CSCS | Select character set |
| Command | Description |
|---|---|
| ATDnnn; | Dial "nnn" in voice mode. |
| ATH | Hangup the current call. |
| ATA | Answer an incoming call. |
Note: When the ATD command is used with a trailing ';', it must return immediately to command mode after command processing. Some phones have been known to wait until the receiving party answers the call, or busy is detected, before returning to command mode. Such phones are not compliant with the GSM specification and will not be supported.
The GSM specification permits ATD to be used in a special mode for dialing directly from phone books. This mode is not required as Qtopia implements its own algorithm for converting phone book entries to numbers.
It is important that ATD recognise numbers starting with + as international, and all other numbers as being local.
| Command | Description |
|---|---|
| AT+CNUM | Subscriber number |
| AT+CREG | Network registration |
| AT+COPS | Operator selection |
| AT+CLCK | Facility lock |
| AT+CPWD | Change password |
| AT+CLIP | Enable caller line identification |
| AT+CLIR | Caller ID restriction |
| AT+CCUG | Closed user group |
| AT+CCFC | Call forwarding number and conditions |
| AT+CCWA | Call waiting |
| AT+CHLD | Call hold and multiparty |
| AT+CTFR | Call transfer |
| AT+CAOC | Advice of charge |
| Command | Description |
|---|---|
| AT+CPAS | Phone activity status |
| AT+CFUN | Set phone functionality |
| AT+CPIN | Enter PIN |
| AT+CBC | Battery charge |
| AT+CSQ | Signal quality |
| AT+CPBS | Select phone book memory storage |
| AT+CPBR | Read phone book entries |
| AT+CPBW | Write phone book entries |
The phone book commands are intended for accessing phone books stored on SIM cards, typically the SM phone book. However, Qtopia Phone software provides its own mechanisms for managing phone books stored within the phone memory.
| Command | Description |
|---|---|
| AT+CPMS | Preferred message storage |
| AT+CMGF | Message format (we use format 0: PDU) |
| AT+CSCA | Service centre address |
| AT+CNMI | Enable new message indications |
| AT+CSCB | Select cell broadcast message types |
| AT+CMGL | List messages |
| AT+CMGR | Read message |
| AT+CMGS | Send message |
| AT+CMGD | Delete message |
| AT+CMMS | More messages to send |
| +CMTI | Notification of SMS message delivery. |
| +CBMI | Notification of a cell broadcast message. |
| +CDSI | Notification of an SMS status report message. |
| +CBM | Notification of a directly delivered cell broadcast message. |
It is assumed that incoming SMS messages are stored in a temporary storage area on the device and that Qtopia will retrieve the messages using the AT+CMGL and AT+CMGR commands.
Qtopia Phone expects to use GSM 07.10 multiplexing to establish multiple communications paths with the modem. The modem needs to support the AT+CMUX command plus the basic packet mode in GSM 07.10. If the modem supports some other form of multiplexing, then it is necessary to modify muxdevice.cpp in the source code. Multiplexing support is required for GPRS.
| Command | Description |
|---|---|
| AT+VTS | DTMF and tone generation (GSM 07.07, Appendix C) |
| AT+CVIB | Select vibrate mode |
| AT+CPUC | Price per unit |
| AT+CIMI | SIM identity |
| AT+CHSC | Get phone status (only needed if AT+CPAS is not available) |
| AT+CLCC | List active calls |
The GSM specification lacks some functionality required to provide a complete feature set. The most important of these is Call Monitoring, that is, when an outgoing dial request is made, a method of detecting call acceptance or rejection by the other party is required.
Ericsson phones have an AT*ECAM command that is used to turn on supplementary call monitoring events. That is, each time the call status changes, the phone emits an *ECAV message with the details. It is recommended that device manufacturers provide these or similar commands.
| Command | Description |
|---|---|
| AT*ECAM | Turn on call monitoring |
| AT*ESIL | Select silent mode |
| *ECAV | Unsolicited response for AT*ECAM |
| Copyright © 2006 Trolltech | Trademarks | Qtopia 4.1.7 |