Multi-Tech Systems GPRS (MTMMC-G) Benutzerhandbuch

Seite von 203
Chapter 5 – Call Control Commands 
Multi-Tech Systems, Inc. Wireless GSM/GPRS AT Commands (Document Number S000293I) 
23 
 
Automatic Dialing with DTR   %D 
Description: 
This command enables and disables: 
• 
Automatic dialing of the phone number stored in the first location of the ADN phonebook, (or 
FDN phonebook, if it is activated using the +CLCK command). 
• 
Automatic sending of the short message (SMS) stored in the first location of the SIM. 
 
The number is dialed when the DTR OFF switches ON.  
 
The short message is sent when DTR OFF switches ON. 
Values: 
<n>  (0-2) 
Enables or disables automatic message transmission or number dialing. Informs the 
product that the number is a voice number rather than a data number.
 
 %D0 
Disables automatic DTR number dialing / message transmission.
 
 %D1; 
Enables automatic DTR dialing if DTR switches from OFF to ON. Dials the phone number 
in the first location of the ADN phonebook (or FDN phonebook, if it is activated using the 
+CLCK command). 
Voice call with semicolon. 
 %D1 
Activates automatic DTR dialing if DTR switches from OFF to ON. Dials the phone 
number in the first location of the ADN phonebook (or FDN phonebook, if it is activated 
using the +CLCK command). 
Data call without semicolon. 
 %D2 
Activates automatic DTR message transmission if DTR switches from OFF to ON. Sends 
the short message in the first location of the SIM. 
Note:  If the first location is empty: 
• 
AT%D1 and AT%D2 commands will receive an OK response. 
• 
The DTR ON event will trigger a CME ERROR: 21 or a CMS ERROR: 321 
Syntax:    
Command Syntax: AT%D<n>[;]
 
Command 
Possible responses
AT%D1; 
Note: Activates DTR number dialing 
OK 
Note: Command has been executed 
DTR is OFF 
DTR switches ON 
Note: Number in the ADN’s first location is dialed automatically 
DTR switches OFF 
Note: The product goes on-hook 
 
OK 
AT%D2 
Note: Activates DTR short message sending 
OK 
Note: Command has been executed
DTR is OFF 
DTR switches ON 
Note: The first short message is being sent 
 
+CMSS: x 
AT%D1;
 
OK 
DTR is OFF 
DTR switches ON 
Note: No phone number in the ADN phonebook’s first location 
(or FDN phonebook if it’s activated using the +CLCK command)  
 
+CME ERROR: 21 
AT%D2;
 
OK 
DTR is OFF 
DTR switches ON 
Note: No short message in the first location of the SIM 
 
+CME ERROR: 321 
 
 
Automatic Answer   S0 
Description: 
This S0 parameter determines and controls the product automatic answering mode. 
Values:   
<value>   The number of rings before an automatic answer (3 characters padded with zeros) 
Range of values is 0 to 255. 
Syntax: 
Command Syntax: ATS0=<value> 
Command 
Possible responses
ATS0=2 
Note: Automatic answer after 2 rings 
OK 
 
ATS0? 
 
Note: Current value 
002 
OK 
Note: always 3 characters padded with zeros  
ATS0=0 
Note: No automatic answer 
OK 
Note: Command valid 
All others S-parameters (S6,S7,S8 …) are not implemented.