Rainbow Electronics 900 User Manual

FLYFOT-M260-MODULE
AT Commands Interface Guide
Revision : 01.17
Date : 2007-08-22
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
Page: 1 / 239
FLYFOT-M260-MODULE
Level Date History of the evolution editor
Page: 2 / 239
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
1 Introduction..................................................................................................................................... 9
1. Scope of this document........................................................................................................... 9
1.1 Related documents .......................................................................................................... 9
1.2 ETSI secretariat............................................................................................................... 9
1.3 Definitions....................................................................................................................... 9
1.4 Presentation rules .......................................................................................................... 10
2 AT commands features.................................................................................................................. 11
2.1 FLYFOT line settings.................................................................................................... 11
2.2 Command line ............................................................................................................... 11
2.3 Information responses and result codes ........................................................................ 11
3 General behaviors ......................................................................................................................... 12
3.1 SIM Insertion, SIM Removal........................................................................................ 12
3.2 Background initialization .............................................................................................. 12
4 General commands........................................................................................................................ 13
4.1 Module initial reason +TINIT....................................................................................... 13
4.2 Battery state +CBC .................................................................................................... 13
4.3 Manufacturer identification +CGMI.......................................................................... 14
4.4 Request model identification +CGMM...................................................................... 14
4.5 Request revision identification +CGMR.................................................................... 15
4.6 Product Serial Number +CGSN................................................................................. 15
4.7 Request IMSI +CIMI .................................................................................................... 16
4.8 Card Identification +CCID......................................................................................... 16
4.9 Capabilities list +GCAP................................................................................................ 17
4.10 Repeat last command A/................................................................................................17
4.11 Power off +CPOF....................................................................................................... 17
4.12 Set phone functionality +CFUN................................................................................. 18
4.13 Phone activity status +CPAS...................................................................................... 19
4.14 Report Mobile Equipment errors +CMEE .................................................................19
4.15 Keypad control +CKPD ................................................................................................ 20
4.16 Clock Management +CCLK ...................................................................................... 20
4.17 Alarm Management +CALA...................................................................................... 21
4.18 Select type of address +CSTA....................................................................................... 22
4.19 Open Micorphone power +TCFG .............................................................................. 22
4.20 32kHz Power down Mode +W32K............................................................................ 23
4.21 Set alert tone Command +TMEL............................................................................... 23
4.22 Control Flash LED Command +TFLED.................................................................. 24
4.23 Restricted SIM access +CRSM..................................................................................... 25
5 Call Control commands ................................................................................................................27
5.1 Dial command D ........................................................................................................... 27
5.2 Hang-Up command H ................................................................................................... 28
5.3 Answer a call A ............................................................................................................. 28
5.4 Remote disconnection ................................................................................................... 29
FLYFOT-M260-MODULE
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
Page: 3 / 239
5.5 Extended error report +CEER .................................................................................... 29
5.6 DTMF signals +VTD, +VTS ..................................................................................... 29
5.7 Redial last telephone number ATDL ............................................................................. 30
5.8 Automatic answer ATS0................................................................................................ 31
5.9 Gain control +VGR, +VGT........................................................................................32
5.10 Microphone Mute Control +CMUT........................................................................... 33
5.11 Speaker & Microphone selection +SPEAKER ............................................................. 33
5.12 Echo Cancellation +ECHO ........................................................................................ 34
5.13 SideTone modification +SIDET ................................................................................... 36
5.14 Initialize Voice Parameters +VIP ............................................................................... 36
5.15 Ring Melody Playback +CRMP.................................................................................... 37
5.16 Ringer Sound Level +CRSL .........................................................................................38
5.17 Audio loop test +TLOOP ........................................................................................... 39
5.18 Telephone firewall +TSFW ........................................................................................ 40
5.19 Telephone minute alarm +TMAS............................................................................... 41
5.20 FLYFOT Speaker & Microphone selection +TFSPEAKER......................................... 42
6 Network service commands .......................................................................................................... 43
6.1 Signal Quality +CSQ.................................................................................................. 43
6.2 Operator selection +COPS ......................................................................................... 43
6.3 Network registration +CREG..................................................................................... 45
6.4 Preferred operator list +CPOL ...................................................................................46
6.5 Read operator name +COPN......................................................................................... 48
6.6 Get handover counter +THOC ...................................................................................... 48
6.7 Cell environment description +CCED .......................................................................... 49
7 Security commands....................................................................................................................... 51
7.1 Enter PIN +CPIN ..........................................................................................................51
7.2 PIN remaining attempt number +CPINC................................................................... 53
7.3 Facility lock +CLCK.................................................................................................. 53
7.4 Change password +CPWD......................................................................................... 55
7.5 Enter PIN2/PUK2 +CPIN2 ........................................................................................ 56
8 Phonebook commands .................................................................................................................. 59
8.1 Select phonebook memory storage +CPBS................................................................59
8.2 Read phonebook entries +CPBR................................................................................... 60
8.3 Find phonebook entries +CPBF .................................................................................... 61
8.4 Write phonebook entry +CPBW ................................................................................ 62
8.5 Phonebook phone search +CPBP.................................................................................. 64
8.6 Move action in phonebook +CPBN .............................................................................. 65
8.7 Subscriber number +CNUM ......................................................................................... 68
8.8 FLYFOT Phonebook Character Set +WPCS..............................................................68
9 Short Messages commands ........................................................................................................... 70
9.1 Parameters definition .................................................................................................... 70
9.2 Select message service +CSMS ................................................................................. 71
9.3 Preferred Message Storage +CPMS.............................................................................. 71
9.4 Save Settings +CSAS.................................................................................................... 73
9.5 Restore settings +CRES ............................................................................................. 73
9.6 New message indication +CNMI ............................................................................... 73
9.7 Read message +CMGR................................................................................................. 75
9.8 List message +CMGL ................................................................................................ 76
9.9 Send message +CMGS............................................................................................... 78
9.10 Write Message to Memory +CMGW......................................................................... 78
9.11 Send Message From Storage +CMSS........................................................................ 79
9.12 Delete message +CMGD............................................................................................... 80
FLYFOT-M260-MODULE
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
Page: 4 / 239
9.13 Service center address +CSCA ..................................................................................... 81
9.14 Message status modification +WMSC....................................................................... 82
9.15 Message overwriting +WMGO.................................................................................. 83
9.16 Unchange SMS Status +WUSS..................................................................................... 83
9.17 Preferred Message Format +CMGF........................................................................... 85
9.18 Set Text Mode Parameters +CSMP............................................................................ 86
9.19 Select TE character set +CSCS .................................................................................. 87
9.20 Select Cell Broadcast Message Types +CSCB.............................................................. 88
9.21 Cell Broadcast Message Identifiers +WCBM............................................................ 90
9.22 Capacity of SIM card been adjusted +TSMC ............................................................ 90
10 Supplementary Services commands...................................................................................... 91
10.1 Call forwarding +CCFC............................................................................................. 91
10.2 Call barring +CLCK................................................................................................... 92
10.3 Modify SS password +CPWD ................................................................................... 93
10.4 Call waiting +CCWA ................................................................................................. 94
10.5 Calling line identification restriction +CLIR ............................................................. 95
10.6 Calling line identification presentation +CLIP ..........................................................96
10.7 Connected line identification presentation +COLP.................................................... 97
10.8 Call related supplementary services +CHLD............................................................. 98
10.9 List current calls +CLCC .............................................................................................. 99
10.10 Supplementary service notifications +CSSN ........................................................... 100
10.11 Unstructured supplementary service data +CUSD................................................... 101
11 Specific AT commands................................................................................................................ 103
11.1 Abort command +WAC............................................................................................ 103
11.2 Priority of AT commands ............................................................................................ 103
12 SIM TOOLKIT ................................................................................................................... 104
12.1 Overview of SIM Application ToolKit........................................................................ 104
12.2 SIM TOOLKIT COMMANDS ................................................................................... 105
12.3 SIM ToolKit Set Facilities (+STSF) ...........................................................................106
12.4 SIM ToolKit Indication (+STIN) ................................................................................ 107
12.5 SIM ToolKit Get Information (+STGI)....................................................................... 108
12.6 Unsolicited Result : SIM ToolKit Control Response (+STCR) .................................. 115
12.7 SIM ToolKit Give Response (+STGR) ....................................................................... 115
13 GPRS commands ................................................................................................................ 120
13.1 Define PDP Context +CGDCONT...........................................................................120
13.2 GPRS attach or detach +CGATT ............................................................................. 122
13.3 PDP context activate or deactivate +CGACT .............................................................122
13.4 GPRS network registration status +CGREG............................................................... 124
13.5 Quality of Service Profile (Requested) +CGQREQ.................................................... 125
13.6 Quality of Service Profile (Minimum acceptable) +CGQMIN................................ 129
13.7 Enter data state +CGDATA ........................................................................................130
13.8 GPRS mobile station class +CGCLASS ..................................................................... 131
13.9 Select service for MO SMS messages +CGSMS........................................................ 133
13.10 Show PDP address +CGPADDR ................................................................................ 134
13.11 Request GPRS IP service 'D'....................................................................................... 135
13.12 Full AT GPRS commands examples ...........................................................................136
14 GSM string.......................................................................................................................... 137
14.1 Call forwarding ........................................................................................................... 137
14.2 Change/unlock password (PIN and PIN2) .................................................................. 139
14.3 Call waiting ................................................................................................................. 139
14.4 Call barring ................................................................................................................. 139
14.5 Number presentation ................................................................................................... 141
FLYFOT-M260-MODULE
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
Page: 5 / 239
15 V24-V25 commands ........................................................................................................... 142
15.1 Fixed DTE rate +IPR .................................................................................................. 142
15.2 DTE-DCE character framing +ICF.......................................................................... 143
15.3 DTE-DCE local flow control +IFC............................................................................. 144
15.4 Set DCD signal &C..................................................................................................... 146
15.5 Set DTR signal &D ..................................................................................................... 147
15.6 Set DSR signal &S................................................................................................... 148
15.7 Back to online mode O............................................................................................. 148
15.8 Result code suppression Q ....................................................................................... 149
15.9 DCE response format V ........................................................................................... 149
15.10 Default configuration Z............................................................................................ 150
15.11 Save configuration &W............................................................................................ 150
15.12 Auto-tests &T........................................................................................................... 151
15.13 Echo E ...................................................................................................................... 152
15.14 Restore factory settings &F...................................................................................... 152
15.15 Display configuration &V........................................................................................ 153
15.16 Data / Commands Multiplexing +WMUX............................................................... 154
15.17 Request identification information I ........................................................................154
16 Data commands................................................................................................................... 156
16.1 Using AT Commands during a data connection .........................................................156
16.2 Bearer type selection +CBST................................................................................... 156
16.3 Service reporting control +CR ................................................................................. 158
16.4 Cellular result codes +CRC...................................................................................... 158
16.5 DTE-DCE local rate reporting +ILRR..................................................................... 159
17 TCP/IP................................................................................................................................. 161
17.1 AT+ CIPSTART ......................................................................................................... 161
17.2 AT+CIPSEND ............................................................................................................ 161
17.3 AT+CIPCLOSE .......................................................................................................... 162
17.4 AT+CIPSHUT ............................................................................................................ 162
17.5 AT+CLPORT.............................................................................................................. 163
17.6 AT+CSTT ................................................................................................................... 163
17.7 AT+CIICR .................................................................................................................. 163
17.8 AT+CIFSR.................................................................................................................. 164
17.9 AT+CIPSTATUS........................................................................................................ 164
17.10 AT+CIPHEAD............................................................................................................ 165
17.11 AT+CIPATS ............................................................................................................... 165
17.12 AT+CIPSPRT .............................................................................................................166
17.13 AT+CIPCSGP............................................................................................................. 166
17.14 AT+CDNSCFG ........................................................................................................... 167
17.15 AT+CDNSORIP.......................................................................................................... 168
17.16 TCP/IP Examples........................................................................................................ 168
18 Specific AT commands........................................................................................................ 169
18.1 General Indications +WIND ....................................................................................... 169
18.2 Analog digital converters measurements +ADC...................................................... 172
18.3 Mobile Equipment event reporting +CMER............................................................ 173
18.4 Indicator control +CIND............................................................................................. 174
18.5 Mobile equipment control mode +CMEC................................................................... 176
18.6 Read Language Preference +WLPR ........................................................................... 176
18.7 Write Language Preference +WLPW....................................................................... 178
18.8 Read GPIO value +WIOR........................................................................................... 178
18.9 Write GPIO value +WIOW...................................................................................... 179
18.10 Input/Output Management +WIOM......................................................................... 179
FLYFOT-M260-MODULE
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
Page: 6 / 239
18.11 Play tone +WTONE ................................................................................................. 180
18.12 Play DTMF tone +WDTMF..................................................................................... 182
18.13 FLYFOT Downloading +WDWL ............................................................................ 183
18.14 FLYFOT Voice Rate +WVR .................................................................................... 183
18.15 Data Rate +WDR ........................................................................................................ 184
18.16 Hardware Version +WHWV .................................................................................... 185
18.17 Date of Production +WDOP ....................................................................................186
18.18 FLYFOT Select Voice Gain +WSVG....................................................................... 186
18.19 FLYFOT Status Request +WSTR ............................................................................ 187
18.20 FLYFOT Scan +WSCAN......................................................................................... 188
18.21 FLYFOT Ring Indicator Mode +WRIM .................................................................. 188
18.22 FLYFOT Change Default Melody +WCDM...............................................................189
18.23 FLYFOT Software version +WSSW........................................................................ 190
18.24 FLYFOT Custom Character Set +WCCS................................................................. 190
18.25 FLYFOT LoCK +WLCK ......................................................................................... 191
18.26 CPHS command: +CPHS............................................................................................ 193
18.27 Unsolicited result : FLYFOT Voice Mail Indicator : +WVMI ................................. 196
18.28 Unsolicited result : FLYFOT diverted call indicator: +WDCI................................. 197
18.29 FLYFOT network operator name: +WNON ............................................................... 198
18.30 FLYFOT CPHS information: +WCPI......................................................................... 199
18.31 FLYFOT customer service profile: +WCSP ...............................................................200
18.32 FLYFOT Battery Charge Management +WBCM .................................................... 201
18.33 Unsolicited result : FLYFOT Battery Charge Indication +WBCI............................ 204
18.34 Features Management +WFM.................................................................................. 204
18.35 Commercial Features Management +WCFM ..........................................................206
18.36 FLYFOT Customer storage mirror +WMIR ............................................................ 207
18.37 FLYFOT Change Default Player +WCDP ............................................................... 208
18.38 FLYFOT CPHS Mail Box Number: +WMBN............................................................ 208
18.39 FLYFOT Alternate Line Service: +WALS.................................................................. 210
18.40 FLYFOT Open AT control command +WOPEN...................................................... 211
18.41 FLYFOT Reset +WRST........................................................................................... 213
18.42 Set Standard Tone +WSST....................................................................................... 213
18.43 FLYFOT Location +WLOC..................................................................................... 214
18.44 FLYFOT Bus Read +WBR ...................................................................................... 217
18.45 FLYFOT Bus Write +WBW..................................................................................... 218
18.46 FLYFOT Bus Management +WBM......................................................................... 219
18.47 FLYFOT Hang-up +WATH...................................................................................... 224
18.48 Write IMEI +WIMEI ............................................................................................... 224
18.49 Write IMEI SVN: +WSVN......................................................................................... 225
18.50 FLYFOT multi-band selection command: +WMBS ................................................... 226
18.51 Ring Melody Playback +CRMP.................................................................................. 227
18.52 Ringer Sound Level +CRSL .......................................................................................228
18.53 FLYFOT Matrix +TMTX......................................................................................... 229
19 Appendixes.......................................................................................................................... 230
19.1 ME error result code : +CME ERROR: <error>......................................................... 230
19.2 Message service failure result code: +CMS ERROR : <er>....................................... 231
19.3 Specific error result codes........................................................................................... 232
19.4 Failure Cause from GSM 04.08 recommendation (+CEER).......................................232
19.5 Specific Failure Cause for +CEER.............................................................................. 234
19.6 GSM 04.11 Annex E-2: Mobile originating SM-transfer......................................... 234
19.7 Data / Commands multiplexing protocol .................................................................... 236
FLYFOT-M260-MODULE
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
Page: 7 / 239
FLYFOT-M260-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: 8 / 239
FLYFOT-M260-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 M260 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: Digital cellular telecommunications system (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 specifica tio n, 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: 9 / 239
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-M260-MODULE
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
Page: 10 / 239

2 A T commands fea tures

2.1 FLYFOT 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-M260-MODULE
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
Page: 11 / 239
FLYFOT-M260-MODULE

3 General behaviors

3.1 SIM Insertion, SIM Removal

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: 12 / 239
FLYFOT-M260-MODULE

4 General commands

4.1 Module initial reason +TINIT

4.1.1 Description :

Request module initial reason.

4.1.2 Syntax:

Command syntax : AT+TINIT Command Possible responses
AT+TINIT=? OK
+TINIT: 0,n Note: onkey init +TINIT: 1,n "YY/MM/DD,hh:mm:00" Note: wakup init
"YY/MM/DD,hh:mm:00" is the time of alarm
clock
AT+TINIT?
AT+TINIT AT+TINIT=1
+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

4.1.3 Defined values :

<n> 0: airplane mode is off 1: airplane mode is on

4.2 Battery state +CBC

4.2.1 Description :

Request module battery state.

4.2.2 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: 13 / 239
Command Possible responses
FLYFOT-M260-MODULE
AT+CBC?
AT+CBC=?
AT+CBC
AT+CBC=1
While the battery level changed the indicator will be send to TE.

4.2.3 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
+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

4.3.1 Description :

This command gives the manufacturer identification.

4.3.2 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

4.4.1 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: 14 / 239

4.4.2 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-M260-MODULE
MULTIBAND 900 1800 1900
OK
Note: 900(EGSM), 1800(DCS) MHz primary band.
+CGMM: EGSM900 OK
AT+CGMM=1

4.5 Request revision identifica tion +CGMR

4.5.1 Description :

This command is used to get the revised software version.

4.5.2 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-M260-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

4.6.1 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: 15 / 239

4.6.2 Syntax :

Command syntax : AT+CGSN Command Possible responses
FLYFOT-M260-MODULE
AT+CGSN
Note: Get the IMEI AT+CGSN
Note: Get the IMEI
AT+ CGSN =? OK
AT+ CGSN? AT+ CGSN =1

4.7 Request IMSI +CIMI

4.7.1 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.

4.7.2 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

4.8.1 Description :

This command orders the product to read the EF-CCID file on the SIM card.

4.8.2 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: 16 / 239
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

4.9.1 Description :

This command gets the complete list of capabilities.

4.9.2 Syntax :

Command syntax : AT+GCAP Command Possible responses
FLYFOT-M260-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

4.9.3 Defined values :

No parameter

4.10 Repeat last command A/

4.10.1 Description :

This command repeats the previous command. Only the A/ command itself cannot be repeated.

4.10.2 Syntax :

Command syntax : A/ Command Possible responses
A/ Note Repeat last command

4.11 Power of f +CPOF

4.11.1 Description :

+GCAP;+CGSM OK Note: Support GSM command
This specific command power off FLYFOT M260 module

4.11.2 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: 17 / 239
Command Possible responses
FLYFOT-M260-MODULE
AT+CPOF Note : power off
AT + CP O F ? AT+CPOF=? AT+CPOF =1

4.12 Set phone functionality +CFUN

4.12.1 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.

4.12.2 Syntax :

Command syntax : AT+CFUN=<functionality level> Command Possible responses
OK Note: Command valid
+CME ERROR 3 Note: not support
AT+ C F U N? Note : Ask for current functionality level
AT+CFUN=0 Note : Set minimum functionality,
procedure
AT+CFUN=1 Note : Set the full functionality mode with a Complete software reset
AT+CFUN=3 Note : Set the airplane mode
AT+CFUN
AT+CFUN=
NOTE: Command Operator Selection +COPS is used to force registration/deregistration.

4.12.3 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.
IMSI detach
+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
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
Page: 18 / 239
<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

4.13.1 Description :

This command returns the activity status of the mobile equipment.

4.13.2 Syntax :

Command syntax : AT+CPAS Command Possible responses
FLYFOT-M260-MODULE
AT+ C PA S Note : Current activity status
AT+ C PA S ? AT+ C PA S = ? AT+ CPAS=1

4.13.3 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

4.14.1 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

4.14.2 Syntax :

Command syntax : AT+CMEE=<error reporting flag> Command Possible responses
AT+ C M E E= 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: 19 / 239
AT+ C M E E= 1 Note : Enable “+CME ERROR:<xxx>” or “+CMS ERROR:<xxx>”
AT + CM E E ?
AT + CM E E =? AT+ C M E E

4.14.3 Defined values :

<error reporting flag> 0 : Disable ME error reports, use only “ERROR” 1 : Enable “+CME ERROR: <xxx>”

4.15 Keypad control +CKPD

4.15.1 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-M260-MODULE
OK
+CMEE : 1 Note : Enable “+CME ERROR: <xxx>”
+CME ERROR 3 Note: not support

4.15.2 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

4.15.3 Defined values :

<keys> Keyboard sequence : string of the following characters (0-9,*,#).

4.16 Clock Management +CCLK

4.16.1 Description :

This command is used to set or get the current date and time of the ME real-time clock.

4.16.2 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: 20 / 239
AT+CCLK=”00/06/09,17:33:00+32” Note : set date to June 9 5:33pm, GMT +8
AT+CCLK=”00/13/13,12:00:00-16” Note : Incorrect month entered
AT+CCLK? Note : Get current date and time
AT+ CCLK =? AT+ CCLK

4.16.3 Defined values :

<date and time string> String format for date/time is: “yy/MM/dd,hh:mm:ss
Valid years are 00 (for 2000) to 98 (for 2098). Default date/time is “00/01/01,00:00:00+00” (January 1
th, 2000, and time to
FLYFOT-M260-MODULE
OK Note : Date/Time stored
+CME ERROR 3
+CCLK: “00/06/09,17:34:00+16” OK Note : current date is June 9 is 5:34:00 pm, GMT +4
+CME ERROR 3 Note: not support
±zz”.

4.17 Alar m Management +CALA

st
, 2000 / midnight).
th, 2000 current time

4.17.1 Description :

This command is used to set alarms date/time in the ME. The maximum number of alarms is 1.

4.17.2 Syntax :

Command syntax : AT+CALA=<date and time string> (set alarm)
AT+CALA=” ” (delete alarm)
Command Possible responses
AT+CALA=”00/06/09,07:30” Note : set an alarm for June 9
AT+CALA=”99/03/05,13:00:00” Note : set an alarm for March 5
AT+ C A L A? Note : list all alarms
CALA interruption
AT+CALA=”” Note : delete this alarm.
AT+ C A L A? Note : list all alarms
AT+CALA = ? OK
th, 2000 at 7:30 am
th, 1999 at 1:00 pm
OK Note : Alarm stored
+CME ERROR 3 Note : Invalid alarm (date/time expired)
+CALA: “00/06/08,15:25:00”
+CALA: “00/06/08,15:25:00” Note : an alarm occurs
OK Note : Alarm is deleted
+CALA: “00/06/09,07:30:00” Note : Only one alarm
AT+CALA
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
Page: 21 / 239

4.17.3 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 +CST A

4.18.1 Description :

This command is used to select type of address.

4.18.2 Syntax :

Command syntax :AT+CSTA=<type> Command Possible responses
FLYFOT-M260-MODULE
AT + CS TA ?
AT+CSTA=? +CSTA: (129,145)
AT+CSTA=129
AT + CS TA

4.18.3

4.19 Open Micor phone power +TCFG

4.19.1 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”.

4.19.2 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

4.19.3 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.
Page: 22 / 239
<Value> 0:close power. 1:open power. <Type> “IND”: indication control mode <Value>
b32
CSQ CBC CREG
UNUSED
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 Power down Mode +W32K

4.20.1 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-M260-MODULE
z When 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.

4.20.2 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

4.20.3 Defined values

<mode> :
0 : Disable 32kHz power down mode
1 : Enable 32kHz power down mode

4.21 Set alert tone Command +TMEL

4.21.1 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: 23 / 239

4.21.2 Syntax :

Command syntax : AT+TMEL=<type>,< volume> Command Possible responses
FLYFOT-M260-MODULE
AT+TMEL=2,3 Note: Set the alert type and volume
AT+ T M E L =? Note: Get possible value
AT+TMEL =10,4 Note: Set invalid value
AT+ TMEL? AT+ T M EL

4.21.3 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

4.22.1 Description

This command with six parameters is used to control the flash led sparking.

4.22.2 Syntax

AT+TFLED=[Operation],<light time in idle>,<dark time in idle>,<light in calling>,<dark in calling>,<mode:>
Command Possible responses
AT+ TFLED =? 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+ TFLED?
AT+ TFLED
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: 24 / 239

4.22.3 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 access +CRSM

4.23.1 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.
FLYFOT-M260-MODULE

4.23.2 Syntax

Command Possible responses
+CRSM=<command>[,<fileid> [,<P1>,<P2>,<P3>[,<data>]]]
AT+CRSM? OK
AT+CRSM=? OK

4.23.3 Defined values

<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: 25 / 239
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-M260-MODULE
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
Page: 26 / 239
FLYFOT-M260-MODULE

5 Call Control commands

5.1 Dial command D

5.1.1 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) ATD> “BILL”; to call “BILL” from the selected phonebook

5.1.2 Syntax:

Command syntax: ATD<nb>[;]
ATD><index>[;]
Command Possible responses
AT+ C P B S? 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: 27 / 239
Note: The ”;” for speech calls

5.1.3 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

5.2.1 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.

5.2.2 Syntax :

Command syntax : ATH<n> Command Possible responses
FLYFOT-M260-MODULE
ATH Note: Ask for disconnection
AT H 1 Note: Ask for outgoing call disconnection

5.2.3 Defined values:

<n> 0: Ask for disconnection (default value) 1: Ask for outgoing call disconnection

5.3 Answer a call A

5.3.1 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.

5.3.2 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: 28 / 239
ATA Note: Answer to this incoming call
ATH Note: Disconnect call

5.3.3 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

5.5.1 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-M260-MODULE
OK Note: Call accepted
OK Note: Call disconnected

5.5.2 5.5.2 Syntax :

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.

5.5.3 Defined values :

No parameter

5.6 DTMF signals +VTD, +VTS

5.6.1 +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: 29 / 239

5.6.2 +VTD Syntax:

Command syntax: AT+VTD=<n> Command Possible responses
FLYFOT-M260-MODULE
AT+VTD=6 Note: To define600 ms tone duration
AT+VTD=0 Note: To set the default value
AT+ V T D ? Note: interrogate current tone duration
AT+ V T D =?

5.6.3 Defined values :

<n> : tone duration <n>*100 is the duration in ms. If n < 4, tone duration is 300 ms; if n > 255, the value is used modulo 256. Default value is 300 ms, that is <n> = 3.

5.6.4 +VTS Description:

The product enables the user application to send DTMF tones over the GSM network. This command enables tones to be transmitted, only when there is an active call.

5.6.5 +VTS Syntax:

Command syntax: AT+VTS=<Tone> Command Possible responses
OK Note: Command valid
OK
+VTD: <n> OK
+VTD: (0-255) OK
AT+VTS=A
AT+VTS=11
AT+VTS=4

5.6.6 Defined values:

<Tone>: The value is in {0-9, *, #, A, B, C, D} Example: To send tone sequence 13#, the application sends: AT+VTS=1; +VTS=3; +VTS=# OK

5.7 Redial last telephone number ATDL

5.7.1 Description:

This command is used by the application to redial the last number used in the ATD command. The last number dialed is displayed followed by “;” for voice calls only
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
OK Note: Command valid
+CME ERROR: 4 Note: If the <Tone> is wrong
+CME ERROR: 3 Note: If there is no communication
Page: 30 / 239
Loading...
+ 209 hidden pages