| Home · All Classes · Grouped Classes · Annotated · Functions |
[Previous: Modem Emulator - Call Control] [Next: Modem Emulator - Identification]
The AT commands in this section are used for controlling state information in the modem and for reporting the current status of the state information.
ATE Command Echo
The ATE command can be used to turn command echo on (ATE1) or off (ATE0). If no parameter is supplied (i.e. ATE), it is the same as ATE0.
| Command | Possible Responses |
|---|---|
| ATE[<n>] | OK, ERROR |
Conforms with: Recommendation V.250.
ATQ Result Code Suppression
The ATQ command can be used to suppress (ATQ1) or not suppress (ATQ0) the reporting of result codes. If no parameter is supplied (i.e. ATQ), it is the same as ATQ0.
| Command | Possible Responses |
|---|---|
| ATQ[<n>] | OK, ERROR |
Conforms with: Recommendation V.250.
ATS3 Command Line Termination Character
The ATS3 command can be used to query or alter the character character used to terminate AT command lines. There is usually no reason to set this to something other than the default of 13.
| Command | Possible Responses |
|---|---|
| ATS3=<n>] | OK |
| ATS3? | <n><CR><LF>OK |
Conforms with: Recommendation V.250.
ATS4 Response Formatting Character
The ATS4 command can be used to query or alter the response formatting (line feed) character used to format AT response lines. There is usually no reason to set this to something other than the default of 10.
| Command | Possible Responses |
|---|---|
| ATS4=<n>] | OK |
| ATS4? | <n><CR><LF>OK |
Conforms with: Recommendation V.250.
ATS5 Command Line Editing Character (Backspace)
The ATS5 command can be used to query or alter the backspace character that is used to edit AT command lines. There is usually no reason to set this to something other than the default of 8.
| Command | Possible Responses |
|---|---|
| ATS5=<n>] | OK |
| ATS5? | <n><CR><LF>OK |
Conforms with: Recommendation V.250.
ATV Verbose Result Codes
The ATV command can be used to turn on (ATV1) or off (ATV0) the use of verbose result codes such as OK, ERROR, NO CARRIER, etc. If no parameter is supplied (i.e. ATV), it is the same as ATV0.
| Command | Possible Responses |
|---|---|
| ATV[<n>] | OK, ERROR |
Conforms with: Recommendation V.250.
ATZ Initialize Modem
The ATZ command initializes the modem and returns all status settings to their default values. In the current implementation, this command is identical to AT&F.
| Command | Possible Responses |
|---|---|
| ATZ[<n>] | OK |
The parameter <n> is ignored in this implementation.
Conforms with: Recommendation V.250.
AT&F Reset to Factory Defaults
The AT&F command resets all status settings to their factory default values.
| Command | Possible Responses |
|---|---|
| AT&F | OK |
Conforms with: Recommendation V.250.
AT&W Write Settings
The AT&W command saves all status settings so they can be restored the next time the modem is initialized. In the current implementation, this command is ignored.
| Command | Possible Responses |
|---|---|
| AT&W | OK |
Conforms with: Recommendation V.250.
AT+BRSF Bluetooth Retrieve Supported Features
The AT+BRSF command is used by Bluetooth hands-free (HF) devices to report the features that are supported by the hands-free unit, and to request the phone's audio gateway (AG) feature set.
| Command | Possible Responses |
|---|---|
| AT+BRSF=<HF supported features bitmap> | +BRSF: <AG supported features bitmap> |
| AT+BRSF=<HF supported features bitmap> | ERROR if the device is not a Bluetooth hands-free unit. |
Set command is used by the hands-free device to send a bitmap of its supported features to the phone's audio gateway. The audio gateway in turn responds with a separate bitmap of its supported features.
| <HF supported features bitmap> | Decimal integer containing the following bits:
|
| <AG supported features bitmap> | Decimal integer containing the following bits:
|
Conforms with: Bluetooth Hands-Free Profile 1.5
AT+CBC Battery Charge
The AT+CBC command can be used to query the current battery charge.
| Command | Possible Responses |
|---|---|
| AT+CBC | +CBC: <bcs>, <bcl> |
| AT+CBC=? | +CBC: (0-3),(0-100) |
Execution command returns battery connection status <bcs> and battery charge level <bcl> of the MT.
| <bcs> |
|
| <bcl> |
|
Conforms with: 3GPP TS 27.007.
AT+CEER Extended error report
The AT+CEER command provides extended error information.
| Command | Possible Responses |
|---|---|
| AT+CEER | +CEER: <report> |
Execution command causes the TA to return one or more lines of information text <report>, determined by the MT manufacturer, which should offer the user of the TA an extended report of the reason for the last failed operation.
Conforms with: 3GPP TS 27.007.
AT+CIND Indicator Control
The AT+CIND command is used to get the current indicator values.
| Command | Possible Responses |
|---|---|
| AT+CIND=[<ind>,[<ind>[,...]]] | +CME ERROR: 3 |
| AT+CIND? | +CIND: <ind>[,<ind>[,...]] |
| AT+CIND=? | +CIND: (<descr>,(list of <ind>'s))[,...] |
Set command is used to set the indicator values. In this implementation, indicators cannot be set and the set command will always return an error.
Read command returns the current status of the indicators.
Test command returns pairs, where the string value <descr> is a description of the indicator, and the compound value is the allowable values for the indicator.
The following indicators are supported:
| Name | Description | Range |
|---|---|---|
| battchg | Battery charge level | 0-5 |
| signal | Signal quality | 0-5 |
| service | Service availability | 0-1 |
| message | Message received | 0-1 |
| call | Call in progress | 0-1 |
| roam | Roaming indicator | 0-1 |
| smsfull | SMS memory state |
|
| callsetup | Call setup state |
|
| callhold | Call hold state |
|
The callsetup and callhold indicators are from the Bluetooth Hands-Free Profile version 1.5. The rest are from 3GPP TS 27.007.
Conforms with: 3GPP TS 27.007, Bluetooth Hands-Free Profile 1.5.
AT+CMEC Mobile Termination Control Mode
The AT+CMEC command is used to select the modes that can control the MT.
| Command | Possible Responses |
|---|---|
| AT+CMEC=[<keyp>,[<disp>[,<ind>]]] | OK, +CME ERROR: 3 |
| AT+CMEC? | +CMEC: 0,0,0 |
| AT+CMEC=? | +CMEC: (0),(0),(0) |
In this implementation, keypad and display control are not supported, and indicators can only be read, never written. It is an error to use the set command with non-zero parameters.
Conforms with: 3GPP TS 27.007.
AT+CMEE Report Mobile Termination Error
The AT+CMEE command is used to select the error reporting mode for the MT.
| Command | Possible Responses |
|---|---|
| AT+CMEE=[<n>] | OK, +CME ERROR: 4 |
| AT+CMEE? | +CMEE: <n> |
| AT+CMEE=? | +CMEE: (0-2) |
Set command disables or enables the use of result code +CME ERROR: <err> as an indication of an error relating to the functionality of the MT. When enabled, MT related errors cause the +CME ERROR: <err> final result code instead of the regular ERROR result code. ERROR is still returned normally when the error is related to syntax, invalid parameters, or TA functionality.
| <n> |
|
Conforms with: 3GPP TS 27.007.
AT+CMER Mobile Termination Event Reporting
The AT+CMER command enables or disables unsolicited result codes related to MT events.
| Command | Possible Responses |
|---|---|
| AT+CMER=[<mode>[,<keyp>[,<disp>[,<ind>[,<bfr>]]]]] | OK, +CME ERROR: 3 |
| AT+CMER? | +CMER: 1,0,0,<ind>,0 |
| AT+CMER=? | +CMER: (1),(0),(0),(0-2),(0) |
Set command enables or disables unsolicited result codes for indicators. This implementation does not support the other event types and <mode> must always be 1.
| <ind> |
|
In this implementation, AT+CIND set command is not supported, so <ind> values 1 and 2 are identical.
Conforms with: 3GPP TS 27.007.
AT+CMUX Multiplexing Mode
The AT+CMUX enables multiplexing according to 3GPP TS 27.010.
| Command | Possible Responses |
|---|---|
| AT+CMUX=[<mode>[,<subset>[,<port_speed>[,<frame_size>[,...]]]]] | OK, +CME ERROR: 4 |
| AT+CMUX=? | +CMUX: (0),(0),(1-6),(1-32768),(1-255),(0-100),(2-255),(1-255),(1-7) |
Set command enables multiplexing mode according to the supplied parameters. This implementation supports basic mode, UIH frames, any port speed, and any frame size. Set command will report an error if some other mode is requested, or the command is used on a channel that already has multiplexing enabled.
| <mode> | Multiplexer transparency mechanism:
|
| <subset> | Subset of <mode> to use:
|
| <port_speed> | Transmission rate; ignored. |
| <frame_size> | Maximum frame size, 1-32768. Default is 31. |
Test command returns the parameter values that are supported, including additional parameters from 3GPP TS 27.007 which are ignored by this implementation.
Conforms with: 3GPP TS 27.007, 27.010.
AT+CPAS Phone Activity Status
The AT+CPAS returns information about the mode the phone is currently operating in.
| Command | Possible Responses |
|---|---|
| AT+CPAS | +CPAS: <pas> |
| AT+CPAS=? | +CPAS: (0-5) |
Execution command returns the activity status <pas> of the MT. It can be used to interrogate the MT before requesting action from the phone.
Test command returns the values that are supported by the MT.
| <pas> |
|
Conforms with: 3GPP TS 27.007.
AT+CPIN Enter PIN
The AT+CPIN command allows for querying and entering the PIN.
| Command | Possible Responses |
|---|---|
| AT+CPIN=<pin>[,<newpin] | +CME ERROR: 3 |
| AT+CPIN? | +CPIN: READY |
| AT+CPIN=? | OK |
For security reasons, this implementation does not allow real access to the PIN through this interface. It is assumed that the user has already entered the PIN directly on the phone using some other means. If the user hasn't, then requests to use restricted features will be denied or delayed. Read command will always return READY and set command will always fail.
Conforms with: 3GPP TS 27.007.
AT+CRC Cellular Result Codes
The AT+CRC command enables or disables the +CRING unsolicited response.
| Command | Possible Responses |
|---|---|
| AT+CRC=[<mode>] | OK, +CME ERROR: 3 |
| AT+CRC? | +CRC: <mode> |
| AT+CRC=? | +CRC: (0,1) |
Set command controls whether or not the extended format of incoming call indication is used. When enabled, an incoming call is indicated to the TE with unsolicited result code +CRING: <type> instead of the normal RING, where <type> is one of the following values:
| ASYNC | Asynchronous data |
| FAX | Fascimile |
| VOICE | Normal voice |
GPRS network requests are not supported in this implementation. They are handled internally within the phone.
Conforms with: 3GPP TS 27.007.
AT+CSCS Select TE Character Set
The AT+CSCS command selects the character set to use in commands that take or return string arguments.
| Command | Possible Responses |
|---|---|
| AT+CSCS=<chset> | OK, +CME ERROR: 4 |
| AT+CSCS? | +CSCS: <chset> |
| AT+CSCS=? | +CSCS: (list of supported <chset>s) |
Set command informs the TA which character set <chset> is used by the TE. TA is then able to convert character strings correctly between TE and MT character sets. +CME ERROR: 4 will be returned if the character set is not supported.
Read command shows the current setting, and test command displays the available character sets.
The following character sets are supported by this implementation:
| Name | Description |
|---|---|
| GSM | GSM 7-bit default alphabet from 3GPP TS 23.038. This is the default value. |
| HEX | Hexadecimal encoding of GSM 7-bit default alphabet. |
| UCS2 | 16-bit universal multiple-octet coded character set. UCS2 character strings are converted to hexadecimal. |
| 8859-1 | ISO-8859 Latin 1 character set. |
Conforms with: Recommendation V.250.
AT+CSQ Signal Quality
The AT+CSQ command can be used to query the current signal quality.
| Command | Possible Responses |
|---|---|
| AT+CSQ | +CBC: <rssi>, <ber> |
| AT+CSQ=? | +CBC: (0-31),(0-7) |
Execution command returns received signal strength indication <rssi> and channel bit error rate <ber> from the MT.
| <rssi> |
|
| <ber> |
|
Conforms with: 3GPP TS 27.007.
AT+GCAP Request Capabilities
The AT+GCAP command requests the capabilities of the modem. It responds with a list of functionality areas, such as GSM, Fax, etc, that the modem supports.
| Command | Possible Responses |
|---|---|
| AT+GCAP | +GCAP: <functionality-list> |
The following functionality values may be returned:
| Value | Description |
|---|---|
| +CGSM | GSM commands according to 3GPP TS 27.007 and 27.005. |
| +FCLASS | Fax commands. |
| +VOIP | VoIP calls can be dialed with ATD<uri>;. |
Conforms with: Recommendation V.250.
AT*QBC Enable Unsolicited Battery Charge Reporting
The AT*QBC command can be used to enable or disable the unsolicited reporting of battery charge changes.
| Command | Possible Responses |
|---|---|
| AT*QBC=<n> | OK, +CME ERROR: <err> |
| AT*QBC? | *QBC: <n> |
| AT*QBC=? | *QBC: (0,1) |
Set command controls the presentation of an unsolicited result code *QBC: <bcs>,<bcl> when <n>=1 and there is a change in the battery charge information.
Read command returns the current state of the result code presentation value <n>. The default value is 0.
| <bcs> |
|
| <bcl> |
|
AT*QCAM Call Status Monitoring
The AT*QCAM command can be used to enable or disable the unsolicited reporting of call status changes.
| Command | Possible Responses |
|---|---|
| AT*QCAM=<n> | OK, +CME ERROR: <err> |
| AT*QCAM? | *QCAM: <n> |
| AT*QCAM=? | *QCAM: (0,1) |
Set command controls the presentation of an unsolicited result code *QCAV: <id>,<state>,<calltype>[,<number>,<type>] when <n>=1 and there is a change in the call status information.
Read command returns the current state of the result code presentation value <n>. The default value is 0.
| <id> | Identifier for the call. |
| <state> | State of the call:
|
| <calltype> | Type of call:
|
| <number> | String type phone number of calling address in format specified by <type>. |
| <type> | Type of address octet in integer format (refer 3GPP TS 24.008). |
AT*QSQ Enable Unsolicited Signal Quality Reporting
The AT*QSQ command can be used to enable or disable the unsolicited reporting of battery charge changes.
| Command | Possible Responses |
|---|---|
| AT*QSQ=<n> | OK, +CME ERROR: <err> |
| AT*QSQ? | *QBC: <n> |
| AT*QSQ=? | *QBC: (0,1) |
Set command controls the presentation of an unsolicited result code *QSQ: <rssi>,<ber> when <n>=1 and there is a change in the battery charge information.
Read command returns the current state of the result code presentation value <n>. The default value is 0.
| <rssi> |
|
| <ber> |
|
AT+VGM Gain of Microphone
The AT+VGM command is used by a Bluetooth hands-free (HF) device to report its current microphone gain level setting to the phone's audio gateway (AG).
| Command | Possible Responses |
|---|---|
| AT+VGM=<gain> | OK |
| AT+VGM=<gain> | ERROR if the device is not a Bluetooth hands-free unit. |
| AT+VGM? | +VGM: <gain> |
| AT+VGM=? | +VGM: (0-15) |
| <gain> | Decimal integer indicating the microphone gain between 0 and 15, where 15 is the maximum gain. |
Set command reports the HF's current gain level setting. Get command reports the previous setting. Test command returns the valid gain levels.
The audio gateway may also send unsolicited +VGM: <gain> messages whenever the gain changes on the AG.
Conforms with: Bluetooth Hands-Free Profile 1.5
AT+VGS Gain of Speaker
The AT+VGS command is used by a Bluetooth hands-free (HF) device to report its current speaker gain level setting to the phone's audio gateway (AG).
| Command | Possible Responses |
|---|---|
| AT+VGS=<gain> | OK |
| AT+VGS=<gain> | ERROR if the device is not a Bluetooth hands-free unit. |
| AT+VGS? | +VGS: <gain> |
| AT+VGS=? | +VGS: (0-15) |
| <gain> | Decimal integer indicating the speaker gain between 0 and 15, where 15 is the maximum gain. |
Set command reports the HF's current gain level setting. Get command reports the previous setting. Test command returns the valid gain levels.
The audio gateway may also send unsolicited +VGS: <gain> messages whenever the gain changes on the AG.
Conforms with: Bluetooth Hands-Free Profile 1.5
AT+NREC Control Noise Reduction and Echo Cancellation
The AT+NREC command is used by a Bluetooth hands-free (HF) device to turn off the Noise Reduction and Echo Cancellation capabilities of the phone's audio gateway (AG).
| Command | Possible Responses |
|---|---|
| AT+NREC=0 | OK |
| AT+NREC=0 | ERROR if the device is not a Bluetooth hands-free unit or functionality is not supported. |
Conforms with: Bluetooth Hands-Free Profile 1.5
AT+BVRA Control Bluetooth Voice Recognition
The AT+BVRA command is used by a Bluetooth hands-free (HF) device to turn on and off the Voice Recognition capabilities of the phone's audio gateway (AG).
| Command | Possible Responses |
|---|---|
| AT+BVRA=<num> | OK |
| AT+BVRA=<num> | ERROR if the device is not a Bluetooth hands-free unit or functionality is not supported. |
The AG can also initiate Bluetooth Voice Recognition events by sending the {+BVRA=<num>} unsolicited result code.
| <num> | Decimal integer. 0 indicates voice recognition functionality should be ended. 1 indicates voice recognition functionality should be started. |
Conforms with: Bluetooth Hands-Free Profile 1.5
AT+BINP Bluetooth: Attach Phone Number to a Voice Tag
The AT+BINP command can be used by the Bluetooth hands-free (HF) device to request Phone Number from the AG.
| Command | Possible Responses |
|---|---|
| AT+BINP=1 | +BINP:<PhoneNumber>, OK |
| AT+BINP=1 | ERROR if the device is not a Bluetooth hands-free unit or functionality is not supported. |
Each time this command is sent, the Audio Gateway shall respond with a different Phone Number.
Conforms with: Bluetooth Hands-Free Profile 1.5
AT+BTRH Bluetooth Respond and Hold
The AT+BTRH command can be used by the Bluetooth hands-free (HF) device to perform the Respond and Hold feature.
| Command | Possible Responses |
|---|---|
| AT+BTRH? | [+BTRH:<number>], OK |
| AT+BTRH = <num> | +BTRH:<num>, OK |
| AT+BTRH = <num> | ERROR if the device is not a Bluetooth hands-free unit or functionality is not supported. |
| Num Value | Description |
|---|---|
| 0 | Put the incoming call on hold. |
| 1 | Accept the call which was held. |
| 2 | Reject the call which was held. |
Conforms with: Bluetooth Hands-Free Profile 1.5
[Previous: Modem Emulator - Call Control] [Next: Modem Emulator - Identification]
| Copyright © 2007 Trolltech | Trademarks | Qtopia 4.2.5 |