Rainbow Electronics MG260 User Manual

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