Rainbow Electronics MG260 User Manual

Page 28

Advertising
background image

FLYFOT-MG260-MODULE

Page: 28 / 246

This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged
without prior written agreement.

5 Call Control commands

5.1 Dial command D

Description :

The ATD command is used to set a voice, data call, As per GSM 02.30, the dial command also
controls supplementary services.
For a data call, the application sends the following ASCII string to the product:
ATD<nb> where <nb> is the destination phone number.

For a voice call, the application sends the following ASCII string to the product:
(the bearer may be selected previously, if not a default bearer is used).
ATD<nb> where <nb> is the destination phone number.

Please note that for an international number, the local international prefix does not need to be set
(usually 00) but does need to be replaced by the ‘+’ character.
Example: to set up a voice call to FLYFOT offices from another country, the AT command is:
ATD+8601062965555;
Note that some countries may have specific numbering rules for their GSM handset numbering.

The response to the ATD command is one of the following:
Verbose result

Numeric code

Description

OK

0

if the call succeeds, for voice call only

CONNECT
<speed>

10,11,12,13,14,15

if the call succeeds, for data calls only, <speed> takes
the value negotiated by the product.

BUSY

7

If the called party is already in communication

NO ANSWER

8

If no hang up is detected after a fixed network time-out

NO CARRIER

3

Call setup failed or remote user release. Use the
AT+CEER command to know the failure cause

Direct dialing from a phonebook (stored in the SIM card) can be performed with the following
command:
ATD> <index>; to call <index> from the selected phonebook (by the +CPBS command)
ATD> “BILL”; to call “BILL” from the selected phonebook

Syntax:

Command syntax: ATD<nb>[;]

ATD><index>[;]

Command

Possible responses

AT+CPBS?
Note: Which phonebook is selected?

ATD>8;
Note: Call index 8 from AND phonebook

+CPBS:”SM”, 8, 10
Note: ADN phonebook is selected, 8 locations
are used and 10 locations are available

OK
Note: Call succeeds

Advertising