C.2 Commands
07.073GPPAT Command set for GSM Mobile Equipment (ME)Release 1998TS
C.2.1 Select mode +FCLASS
This command puts the TA into a particular mode of operation (data, fax, voice etc.). This causes the TA to process information in a manner suitable for that type of information (rather than for other types of information). The values and meanings of parameter <n> are specified in the following table.
<n> Mode
0 data
1 fax class 1 (TIA‑578‑A)
1.0 fax class 1 (ITU‑T T.31 [11])
2 fax (manufacturer specific)
2.0 fax class 2 (ITU‑T T.32 [12] and TIA‑592)
3…7 reserved for other fax modes
8 voice
9…15 reserved for other voice modes
16..79 reserved
80 VoiceView (Radish)
81..255 reserved
Table C.1: +FCLASS
Command | Return |
+FCLASS=<n> | |
+FCLASS? | <n> |
+FCLASS=? | (list of supported <n>s) |
Voice mode is of particular interest here, and has an additional result code +VCON. Specifically, +VCON indicates that the TA is entering the voice command mode and there is a voice connection to at least one audio input or output. This presupposes that some mechanism has previously initiated a connection to that audio I/O.
C.2.2 Buffer threshold setting +VBT
This refers to integers <lo> and <hi> that indicate levels within the TA transmit buffer at which flow control is asserted and deasserted. The buffer is used for averaging out the irregular timing of data from the computer, so that the data becomes synchronous and may be sent to some audio device.
Table C.2: +VBT
Command | Return |
+VBT=<lo>,<hi> | |
+VBT? | <lo>,<hi> |
+VBT=? | (list of supported <lo>s),(list of supported <hi>s),(buffer size) |
C.2.3 Calling number ID presentation +VCID
The command refers to an integer that allows a called party to enable or disable (<n>=0) the reporting of the ID of calling parties, and specifies the method of presentation of the ID. This is basically the same as GSM supplementary service CLIP (Calling Line Identification Presentation). The presentation may be either formatted (<n>=1) or unformatted (<n>=2):
‑ Formatted presentation : data items are reported in the form of <tag>=<value> pairs.
<tag> <value>
DATE MMDD (month, day)
TIME HHMM (hour, minute)
NMBR calling number or P or O (P = number is private, O = number is unavailable)
NAME subscription listing name
MESG data from other (unknown) tags
‑ Unformatted presentation : here the data is presented in ASCII hex as printable numbers.
Table C.3: +VCID
Command | Return |
+VCID=<n> | |
+VCID? | <n> |
+VCID=? | (0‑2) |
C.2.4 Receive gain selection +VGR
This refers to the amplification by the TA of audio samples sent from the TA to the computer. The command operates on an integer <n>, range 0…255. Values larger than 128 indicate a larger gain than nominal. Values less than 128 indicate a smaller gain than nominal. The entire range of 0…255 does not have to be provided. A value of zero implies the use of automatic gain control by the TA.
Table C.4: +VGR
Command | Return |
+VGR=<n> | |
+VGR? | <n> |
+VGR=? | (list of supported <n>s) |
C.2.5 Transmit gain selection +VGT
This refers to the amplification by the TA of audio samples sent from the computer to the TA. The command operates on an integer <n>, range 0…255. Values larger than 128 indicate a larger gain than nominal. Values less than 128 indicate a smaller gain than nominal. The entire range of 0…255 does not have to be provided. A value of zero implies the uses of automatic gain control by the TA.
Table C.5: +VGT
Command | Return |
+VGT=<n> | |
+VGT? | <n> |
+VGT=? | (list of supported <n>s) |
C.2.6 Initialise voice parameters +VIP
This recalls manufacturer determined settings <n> of voice parameters. The command is write only. The effect of the command is manufacturer specific.
Table C.6: +VIP
Command | Return |
+VIP=<n> | |
+VIP=? | (list of supported <n>s) |
C.2.7 Inactivity timer +VIT
This refers to the value of the inactivity timer in the TA. It is used to monitor activity on the connection between the computer and the TA when the computer is in "transmit" mode and sending audio data to the TA. When the connection has been inactive for the time set by this command, the TA leaves "transmit" mode and reverts to command mode. An integer <n> different than zero implies a time of <n>/10 seconds. A value of zero disables the timer.
Table C.7: +VIT
Command | Return |
+VIT=<n> | |
+VIT? | <n> |
+VIT=? | (list of supported <n>s) |
C.2.8 Line selection +VLS
This determines the selection of sources and destinations of audio samples. An integer is used to label a particular combination of sources and destinations. The integer is defined in an entry in IS‑101 which assumes as a model a TA, a local phone and a phone line. Two additional "manufacturer specific" configurations (16,17) are defined.
‑ label=0: this is the idle state ‑ the phone is not connected to the radio network and no audio paths are used.
‑ label=1: the phone is connected to the radio network and no audio paths involving the internal microphone or internal loudspeaker are selected. This allows the computer to transmit audio data over the radio transmitter by selecting "transmit mode":
Table C.8: +VLS label 1a
loudspeaker | computer i/p | transmit stage | |
microphone ‑‑> | |||
computer o/p ‑‑> | * | ||
receiver stage ‑‑> |
This also allows the computer to receive audio data from the radio receiver by selecting "receive mode":
Table C.9: +VLS label 1b
loudspeaker | computer i/p | transmit stage | |
microphone ‑‑> | |||
computer o/p ‑‑> | |||
receiver stage ‑‑> | * |
‑ label=4: the phone is not connected to the radio network but there is an audio path to the internal speaker. This allows the computer to play sound by selecting "transmit mode".
Table C.10: +VLS label 4
loudspeaker | computer i/p | transmit stage | |
microphone ‑‑> | |||
computer o/p ‑‑> | * | ||
receiver stage ‑‑> |
‑ label=6: the phone is not connected to the radio network but there is an audio path to the internal microphone. This allows the computer to record sound by selecting "receive mode".
Table C.11: +VLS label 6
loudspeaker | computer i/p | transmit stage | |
microphone ‑‑> | * | ||
computer o/p ‑‑> | |||
receiver stage ‑‑> |
‑ label=7: the phone is connected to the radio network. The internal microphone is connected to the radio transmitter. The radio receiver is connected to the internal loudspeaker. This allows the computer to enable normal phone operation (a human holding a conversation) by selecting command mode.
Table C.12: +VLS label 7
loudspeaker | computer i/p | transmit stage | |
microphone ‑‑> | * | ||
computer o/p ‑‑> | |||
receiver stage ‑‑> | * |
Table C.13: +VLS
Command | Return |
+VLS=<n> | +VCON |
+VLS? | <n> |
+VLS=? | complex; refer IS‑101 |
+VCON is returned if an audio path is established or if a connection is made to the radio network.
Manufacturer specific extension (reserved as such by IS‑101)
‑ label=16: the phone is connected to the radio network. There is a path to the internal microphone, which is also connected to the radio transmitter. There is a path to the radio receiver, which is also connected to the internal loudspeaker. This allows the computer to record the sum of transmitted and received audio by selecting "receive mode".
Table C.14: +VLS label 16
loudspeaker | computer i/p | transmit stage | |
microphone ‑‑> | * | * | |
computer o/p ‑‑> | |||
receiver stage ‑‑> | * | * |
‑ label=17: the phone is connected to the radio system and there is a path to the internal loudspeaker and to the radio transmitter. This allows the computer to simultaneously play sound and send audio over the radio by selecting "transmit mode".
Table C.15: +VLS label 17
loudspeaker | computer i/p | transmit stage | |
microphone ‑‑> | |||
computer o/p ‑‑> | * | * | |
receiver stage ‑‑> |
C.2.9 Receive data state +VRX
This action command causes the TA to get audio data from a source determined by the +VLS command, and send it to the computer. Once the datastream has started, any result codes will be embedded in the data and shielded using the normal <DLE> methods. The receive process is terminated when the computer sends any command to the TA, or by time‑out of the inactivity timer. The command is write only.
Table C.16: +VRX
Command | Return |
+VRX | CONNECT |
C.2.10 Select compression method +VSM
This selects the voice compression method <n1>, the voice sampling rate <n2>, the silence compression sensitivity <n3>, and a parameter related to silence expansion <n4>. There are several choices of compression method. IS‑101 does not specify methods, but here is a list of some usual compression methods:
Name Communications system
GSM/full‑rate GSM
GSM/half‑rate GSM
ADPCM/G.721 DECT, CT2
ADPCM/G.723 DECT, CT2
ADPCM/G.726 DECT, CT2
ADPCM/G.727 DECT, CT2
SIGNED PCM POTS
Table C.17: +VSM
Command | Return |
+VSM=<n1>,<n2>,<n3>,<n4> | |
+VSM? | <n1>,<n2>,<n3>,<n4> |
+VSM=? | complex; refer IS‑101 |
NOTE: A value of <n3>=0 implies no silence compression sensitivity. A value of <n4>=0 implies no silence expansion.
C.2.11 DTMF and tone generation +VTS
This command allows the transmission of DTMF tones and arbitrary tones (see note). These tones may be used (for example) when announcing the start of a recording period. The command is write only. In this profile of commands, this command does not operate in data or fax modes of operation (+FCLASS=0,1,2‑7).
NOTE: D is used only for dialling.
The string parameter of the command consists of combinations of the following separated by commas:
1. <DTMF>. A single ASCII character in the set 0‑9, #,*,A‑D. This is interpreted as a single ACSII character whose duration is set by the +VTD command.
NOTE: In GSM this operates only in voice mode.
2. [<tone1>,<tone2>,<duration>]. This is interpreted as a dual tone of frequencies <tone1> and <tone2>, lasting for a time <duration> (in 10 ms multiples).
NOTE: This does not operate in GSM.
3. {<DTMF>,<duration>}. This is interpreted as a DTMF tone of different duration from that mandated by the +VTD command.
NOTE: In GSM this operates only in voice mode.
Table C.18: +VTS
Command | Return |
+VTS=as above | |
+VTS=? | (list of supported <tone1>s),(list of supported <tone2>s) ,(list of supported <duration>s) |
C.2.12 Tone duration +VTD
This refers to an integer <n> that defines the length of tones emitted as a result of the +VTS command. This does not affect the D command. A value different than zero causes a tone of duration <n>/10 seconds. The value zero causes a "manufacturer specific" value.
Table C.19: +VTD
Command | Return |
+VTD=<n> | |
+VTD? | <n> |
+VTD=? | (list of supported <n>s) |
NOTE: In GSM the value of tone duration is preset and cannot be altered.
C.2.13 Transmit data state +VTX
This action command causes the TA to receive audio data from the computer and send it to a destination determined by the +VLS command. Once the audio datastream has started, commands to the TA shall be embedded in the data stream, and shielded using the normal <DLE> methods. The transmit process is terminated by the use of embedded commands or by the time‑out of an inactivity timer. It is recommended that the TA has a buffer to allow the TA to convert potentially bursty data from the computer into synchronous data for "transmission". The command is write only.
Table C.20: +VTX
Command | Return |
+VTX | CONNECT |
Annex D (informative):
Bibliography
Informative references:
1) IrDA Serial Infrared Physical Layer Specification
IrDA Serial Infrared MAC and Link Protocol
IrDA Serial Infrared Link Access Protocol
2) PCCA STD‑101 Annex I: Data Transmission Systems and Equipment ‑ Serial Asynchronous Automatic Dialling and Control for Character Mode DCE on Wireless Data Services ‑ Annex I: Command Extensions for Analog Cellular Data Modems
3) TIA IS‑101 Facsimile Digital Interfaces ‑ Voice Control Interim Standard for Asynchronous DCE
4) TIA‑578‑A Facsimile Digital Interfaces ‑ Asynchronous Facsimile DCE Control Standard, Service Class 1
5) TIA‑592 Facsimile Digital Interfaces ‑ Asynchronous Facsimile DCE Control Standard, Service Class 2
6) TIA‑617 Data Transmission Systems and Equipment ‑ In‑Band DCE Control
7) ITU-T Recommendation V.80: In-band DCE control and synchronous data modes for asynchronous DTE
Annex E (informative):
Mobile originated alternating voice/data call example
Figure E.1 illustrates the possible transitions in MO BS 61 call. Responses and result codes generated by TA are in bold face. In this example, data part of the call is asynchronous non‑transparent 9600 bps service.
Figure E.1: MO BS 61 call
Annex F (informative):
Mobile terminated voice followed by data call example
Figure F.1 illustrates the possible transitions in MT BS 81 call. Responses and result codes generated by TA are in bold face. In this example, data part of the call is asynchronous non‑transparent 9600 bps service.
Figure F.1: MT BS 81 call
Annex G (informative):
Voice call example
Figure G.1 illustrates the possible transitions in both MT and MO TS 11 calls. Responses and result codes generated by TA are in bold face.
Figure G.1: TS 11 calls
Annex H (informative):
Change History
SMG#/TSG# | TDoc | CR | REV | PHASE | CAT | SUBJECT | WI | NEW _VERS |
S20 | 612/96 | A021 | 2+ | B | Restricted SIM access command | TEI | 5.1.0 | |
S20 | 612/96 | A022 | 2+ | C | Per call CLI restriction correction | TEI | 5.1.0 | |
S20 | 612/96 | A023 | 2+ | B | +COPS=? enhancement | TEI | 5.1.0 | |
S20 | 612/96 | A024 | 2+ | B | +CHLD=? enhancement | TEI | 5.1.0 | |
s21 | 060/97 | A025 | 2+ | B | Current call list | 5.2.0 | ||
s21 | 060/97 | A026 | 2+ | B | ECT and CD support | ECT, CD | 5.2.0 | |
s21 | 060/97 | A027 | 2+ | B | Extended Error codes | 5.2.0 | ||
s21 | 056/97 | A028 | 2+ | B | HSCSD support | HSCSD | 5.2.0 | |
s21 | 060/97 | A029 | 2+ | B | New AT IMSI command | 5.2.0 | ||
s21 | 060/97 | A030 | 2+ | B | New AT Security command | 5.2.0 | ||
s21 | 060/97 | A031 | 2+ | B | Single numbering scheme | 5.2.0 | ||
s22 | 415/97 | A032 | R97 | B | IrDA Telecom spec requirements | 5.3.0 | ||
s22 | 415/97 | A033 | 2+ | F | Facility lock enhancements | 5.3.0 | ||
s22 | 415/97 | A034 | 2+ | F | Editorial corrections | 5.3.0 | ||
s22 | 536/97 | A035 | R97 | B | Modification of AT+CAOC | 5.3.0 | ||
s23 | 97-699 | A036 | R96 | F | Deletion of codepoint for V.32bis (electronic only) | 14.4 kbit/s | 5.4.0 | |
s23 | 97-701 | A037 | R96 | B | TCH/F14.4 channel coding in HSCSD commands | 14.4 kbit/s | 5.4.0 | |
s23 | 97-702 | A038 | R97 | B | ME ringer, loudspeaker and microphone control | 5.4.0 | ||
s23 | 97-702 | A039 | R96 | F | V.120 Interworking | V.120/RDI | 5.4.0 | |
s23 | 97-702 | A040 | R97 | B | Advice of charge information from SIM | 5.4.0 | ||
s23 | 97-706 | A041 | R97 | D | Amendment in the scope Reference to 07.07 GPRS | GPRS | 5.4.0 | |
s23 | 97-702 | A042 | R97 | B | ATH and drop DTR for voice mode | 5.4.0 | ||
s23 | 97-702 | A043 | R97 | B | Preferred network list | 5.4.0 | ||
s24 | 97-922 | A044 | R96 | D | Update of alternating call figures | 07.07 | 5.5.0 | |
s24 | 97-922 | A045 | R96 | F | V.120/RDI correction | V.120/RDI | 5.5.0 | |
s24 | 97-922 | A047 | R96 | A | AT+CPIN or AT+CKPD must be mandatory in some cases (phase 2+) | 07.07 | 5.5.0 | |
s24 | 97-1031 | A048 | R97 | B | MUX 07.10 AT commands | MUX MS-TE | 5.5.0 | |
s25 | 98-0100 | A049 | R97 | F | AT command for MUX MS-TE alignment with 07.10 | 6.0.0 | ||
s25 | 98-0100 | A050 | R96 | A | Supplementary Service control phase 2+ | 5.6.0 | ||
s26 | 98-0292 | A052 | R97 | F | GSM AT command support for GPRS | GPRS | 6.1.0 | |
s26 | 98-0293 | A053 | R97 | F | USSD command improvement | TEI | 6.1.0 | |
s26 | 98-0293 | A055 | R98 | B | New AT command ME power class control +CPWC | TEI | 7.0.0 | |
s27 | 98-0735 | A065 | R98 | F | Amendment to CR+ command | GPRS | 7.1.0 | |
s27 | 98-0737 | A064 | R98 | F | Corrections to +CR and +CREG commands | TEI | 7.1.0 | |
s27 | 98-0737 | A059 | R98 | F | Power Class +CPWC | TEI | 7.1.0 | |
s27 | 98-0736 | A058 | R98 | B | Addition of command +CHSR | TEI | 7.1.0 | |
s28 | P-99-060 | A066 | R98 | B | Improvement of user -initiated service level upgrading | HCSCD | 7.2.0 | |
s28 | P-99-060 | A068 | R98 | B | New command (+CCWE) used to disable/enable call meter warning event (+CCWV) | TEI | 7.2.0 | |
s28 | P-99-060 | A069 | R98 | B | New AT command for handling the language setting in the ME | TEI | 7.2.0 | |
s28 | P-99-060 | A070 | R98 | B | New AT command for enabling/disabling and changing the greeting text (+CSGT) | TEI | 7.2.0 | |
s28 | P-99-060 | A071 | R98 | B | New AT command for handling voice mail numbers (+CSVM) | TEI | 7.2.0 | |
s28 | P-99-060 | A072 | R98 | B | New AT command to playback the ring melodies in the ME (+CRMP) | TEI | 7.2.0 | |
s28 | P-99-060 | A073 | R98 | B | New AT command to list all available AT commands (+CLAC) | TEI | 7.2.0 | |
s28 | P-99-060 | A067 | R98 | B | New AT command for resetting all user data in the ME to default values (+CMAR) | TEI | 7.2.0 | |
s29 | P-99-482 | A081 | R98 | B | Additional result codes for +CLIP +CCWA | TEI | 7.3.0 | |
s29 | P-99-482 | A076 | R98 | A | Syntax error in +CHSN command | TEI | 7.3.0 | |
s29 | P-99-482 | A078 | R98 | D | Moving AT commands to 07.07 for 07.60 handover to SMG3 / 3GPP TSG CN WG3 | GPRS | 7.3.0 | |
s30 | P-99-675 | A083 | R98 | A | AT command – Request GPRS service ‘D’ | GPRS | 7.4.0 | |
T#6 | TP-99236 | A084 | R98 | C | GPRS ATD command syntax | GPRS | 7.5.0 | |
T#6 | TP-99236 | A085 | R98 | C | Clarification to result codes for +CLIP +CCWA | TEI | 7.5.0 | |
T#11 | TP-010028 | A088 | R98 | A | Corresponding GMM states for +CGREG command | TEI | 7.6.0 | |
T#11 | TP-010028 | A089 | R98 | A | Definition of "class C in GPRS and circuit switched alternate mode" | TEI | 7.6.0 | |
T#14 | TP-010269 | A090 | 1 | R98 | F | Obsolete +CGCLOSP and corrections due to IHOSS and OSP removal | TEI | 7.7.0 |
T#19 | TP-030037 | A091 | R98 | F | Correction ATV0 result codes | TEI | 7.8.0 |