20.2 FLYFOT Show And Send Original GPS Data +WGPSNMEA ............................... 140
FLYFOT-MG260-MODULE
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged
without prior written agreement.
Page: 7 / 246
20.3 FLYFOT Get Current GPS Locition +WGPSPOS...................................................140
20.4 FLYFOT Send Cmd TO Uart1 +WGPSRAW..........................................................140
20.5 FLYFOT Open Auto Show +STARTGPSDATA......................................................140
20.6 FLYFOT Close Auto Show +STOPGPSDATA........................................................140
20.7 FLYFOT Examples For Using GPS Cmd ................................................................... 140
FLYFOT-MG260-MODULE
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged
without prior written agreement.
Page: 8 / 246
FLYFOT-MG260-MODULE
Overview
The aim of this document is to provide FLYFOT customers with a full description of the AT
commands.
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged
without prior written agreement.
Page: 9 / 246
FLYFOT-MG260-MODULE
1 Introduction
1. Scope of this document
This document describes the AT-command based messages exchanged between an application and the
FLYFOT products in order to manage GSM related events or services.
FLYFOT MG260 Module
1.1 Related documents
This interface specification is based on the following recommendations:
[1] ETSI GSM 07.05: Digital cellular telecommunications system (Phase 2); Use of DTE-DCE
interface for Short Message Service (SMS) and Cell Broadcast Service (CBS)
[2] ETSI GSM 07.07: D igital cellular telecom munica tions sy stem (Phase 2 ); AT command set
for GSM Mobile Equipment (ME)
[3] ITU-T Recommendation V.25 ter: Serial asynchronous automatic dialling and control
[4] ETSI GSM 03.40: Digital cellular telecommunications system (Phase 2); Technical
implementation of the Short Message Service (SMS) Point-to-Point (PP)
[5] ETSI GSM 03.38: Digital cellular telecommunications system (Phase 2); Alphabets and
language-specific information
[6] ETSI GSM 04.80: Digital cellular telecommunications system (Phase 2): Mobile radio
interface layer 3, Supplementary service specification, Formats and coding
1.2 ETSI secretariat
The following addresses may be of use in obtaining the latest GSM
recommendations:
Postal address: F-06921 Sophia Antipolis CEDEX – France
Office address: 650 Route des Lucioles – Sophia Antipolis – Valbonne – France
1.3 Definitions
The words, “Mobile Station” (MS) or “Mobile Equipment” (ME) are used for mobile terminals
supporting GSM services.
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged
without prior written agreement.
Page: 10 / 246
A call from a GSM mobile station to the PSTN is called a “mobile originated call” (MOC) or
“outgoing call”, and a call from a fixed network to a GSM mobile station is called a “mobile
terminated call” (MTC) or “incoming call”.
In this document, the word “product” refers to any FLYFOT product supporting the AT
commands interface.
1.4 Presentation r ules
In the following, the AT commands are presented with as much precision as possible, through three
paragraphs. A “Description” paragraph provides general information on the AT command (or
response) behaviour. A “Syntax”paragraph describes the way to use it, the possible answers, through
a readable format. A “Defined values” paragraph provides parameters values, as well for the AT
command as for the corresponding responses.
Schemas are provided where necessary.
FLYFOT-MG260-MODULE
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged
without prior written agreement.
Page: 11 / 246
2 A T commands f eatures
2.1 FLYFO T line settings
A serial link handler is set with the following default values (factory settings):
baud rate is 460800 bit/s, 8 bits data, 1 stop bit, no parity, no flow control.
2.2 Command line
Commands always start with AT (which means Attention) and finish with a <CR> character.
2.3 Information responses and result codes
Responses start and end with <CR><LF>
If command syntax is incorrect, the “ERROR” string is returned,.
z If command syntax is correct but transmitted with wrong parameters, the +CME ERROR:
<Err> or +CMS ERROR: <SmsErr> strings is returned with adequate error codes if CMEE
was previously set to 1. By default, CMEE is set to 0, and the error message is only
“ERROR”.
z If the command line has been executed successfully, an “OK” string is returned.
In some cases, such as “AT+CPIN?” or (unsolicited) incoming events, the product does not return the
“OK” string as a response.
FLYFOT-MG260-MODULE
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged
without prior written agreement.
Page: 12 / 246
FLYFOT-MG260-MODULE
3 General behaviors
3.1 SIM Insertion, SIM Remo val
SIM card Insertion and Removal procedures are supported. There are software functions relying on
positive reading of the hardware SIM detect pin. This pin state (open/closed) is permanently
monitored.
When the SIM detect pin indicates that a card is present in the SIM connector, the product tries to set
up a logical SIM session. The logical SIM session will be set up or not depending on whether the
detected card is a SIM Card or not.
The AT+CPIN? command delivers the following responses:
z If the SIM detect pin indicates “absent”, the response to AT+CPIN? is “+CME ERROR 10”
(SIM not inserted).
z If the SIM detect pin indicates “present”, and the inserted card is a SIM card, the response to
AT+CPIN? is “+CPIN: xxx” depending on SIM PIN state.
z If the SIM detect pin indicates “present”, and the inserted card is not a SIM card, the response
to AT+CPIN? is “+CME ERROR 10”.
z These last two states are not provided immediately due to background initialization. Between
the hardware SIM detect pin indicating “present” and the final results, the AT+CPIN? sends
“+CME ERROR: 515” (Please wait, init in progress).
When the SIM detect pin indicates card absence, and if a SIM Card was previously inserted, an IMSI
detach procedure is performed, all user data is removed from the product (Phonebooks, SMS etc.).
The product then switches to emergency mode.
3.2 Background initialization
After entering the PIN (Personal Identification Number), some SIM user data files are loaded into
the product (phonebooks, SMS status, etc.). Please be aware that it might take some time to read a
large phonebook.
The AT+CPIN? command response occurs after the PIN checking. After this response user data is
loaded in background. This means that some data may not be available just when PIN entry is
confirmed by ’OK’. The reading of phonebooks will then be refused by “+CME ERROR: 515” or
“+CMS ERROR: 515” meaning, “Please wait, service is not available yet, init in progress”.
This type of answer may be sent by the product at several points:
z when trying to execute another AT command before the previous one is completed (before
response),
z when asking for +CPIN? status immediately after SIM insertion and before the product has
determined if the inserted card is a valid SIM card.
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged
without prior written agreement.
Page: 13 / 246
FLYFOT-MG260-MODULE
4 General commands
4.1 Module initial reason +TINIT
Description :
Request module initial reason.
Syntax:
Command syntax : AT+TINIT
Command Possible responses
+TINIT: 2,n
Note: watchdog init
+TINIT: 3,n
Note: plugin init
+TINIT: 4,n
Note: restart init
+TINIT: 5,n
Note: error init
OK
+CME ERROR 3
Note: not support
Defined values :
<n>
0: airplane mode is off
1: airplane mode is on
4.2 Battery state +CBC
Description :
Request module battery state.
Syntax :
Command syntax : AT+CBC
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged
without prior written agreement.
Page: 14 / 246
Command Possible responses
AT+CBC?
AT+CBC=?
AT + CB C
AT+CBC=1
While the battery level changed the indicator will be send to TE.
Defined values :
<n>
0: battery not in charge
1: battery in charge
2: battery full
3: battery low
<m>
0: battery level 0
25: battery level 1
50: battery level 2
75: battery level 3
100: battery level 4
FLYFOT-MG260-MODULE
+CBC: n,m
OK
+CBC: (0-3), (0-100)
OK
+CBC: n,m
OK
+CME ERROR 3
Note: not support
4.3 Manufacturer identification +CGMI
Description :
This command gives the manufacturer identification.
Syntax :
Command syntax : AT+CGMI
Command Possible responses
AT + CG M I
Note: Get manufacture identification
AT+CGMI=? OK
AT+CGMI?
AT+CGMI=1
4.4 Request model identification +CGMM
Description :
This command is used to get the supported frequency bands. With multi-band products the response
may be a combination of different bands.
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged
without prior written agreement.
FLYFOT MODEM
OK
Note: Command valid, FLYFOT modem
+CME ERROR 3
Note: not support
Page: 15 / 246
Syntax :
Command syntax : AT+CGMM
Command Possible responses
AT+CGMM
Note: Get all available frequency band
AT+CGMM?
Note: Get current used frequency band
AT+CGMM=? OK
FLYFOT-MG260-MODULE
MULTIBAND 900 1800 1900
OK
Note: 900(EGSM), 1800(DCS) MHz primary
band.
+CGMM: EGSM900
OK
AT+CGMM=1
4.5 Request revision identification +CGMR
Description :
This command is used to get the revised software version.
Syntax :
Command syntax : AT+CGMR
Command Possible responses
AT + CG M R
Note: Get software version
AT+ CGMR =? OK
AT+ CGMR?
AT+ CGMR =1
+CME ERROR 3
Note: not support
FLYFOT-MG260-MODULE-VER-01.00 Aug
12 2006 14:06:42
OK
Note: Software release, revision 01.23 generated
on the 17
+CME ERROR 3
Note: not support
st of Dec 2003
4.6 Product Serial Number +CGSN
Description :
This command allows the user application to get the IMEI (International Mobile Equipment Identity,
15 digits number) of the product.
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged
without prior written agreement.
Page: 16 / 246
Syntax :
Command syntax : AT+CGSN
Command Possible responses
FLYFOT-MG260-MODULE
AT+ C G SN
Note: Get the IMEI
AT+ C G SN
Note: Get the IMEI
AT+ CGSN =? OK
AT+ CGSN?
AT+ CGSN =1
4.7 Request IMSI +CIMI
Description :
This command is used to read and identify the IMSI (International Mobile Subscriber Identity) of
the SIM card. The PIN may need to be entered before reading the IMSI.
Syntax
Command syntax : AT+CIMI
Command Possible responses
AT+CIMI
Note : Read the IMSI
012345678901234
OK
Note: IMEI read from EEPROM
+CME ERROR: 22
Note: IMEI not found in EEPROM
+CME ERROR 3
Note: not support
208200120320598
OK
Note : IMSI value ( 15 digits ), starting with
MCC ( 3 digits ) / MNC ( 2 digits, 3 for PCS
1900 )
AT+ CIMI =? OK
AT+ CIMI?
AT+ CIMI =1
See appendix 16.12 for MCC / MNC description.
4.8 Card Identification +CCID
Description :
This command orders the product to read the EF-CCID file on the SIM card.
Syntax :
Command syntax : AT+CCID
Command Possible responses
AT+CCID
Note : Get card ID
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged
without prior written agreement.
+CME ERROR 3
Note: not support
+CCID: “123456789AB111213141”
Note : EF-CCID is present, hexadecimal format
Page: 17 / 246
AT+CCID?
Note : Get current value
AT+CCID = ?
Note : Get possible value
AT+ CCID =1
If there is no EF-CCID file present on the SIM, the +CCID answer will not be sent, but the OK
message will be returned.
4.9 Capabilities list +GCAP
Description :
This command gets the complete list of capabilities.
Syntax :
Command syntax : AT+GCAP
Command Possible responses
FLYFOT-MG260-MODULE
+ CCID: “123456789AB111213141”
Note : Same result as +CCID
OK
Note : No parameter but this command is valid
+CME ERROR 3
Note: not support
AT + GC A P
Note :Get capabilities list
Defined values :
No parameter
4.10 Repea t last command A/
Description :
This command repeats the previous command. Only the A/ command itself cannot be repeated.
Syntax :
Command syntax : A/
Command Possible responses
A/
Note Repeat last command
4.11 Power off +CPOF
Description :
This specific command power off FLYFOT MG260 module
+GCAP;+CGSM
OK
Note: Support GSM command
Syntax :
Command syntax : AT+CPOF
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged
without prior written agreement.
Page: 18 / 246
Command Possible responses
FLYFOT-MG260-MODULE
AT+CPOF
Note : power off
AT + CP O F ?
AT+CPOF=?
AT+CPOF =1
4.12 Set phone functionality +CFUN
Description :
This command selects the mobile station’s level of functionality. If the application wants to force the
product to execute an IMSI DETACH procedure, then it must send:AT+CFUN=0 This command
closed RF and SIM card can be accessed, so, sending SM function can Not be used again. The
AT+CFUN=1 command restarts the entire GSM stack and GSM functionality.
If the mobile switch on with the charger plugged in, it must send: either AT+CFUN=1 at normal mode
or AT+CFUN=3 at airplane mode so that the SIM CARD can be identified correctly.
Syntax :
Command syntax : AT+CFUN=<functionality level>
Command Possible responses
AT+ C F UN ?
Note : Ask for current functionality level
AT+ C F UN =0
Note : Set minimum functionality,
procedure
AT+ C F UN =1
Note : Set the full functionality mode with a
Complete software reset
AT + CF U N = 3
Note : Set the airplane mode
AT + CF U N
AT + CF U N = ?
NOTE: Command Operator Selection +COPS is used to force registration/deregistration.
IMSI detach
OK
Note: Command valid
+CME ERROR 3
Note: not support
+CFUN: 1
OK
Note : Full functionality
OK
Note : Command valid
SIM is valid
OK
Note : Command valid
OK
Note : Command valid
+CME ERROR 3
Note: not support
+CFUN: (0,1,3)
OK
Defined values :
<functionality level>
0 : Set minimum functionality, IMSI detach procedure
1 : Set the full functionality mode with a complete software reset
3 : Set the airplane mode, disable the network registration when switching on.
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged
without prior written agreement.
Page: 19 / 246
<cfun state>
0: radio off
1: radio on
2: the system is initializing
3: radio off and the product at airplane mode
4.13 Phone activity status +CPAS
Description :
This command returns the activity status of the mobile equipment.
Syntax :
Command syntax : AT+CPAS
Command Possible responses
FLYFOT-MG260-MODULE
AT+ C PAS
Note : Current activity status
AT+ C PAS?
AT+ CPAS=?
AT+ C PAS= 1
Defined values :
<pas>
0: ready (allow commands from TA/TE)
1: unavailable (does not allow commands)
2: unknown
3: ringing (ringer is active)
4: call in progress
5: asleep (low functionality)
4.14 Report Mobile Equipment errors +CMEE
Description :
This command disables or enables the use of the “+CME ERROR : <xxx>” or “+CMS
ERROR :<xxx>” result code instead of simply “ERROR”. See appendix 16.1 for +CME ERROR
result codes description and appendix 16.2 for +CMS ERROR result codes.
+CPAS: <pas>
OK
+CME ERROR 3
Note: not support
Syntax :
Command syntax : AT+CMEE=<error reporting flag>
Command Possible responses
AT+CMEE=0
Note : Disable ME error reports, use only
“ERROR”
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged
without prior written agreement.
OK
Page: 20 / 246
AT+CMEE=1
Note : Enable “+CME ERROR:<xxx>” or
“+CMS ERROR:<xxx>”
AT+CMEE?
AT+CMEE=?
AT+CMEE
Defined values :
<error reporting flag>
0 : Disable ME error reports, use only “ERROR”
1 : Enable “+CME ERROR: <xxx>”
4.15 Keypad control +CKPD
Description :
This command emulates the ME keypad by sending each keystroke as a character in a <keys> string.
The supported GSM sequences are listed in the appendix. If emulation fails, a +CME ERROR: <err>
is returned. If emulation succeeds, the result depends on the GSM sequence activated:
Note: In the case where the FDN phonebook is activated, the sequences concerning “call forwarding”
are allowed only if the entire sequence is written in the FDN.
FLYFOT-MG260-MODULE
OK
+CMEE : 1
Note : Enable “+CME ERROR: <xxx>”
+CME ERROR 3
Note: not support
Syntax :
Command syntax : AT+CKPD=<keys>
Command Possible responses
AT+CKPD=”*#21#”
Note : Check every call forwarding status
AT+CKPD=”1234”
Note : Sequence not allowed
Defined values :
<keys>
Keyboard sequence : string of the following characters (0-9,*,#).
4.16Clock Management +CCLK
Description :
This command is used to set or get the current date and time of the ME real-time clock.
Syntax :
Command syntax : AT+CCLK=<date and time string>
Command Possible responses
+CCFC: 0,7
+CME ERROR 3
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged
without prior written agreement.
Page: 21 / 246
AT+CCLK=”00/06/09,17:33:00+32”
Note : set date to June 9
5:33pm, GMT +8
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged
without prior written agreement.
Page: 22 / 246
Defined values :
<date and time string>
String format for alarms : “yy/MM/dd,hh:mm:ss” (see +CCLK).
Note : Seconds are not taken into account.
4.18 Select type of address +CSTA
Description :
This command is used to select type of address.
Syntax :
Command syntax :AT+CSTA=<type>
Command Possible responses
FLYFOT-MG260-MODULE
AT + CS TA ?
AT+CSTA=? +CSTA: (129,145)
AT+CSTA=129
AT + CS TA
4.19 Open Micor phone power +TCFG
Description :
Firstly this command is used to open or close main microphone power by parameter “RED”.
Secondly this command is used to control display mode by parameter “IND”.
Syntax :
Command syntax : AT+TCFG=<type>,<value>
Command Possible responses
AT+TCFG=”IND”,1
Note : enable the value of CSQ、CREG、CBC、
CGREG indication unsolicited
AT + TC F G = ?
Note : Get all value
AT + TC F G ?
AT + TC F G
+CSTA: 129
OK
Note : read current value
OK
Note : get all value
OK
Note : set value
+CME ERROR: 3
Note : not support
OK
+TCFG: ("RED","NTC","IND"),(0,1)
OK
+CME ERROR: 3
Note : not support
Defined values :
<Type>
“RED”: record mode.
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged
without prior written agreement.
m : this value has 4 octets. If the bit is set, the value of indication unsolicited once changing.
Otherwise the value is not given until requested.
4.20 32kHz Po wer down Mode +W32K
Description :
This specific command allows the 32kHz power down mode to be enabled or disabled.
:
Note
z When power down mode is entered, the product uses a 32kHz internal clock during
b4 b3 b2 b1
…
inactivity stages (despite of its nominal internal clock).
FLYFOT-MG260-MODULE
zWhen enabled, power down mode is active after 1 to 15 minutes. The mode is not stored
in EEPROM : the command has to be repeated after a reset.
Syntax :
Command syntax : AT+W32K=<mode>
Command Possible responses
AT+W32K=1 OK
Note : Enable 32kHz power down mode Note : 32kHz power down mode is
enabled
AT+W32K=0 OK
Note : Disable 32kHz power down mode Note : 32kHz power down mode is
disabled
Defined values
<mode> :
0 : Disable 32kHz power down mode
1 : Enable 32kHz power down mode
4.21Set alert tone Command +TMEL
Description:
This command with two parameters is used to set call active alert tone or other alert tone.
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged
without prior written agreement.
Page: 24 / 246
Syntax :
Command syntax : AT+TMEL=<type>,< volume>
Command Possible responses
FLYFOT-MG260-MODULE
AT+TMEL=2,3
Note: Set the alert type and volume
AT+ T M EL = ?
Note: Get possible value
AT+TMEL =10,4
Note: Set invalid value
AT+ TMEL?
AT+ TMEL
Defined values :
<type> The value range is 0-15
0: none alert tone
(1-15): different alert tone
<volume> The value range is 1-3
1: The volume is lowest
2: The volume is middle
3: The volume is topmost
OK
+TMEL: (0-15),(1-3)
OK
+CME ERROR: 3
Note: The product can not support this command
+CME ERROR: 3
Note: The product can not support this command
4.22 Control Flash LED Command +TFLED
Description
This command with six parameters is used to control the flash led sparking.
Syntax
AT+TFLED=[Operation],<light time in idle>,<dark time in idle>,<light in calling>,<dark in
calling>,<mode:>
Command Possible responses
AT+ T F LE D = ?
Note: Set the alert type and volume
AT+ TFLED =1,10,10,10,10 ,1
Note: Get possible value
AT+ TFLED =10,4
Note: Set invalid value
AT+ T F LE D?
AT+ T F LE D
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged
without prior written agreement.
+TFLED:
(0-1),(0-65535),(0-65535),(0-65535),(0-65535),(0-1)
OK
OK
+CME ERROR: 3
Note: The product can not support this command
+TFLED: 1,10,10,10,10,1
+CME ERROR: 3
Note: The product can not support this command
Page: 25 / 246
Defined values :
Operation:
0:turn off the led
1:flash the led according to the other parameters
light time in idle:
0~65535 the light time in idle state;
dark time in idle:
0~65535 the dark time in idle state;
light in calling:
0~65535 the light time in calling state;
dark in calling:
0~65535 the dark time in calling state;
mode:
0:Normal mode
1:Super mode(the flash of the led is not relative to the calling of registeration state)
4.23 Restricted SIM a ccess +CRSM
Description
By using this command instead of Generic SIM Access +CSIM TE application has easier but more
limited access to the SIM database. This command transmits to the MT the SIM <command> and its
required parameters.
As response to the command, MT sends the actual SIM information parameters and response data. MT
error result code +CME ERROR may be returned when the command cannot be passed to the SIM,
but failure in the execution of the command in the SIM is reported in <sw1> and <sw2>
parameters.
As for the CSIM command , there is no locking between two successive commands. The user should
be aware of the precedence of the GSM application commands to the TE commands.
<command> : integer type
Command passed on by the MT to the SIM; refer GSM 11.11 (or 3GPP TS 51.011) :
176 READ BINARY
178 READ RECORD
192 GET RESPONSE
242 STATUS
all other values are reserved and the command will return +CME ERROR=3
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged
without prior written agreement.
+CRSM:
<sw1>,<sw2>[,<response>]
+CME ERROR: <err>
Page: 26 / 246
NOTE 1: The MT internally executes all commands necessary for selecting the desired file, before
performing the actual command.
<fileid> : integer type
This is the identifier of a elementary datafile on SIM. Mandatory for every command except STATUS.
NOTE 2: The range of valid file identifiers depends on the actual SIM and is defined in GSM 11.11
(or 3GPP TS 51.011). Optional files may not be present at all. This value must be in the range [0 .
65535] else a CME_ERROR=3 is returned.
<P1>, <P2>, <P3> : integer type
Parameters passed on by the MT to the SIM. These parameters are mandatory for every command,
except GET RESPONSE and STATUS. The values are described in GSM 11.11 (or 3GPP TS 51.011).
<data> : hexadecimal type
information which shall be written to the SIM (hexadecimal character format; refer +CSCS).
<sw1>, <sw2> : integer type
Information from the SIM about the execution of the actual command.
These parameters are delivered to the TE in both cases, on successful or failed execution of the
command.
<response> : hexadecimal type
response of a successful completion of the command previously issued (hexadecimal character format;
refer +CSCS). STATUS and GET RESPONSE return data, which gives information about the current
elementary datafield. This information includes the type of file and its size (refer GSM 11.11 (or 3GPP
TS 51.011)). After READ BINARY or READ RECORD command the requested data will be
returned.
<error>: integer type
3 Wrong format or parameters of the command
13 SIM no response
FLYFOT-MG260-MODULE
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged
without prior written agreement.
Page: 27 / 246
FLYFOT-MG260-MODULE
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
ATD<nb> where <nb> is the destination phone number.
For a voice call
(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>
, the application sends the following ASCII string to the product:
, the application sends the following ASCII string to the product:
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
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)
AT D> “BILL”; to call “BILL” from the selected phonebook
Syntax:
Command syntax: ATD<nb>[;]
ATD><index>[;]
Command Possible responses
AT+ C P BS ?
Note: Which phonebook is selected?
AT D >8 ;
Note: Call index 8 from AND phonebook
Call setup failed or remote user release. Use the
AT+CEER command to know the failure cause
+CPBS:”SM”, 8, 10
Note: ADN phonebook is selected, 8 locations
are used and 10 locations are available
OK
Note: Call succeeds
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged
without prior written agreement.
Page: 28 / 246
Note: The ”;” for speech calls
Defined values :
<nb>
destination phone number
<index>
call number at indicated offset from the phonebook selected by the +CPBS command
<name>
call number corresponding to given name from the phonebook selected by the +CPBS command
5.2 Hang-Up command H
Description:
The ATH command is used by the application to disconnect the remote user. In the case of multiple
calls, all calls are released (active, on-hold and waiting calls).
The specific FLYFOT ATH1 command has been appended to disconnect the current outgoing call,
only in dialing or alerting state (i.e. ATH1 can be used only after the ATD command, and before its
terminal response (OK, NO CARRIER...). It can be useful in the case of multiple calls.
Syntax :
Command syntax : ATH<n>
Command Possible responses
FLYFOT-MG260-MODULE
ATH
Note: Ask for disconnection
AT H 1
Note: Ask for outgoing call disconnection
Defined values:
<n>
0: Ask for disconnection (default value)
1: Ask for outgoing call disconnection
5.3 Answer a call A
Description :
When the product receives a call, it sets the Ring Indication signal and sends the ASCII “RING”
string to the application. Then it waits for the application to accept the call with the ATA command.
Syntax :
Command syntax : ATA
Command Possible responses
OK
Note: Every call, if any, are released
OK
Note: Outgoing call, if any, is released
RING
Note: Incoming call
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged
without prior written agreement.
Page: 29 / 246
ATA
Note: Answer to this incoming call
ATH
Note: Disconnect call
Defined values :
No parameter
5.4 Remote disconnection
This message is used by the product to inform the application that an active call has been released by
the remote user.
The product sends “NO CARRIER” to the application. (Release cause reference to appendixes 17.4
failure cause from GSM 04.08 recommendation with +CEER command).
5.5 Extended er ror repor t +CEER
Description :
This command gives the cause of call release when the last call set up (originating or answering)
failed. Release cause reference to Appendixes 17.4 failure cause from GSM 04.08 recommendation
FLYFOT-MG260-MODULE
OK
Note: Call accepted
OK
Note: Call disconnected
5.5.2 Synt ax :
Command syntax : AT+CEER
Command Possible responses
ATD123456789;
Note: Outgoing voice call
AT+CEER
Note: Ask for reason of release
For the cause information element from GSM 04.08 see chapter 18.4 or 18.5. “NO CARRIER”
indicates that the AT+CEER information is available for failure diagnosis.
Defined values :
No parameter
5.6 DTMF signals +VTD, +VTS
+VTD Description:
The product enables the user application to send DTMF tones over the GSM network. This
command is used to define tone duration (the default value is 300ms).
NO CARRIER
Note: Call setup failure
+CEER: Error <xxx>
OK
Note: <xxx>is the release cause reference to
Appendixes 17.4 failure cause from GSM 04.08
recommendation
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged
without prior written agreement.
Page: 30 / 246
Loading...
+ 216 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.