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
+VTD Syntax:
Command syntax: AT+VTD=<n> Command Possible responses
FLYFOT-MG260-MODULE
AT+ V T D= 6 Note: To define600 ms tone duration
AT+ V T D= 0 Note: To set the default value
AT+ V T D? Note: interrogate current tone duration
AT+ V T D= ?
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.
+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.
+VTS Syntax:
Command syntax: AT+VTS=<Tone> Command Possible responses
AT+VTS=A
AT+VTS=11
AT+VTS=4
OK Note: Command valid
OK
+VTD: <n> OK
+VTD: (0-255) OK
OK Note: Command valid
+CME ERROR: 4 Note: If the <Tone> is wrong
+CME ERROR: 3 Note: If there is no communication
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
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.
Page: 31 / 246
Syntax:
Command syntax: ATDL Command Possible responses
FLYFOT-MG260-MODULE
AT D L Note: Redial last number
Defined values :
No parameter
5.8 Automatic answ er ATS0
Description:
This S0 parameter determines and controls the product automatic answering mode.
Syntax :
Command syntax : ATS0=<value> Command Possible responses
ATS 0 = 2 Note: Automatic answer after 2 rings
ATS 0 ?
Note: Current value ATS 0 = 0
Note: No automatic answer All others S-parameters (S6,S7,S8 ) are not implemented.
01062965555 Note: Last call was a voice call. Command valid
OK
002 OK Note: always 3 characters padded with zeros
OK Note: Command valid
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
Page: 32 / 246
Defined values:
<value> number of rings before automatic answer (3 characters padded with zeros). Range of values is 0 to 255.
5.9 Gain contr ol +VGR, +VGT
Description:
This command is used by the application to tune the receive gain of the speaker and the transmit gain of the microphone.
Syntax:
Command syntax: AT+VGR=<Rgain>
AT+VGT=<Tgain>
Command Possible responses
FLYFOT-MG260-MODULE
AT+VGR=5
AT + VG T = 4 5
AT+ V G R? Note: Interrogate value
AT+VGR=? Note: Test command
AT+ V G T? Note: Interrogate value
AT+ V G T= ? Note: Test command
Defined values :
<Rgain>: receiver gain <Tgain>: transmission gain
OK Note: Command valid
OK Note: Command valid
+VGR: 5 OK Note: Default receive gain +VGR: (1-10) OK Note: Possible values +VGT: 20 (When AT+SPEAKER=0) +VGT: 96 (When AT+SPEAKER=1) +VGT: 32 (When AT+SPEAKER=2) OK Note: Default transmit gain +VGT: (0-255) OK Note: Possible values
Note: VGT command is not supported.
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
Page: 33 / 246
5.10 Microphone Mute Control +CMUT
Description :
This command is used to mute the microphone input on the product (for the active microphone set with the +SPEAKER command). This command is only allowed during a call. Syntax: Command syntax : AT+CMUT=<mode>
Command Possible responses
FLYFOT-MG260-MODULE
AT+ C M UT = ?
Note: Test command AT+ C M UT ?
Note: Ask for current value AT+ C M UT = 1
Note: Mute ON (call active) AT+ C M UT ?
Note: Ask for current value AT+ C M UT = 0
Note: Mute OFF (call not active)
Defined values :
<mode> 0 : microphone mute off (default value). 1 : microphone mute on.
5.11 Speaker & Microphone selection +SPEAKER
Description:
+CMUT: (0,1) OK Note: Enable / disable mute +CMUT: 0 OK Note: Current value is OFF
OK Note: Command valid
+CMUT: 1 OK Note: Mute is active (call active)
+CME ERROR:3 Note: Command not valid
This specific command is used to select the speaker and the microphone set.
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
Page: 34 / 246
5.14.2 Syntax :
Command syntax : AT+SPEAKER=<ActiveSpkMic>
Command Possible responses
FLYFOT-MG260-MODULE
AT+SPEAKER=0
Note : Speaker ONE and Micro ONE
AT+SPEAKER?
AT+SPEAKER=?
5.14.3 Defined values :
5.14.3 Defined values :
<ActiveSpkMic>
0 : SPEAKER ONE, MICRO ONE
1 : SPEAKER TWO, MICRO TWO
2: BUZZER, MICRO TWO
5.12 Echo Cancellation +ECHO
OK
Note : Command valid
+SPEAKER: 0
OK
Note : Speaker ONE and Micro ONE are
active
+SPEAKER: (0-2)
OK
Description :
This specific command is used to enable, disable or configure the Echo Cancellation functions for voice
calls (in rooms, in cars, etc.). It is necessary to tune the Microphone gain (AT+VGT) and the Speaker gain
(AT+VGR) before activating the Echo Cancellation.
Syntax :
Command syntax :
AT+ECHO=<GammaSp>,<GammaNSp>,<AlfaRev>
Command Possible responses
AT+CMEE=1
Note: Enables the use of result code
AT+SPEAKER?
AT+SIDET=0
Note: Deactivate the Sidetone
OK
+ SPEAKER: 0
OK
Note : Speaker ONE and Micro ONE are active
OK
Page: 35 / 246
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
AT+SIDET? +SIDET: 0,0
FLYFOT-MG260-MODULE
AT+ECHO?
Note : Read current settings
AT+ECHO=96,2,95
Note : Active Echo cancellation for Mic/Spk one.
AT+ECHO?
Note : Read current settings
Defined values:
<GammaSp>
Remote echo cancellation
The allowed range is [ 1; 96].
16 by default
<GammaNSp>
Near echo cancellation
The allowed range is [ 1; 96].
96 by default
<AlfaRev>
Echo cancellation related to room
The allowed range is [ 1; 64].
64 by default
+ECHO: 0,2,0
OK
OK
+ECHO: 96,2,95
OK
Page: 36 / 246
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
5.13 SideTone modification +SIDET
Description :
This specific command is used to set the level of audio feedback in the speaker
(microphone feedback in the speaker).
Syntax :
Command syntax : AT+SIDET=<val1>[,<val2>]
Command Possible responses
AT+SIDET=1,0
OK
Note : Command valid
AT+SIDET?
Note : Current value
+SIDET: 1,0
OK
Note : Command valid
AT+SIDET=? +SIDET: (0-1),(0-3)
OK
FLYFOT-MG260-MODULE
Defined values :
<val1>
0: SideTone is disabled
1: SideTone is enabled
<val2> ( default value 0 will be used if this parameter is not given)
0: 0 db
1: - 6 db
2: - 12 db
3: - 18 db
5.14 Initialize Voice Parameters +VIP
Description :
This command allows factory settings for voice parameters to be restored from EEPROM.
These voice parameters include:
z Gain control (+VGR & +VGT commands),
z Microphone mute control (+CMUT command),
z Speaker & Microphone selection (+SPEAKER command),
z Echo cancellation (+ECHO command),
z Side tone modification (+SIDET command).
Page: 37 / 246
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
Syntax :
Command syntax : AT+VIP=<n>
Command Possible responses
FLYFOT-MG260-MODULE
AT+ V I P?
AT+VIP=2
Note : Syntax error
AT+VIP=1
Note : Restore the factory settings from EEPROM
AT+VIP=1
Note : Restore the factory settings from EEPROM
with the current Echo cancellation algo (different of
the default algo).
AT+ V I P=?
Note : List of supported <n>s
Defined values :
<n>
1 : Restore all voice parameters
Other values are not supported.
+VIP: 1
OK
+CME ERROR: 3
OK
Note : The command has been executed
CME ERROR: 519
Note : Reset the product to accept the new algo.
+VIP: (1)
OK
5.15 Ring Melody Playback +CRMP
Description
This command allows a melody to be played. All melodies are manufacturer
defined.
For incoming voice, data or fax calls, 10 manufacturer-defined melodies can be
played back (in a loop).
Note:
loop melodies (for voice/data/fax call) must be stopped by a +CRMP command
with the <index> field set to 0 (example: +CRMP=0,,,0).
When the <volume> parameter is given, this overwrites the <sound level>
value of the +CRSL command. If the <volume> parameter is not given, the
<sound level> value of +CRSL is used as default value.
Syntax :
Command syntax : AT+CRMP=<call type>[,<volume>,<type>,<index>]
Page: 38 / 246
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
Command Possible responses
FLYFOT-MG260-MODULE
AT+CRMP=0,7,0,2
Note : Play voice call melody index 2 with
volume level 7.
AT+CRMP=0,,,0
Note : Stop the melody.
AT+CRMP=?
Note : supported parameters
Defined values :
<call type>
0 Incoming voice call
1 Incoming data call
2 Incoming fax call
<volume>
0 Min volume
6 Default volume
15 Max volume
<type>
0 Manufacturer Defined (default)
<index>
0 Stop Melody Playback
1-10 Melody ID for voice/data/fax call type (default : 1)
OK
Note : Melody Playback.
OK
Note : The melody is stopped.
+CRMP: (0-2),(0-15),0,(0-10)
OK
5.16 Ringer Sound Level +CRSL
Description :
This command is used to set/get the sound level of the ringer on incoming
calls. The set command changes the default <volume> value of the +CRMP
command.
Syntax :
Command syntax : AT+CRSL=<sound level>
Command Possible responses
AT+CRSL=0
Note : Set volume to Min.
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
OK
Note : Current ring playing with Min.
volume.
Page: 39 / 246
AT+CRSL=15
Note : Set volume to Max.
AT+CRSL=?
Note : supported parameters
Defined values :
<sound level>
0 Min volume
6 Default volume (default)
15 Max volume
5.17 Audio loop test +TLOOP
Description:
This specific command is used to open MAINMIC/AUXMIC and RECEIVER/EARPHONE for
audio loop test
FLYFOT-MG260-MODULE
OK
Note : Current ring playing with Max.
volume.
+CRSL: (0-15)
OK
Syntax:
Command syntax: AT+TLOOP=m,<device>
Command Possible responses
AT+ TLOOP =1,0
Note: test main micro and receiver
AT+ TLOOP =1,1
Note : test aux micro and earphone
AT+TLOOP = 0
Note: close audio loop test
AT+ TLOOP?
AT+ TLOOP =?
Defined values:
m: 0 close audio test
OK
Note: Command valid
OK
Note: Command valid
OK
Note: Command valid
+CME ERROR: 3
Note: not support this command
+ TLOOP: (0~1), (0~2)
OK
1 open audio test.
device:
0 main micro and receiver.
Page: 40 / 246
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
1 aux micro and earphone.
Note:
If exist call now, this command is not supported. In this case, return error 4(Not support).
5.18 Telephone firewall +TSFW
Description:
This specific command is used to set the telephone firewall.
Syntax:
Command syntax: AT+TSFW=m,<flag>,<telephone number>
Command Possible responses
AT+TSFW=3,0,331234,234534,12343
Note: Set rejected phone number
AT+TSFW =2,1,334234,34523
Note : Set acceptable phone number
AT+ TSFW =2,1,234325,213423
Note: Set acceptable phone number
AT+TSFW =0
Note: Delete all recorders
AT+TSFW =?
Note: Get current the reorders’ number of the list
FLYFOT-MG260-MODULE
+TSFW: 3
OK
Note: 3 phone numbers have been added into
the phone firewall list
+TSFW: 2
OK
Note: The flag is changed and old list should
be empty. Then 2 phone numbers have been
added into the new list
+TSFW: 4
OK
Note: The flag is the same as the last. 2 phone
numbers added into the list. The current list
has 4 recorders.
+TSFW: 0
OK
Note: Delete successfully
+TSFW: 4
OK
Note: Current reorders’ number
Page: 41 / 246
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
AT+TSFW =0
AT+TSFW =1,0,01062965555
Note: Set one rejected phone number
AT+TSFW?
AT+TSFW
Note:
The telephone firewall list contains 40 entries at most.
Defined values:
m : the number of reorders that need be added into the firewall list
<flag>
FLYFOT-MG260-MODULE
+TSFW: 0
OK
+TSFW:1
OK
+TSFW: 01062965555
Note: When the rejected phone number
incoming, the product will reject this call and
send the phone number indication
+CME ERROR 3
Note: not support
1 : the phone number of the list can be received.
0 : the phone number of the list should be rejected.
<telephone number>
the comma is used between two phone numbers.
5.19 Telephone minute alar m +TMAS
Description:
This specific command is used to set the telephone minute alarm.
Syntax:
Command syntax: AT+TMAS=m
Command Possible responses
AT+ TMAS=1
Note: Enable minute alarm
AT+ TMAS=0
Note: Disable minute alarm
OK
Note: Minute alarm is set.
OK
Note: Minute alarm is canceled.
Page: 42 / 246
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
AT+ TMAS?
AT+ TMAS =?
AT+ TMAS
Defined values:
<m>
1: Enable minute alarm
0: Disable minute alarm
5.20 FLYFOT Speaker & Microphone selection +TFSPEAKER
Description:
FLYFOT-MG260-MODULE
+TMAS: 1
OK
Note: Get current value
+TMAS: (0,1)
OK
Note: Current reorders’ number
+CME ERROR 3
Note: not support
This specific command is used to select the speaker and the microphone set.
Syntax:
Command syntax: AT+TFSPEAKER=<ActiveSpkMic>
Command Possible responses
AT+TFSPEAKER=0
Note: receiver
AT+TFSPEAKER=1
Note: headset
AT+TFSPEAKER=2
Note: hand free
AT+TFSPEAKER?
AT+TFSPEAKER=?
Defined values:
OK
Note: Command valid
OK
Note: Command valid
OK
Note: Command valid
+SPEAKER: 0
OK
Note: receiver are active
+SPEAKER: (0-2)
OK
<ActiveSpkMic>
0: earphone and aux MIC
1: receiver and main MIC
2: hand free and main MIC
Page: 43 / 246
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
FLYFOT-MG260-MODULE
6 Network service commands
6.1 Signal Quality +CSQ
Description :
This command is used to ascertain the received signal strength indication (<rssi>) and the channel
bit error rate (<ber>) with or without a SIM card inserted.
Syntax :
Command syntax : AT+CSQ
Command Possible responses
AT+ C S Q
AT+CSQ=? +CSQ:(0~31),(0~7)
AT+CSQ? +CME ERROR: 3
Defined values :
<rssi> :
0: -113 dBm or less
1: -111 dBm
2 to 30: -109 to –53 dBm
31: -51dBm or greater
99: not known or not detectable <ber> : 07: as RXQUAL values in the table GSM 05.08
99: not known or not detectable
Notes: <ber> is not valid and only response “99”
+CSQ: <rssi>,<ber>
OK
Note : <rssi>,<ber> as defined below
OK
Note : get parameter range
Note : not support
6.2 Operator selection +COPS
Description :
There are three possible ways of selecting an operator (PLMN):
1) The product is in manual mode. It then tries to find the operator specified by the application and if
found, tries to register.
Page: 44 / 246
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
2) The product is in automatic mode. It then tries to find the home operator and if found, tries to register.
If not found, the product automatically searches for another network.
3) The product enters into manual/automatic mode, and then tries to find an operator as specified by the application (as in manual mode). If this attempt fails it enters automatic mode. If this is successful, the operator specified by the application is selected. The mobile equipment then enters into automatic mode.
Note:
The read command returns the current mode and the currently selected operator. In manual mode, this PLMN may not be the one set by the application (as it is in the search phase). These commands are not allowed during one communication.
Syntax :
To force an attempt to select and register on a network, the application must
send the following command:
Command syntax
Possible responses for AT+COPS=<mode>: OK (Network is selected with full service) +CME ERROR: 30 (No network service), +CME ERROR: 32 (Network not allowed – emergency calls only) +CME ERROR: 3 (not allowed during one Communication) +CME ERROR: 4 (Incorrect parameters) Response syntax for AT+COPS?:
+COPS: <mode> [, <format>, <oper> ]
Response syntax for AT+COPS=?:
+COPS: [list of supported (<stat>, long alphanumeric <oper>, short
alphanumeric <oper>s, numeric <oper>) s]
If an incoming call occurs during a PLMN list request, the operation is aborted
(+CME ERROR: 520) and the unsolicited RING appears
: AT+COPS=<mode>, [<format> [ , <oper> ] ]
FLYFOT-MG260-MODULE
Command Possible responses
AT+ C O PS?
Note : Ask for current PLMN
AT+COPS=?
Note : Ask for PLMN list
AT+COPS=1,2,46000
Note : Ask for registration on China
Telecom network
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
+COPS: 0,2,46000
OK
Note : Home PLMN is China Telecom
+COPS:(2,"CHINA MOBILE","CMCC","46000"),
(3,"CHN-CUGSM","CU-GSM","46001")
OK
Note : detect current available PLMN
OK
Note : register successfully
Page: 45 / 246
AT+COPS=0
Note : Ask for registration on home
network
AT+COPS=3,0
Note : Set <format> to long
alphanumeric
AT+COPS=2
Note : Ask for deregistration from
network
AT+COPS
Defined values :
The parameters values are the following ones:
<mode> 0: automatic (default value) 1: manual 2: deregistration ; ME will be unregistered until <mode>=0 or 1 is selected. 3: set only <format> (for read command AT+COPS?) 4: manual / automatic (<oper> shall be present), if manual selection fails, automatic mode is entered. <format>: format of <oper> field 0: long alphanumeric format <oper> 1: short alphanumeric format <oper> 2: numeric <oper> (default value) <stat>: status of <oper> 0: unknown 1: available 2: current 3: forbidden
FLYFOT-MG260-MODULE
OK
Note : Succeeded
OK
Note: Succeeded
OK
Note : Succeeded
+CME ERROR: 3
Note : not support
<oper>: operator identifier (MCC/MNC in numeric format only for operator selection)
The long alphanumeric format can be up to 16 characters long (see appendix 19.12 for operator names
description, field is “Name”)
The short alphanumeric format can be up to 8 characters long.
6.3 Network re gistration +CREG
Description
This command is used by the application to ascertain the registration status of the product.
Page: 46 / 246
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
Syntax :
Command syntax : AT+CREG= <mode>
Response syntax :
Command Possible responses
+CREG : <mode>, <stat> [ ,<lac>,<ci> ] for AT+CREG? Command only
FLYFOT-MG260-MODULE
AT+CREG?
AT+CREG=1
Note : Enable network registration unsolicited result
code
AT+CREG=?
AT+CREG
Defined values :
<mode>
0: Disable network registration unsolicited result code (default)
1: Enable network registration code result code +CREG : <stat>
2: Enable network registration and location information unsolicited result
code +CREG: <stat>,<lac>,<ci> if there is a change of network cell.
<stat>
0: not registered, ME is not currently searching for a new operator.
1: registered, home network.
2: not registered, ME currently searching for a new operator to register to.
3: registration denied.
4: unknown.
5: registered, roaming.
<lac>: string type; two byte location area code in hexadecimal format (e.g. “00C3” equals 195 in decimal). <ci>: string type; two byte cell ID in hexadecimal format.
+CREG: <mode>,<stat>
OK
Note : As defined here-above
OK
Note : Command valid
+CREG: (0-2)
Note : 0,1,2 <mode> values are supported
+CME ERROR: 3
Note : not support
6.4 Preferr ed operator list +CPOL
Description :
This command is used to edit (or update) the SIM preferred list of networks. This list is read in the
SIM file selected by the command AT+CPLS.
Page: 47 / 246
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
Syntax :
Command syntax : AT + CP OL=
[<index>] [,<format>[,<oper>[,<GSM_AcT>,<GSMcomp_Act>,<Utran_Act>]]]
The different possibilities are:
z AT+CPOL = <index> to delete an entry.
z AT+CPOL = , <format> to set the format used by the read command (AT+CPOL?).
z AT+CPOL = <index> , <format> , <oper> to write <oper> in the
<format> at the <index>.
The supported format are those of the +COPS command.
Command Possible responses
FLYFOT-MG260-MODULE
AT+ C P OL?
Note : Ask for preferred list of networks
With only EF_PLMNsel present
AT+ C P OL=, 0
Note : Select long alphanumeric format
AT+ C P OL?
Note : Ask for preferred list of networks With only
EF_PLMNsel present
AT +CPOL=7 , 2 , 46001
Note : Add a network to the list
AT+CPOL = 7
Note : Delete 7
AT+CPOL = ?
Note: get the max index
th location
+CPOL: 1,2,46000
OK
Note : Preferred list of networks in numeric format
(read in EF_PLMNsel)
OK
+CPOL: 1,0,"CHINA TELECOM"
OK
Note : Preferred list of networks in long
alphanumeric format
OK
Note: succeed
OK
Note: succeed
+CPOL:(0~8),(0~2)
OK
Note: succeed
Defined values :
<index> : position of the operator record in the sim preferred operator list. Do
AT+CPOL=? To get the maximum index of the selected EF.
<format> :
0 long alphanumeric format for <oper>
1 short alphanumeric format for <oper>
2 numeric format for <oper>
<oper> : character string or integer (see <format>) indicating operator identifier.
Page: 48 / 246
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
6.5 Read operator name +COPN
Description :
This command returns the list of all operator names (in numeric and alphanumeric format)
stored in the module.
Syntax :
Command syntax : AT+COPN
Command response : +COPN: <NumOper>,<AlphaOper>
Command Possible responses
FLYFOT-MG260-MODULE
AT+COPN
Note : Ask for preferred list of networks
AT+COPN=? OK
AT+COPN?
AT+COPN=1
Defined values :
<NumOper> is the operator in numeric format. <AlphaOper> is the operator in long alphanumeric format (see appendix 19.12 for operator names
description)
6.6 Get handover counter +THOC
+COPN: 23201,"A1"
+COPN: 23203,"A max."
+COPN: 23207,"A tele.ring"
+COPN: 23205,"one"
OK
Note: succeed
+CME ERROR: 3
Note: not support
Description :
This command returns the counter of the product spanning over BSIC.
Syntax :
Command syntax : AT+THOC
Command response : + THOC: <Handover Counter>
Command Possible responses
Page: 49 / 246
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
AT+THOC?
Note: Get the handover counter.
AT+THOC=? OK
AT+THOC
AT+THOC=1
6.7 Cell environment description +CCED
Description :
This command can be used by the application to retrieve the parameters of the main cell and of up to six
neighbouring cells.
There are two possible methods for the external application to ascertain these cell parameters: on request by the
application or automatically by the product every 5 seconds.
Automatic mode is not supported during communication or registration.
Syntax :
FLYFOT-MG260-MODULE
+THOC: 0
OK
Note: succeed
+CME ERROR: 3
Note: not support
Command syntax: AT+CCED=<mode>[, <requested dump>]
Command Possible responses
AT+CCED=0
Note: One shot
requested
AT+THOC=?
AT+CCED?
Defined values :
<mode>
0: One shot requested
1: Automatic shots requested
2: Stop automatic shots
<requested dump>
1: Main Cell : if the Cell Identity is available MCC, MNC, LAC, CI, BSIC, BCCH, Freq (absolute), RxLev,
RxLev Full, RxLev Sub, RxQual, RxQual Full, RxQual,Sub, Idle TS. if the Cell Identity is not available MCC,
MNC, LAC, BSIC, BCCH, Freq (absolute), RxLev, RxLev Full, RxLev Sub, RxQual, RxQual Full, RxQual
Sub,Idle TS
2: Neighbour1 to Neighbour6 : if the Cell Identity is available MCC, MNC, LAC,CI, BSIC, BCCH
Freq(absolute), RxLev if the Cell Identity is not available MCC,MNC, LAC,, BSIC, BCCH Freq (absolute),
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
+CCED:
460,00,109f,4ee1,31,25,48,0,0,0,0,0,0,460,00,1081,232b,28,21,21,460,00,10
c6,cdc6,35,36,18,460,00,109f,cd2a,7,34,17,460,00,109f,cd2b,14,44,15,460,00,10c6,
cdc7,34,32,14,0
OK
+CME ERROR: 3
Note: not support
Page: 50 / 246
RxLev
4: Timing Advance
Combination (addition of the values) of the requested dump is supported. Note that in idle mode, only RxLev
measurements (on the main cell and on the neighbouring cells) are made. The value of these RxLev is set in the
RxLev Full field for the main cell.
The response will be:
+CCED :<value>, . , <value>
OK
Where <value> is the ASCII string of the values (in decimal form except the LAC and CI values which are in
hexadecimal form) of the parameters. If a field cannot be measured . or has no sense . the parameter is not filled
in (two consecutive commas are then found).
If the <requested dump> parameter is absent, that of the last +CCED command (or 15 by default) will be used.
Values of MCC/MNC are set to 0 in the case of .No service..
FLYFOT-MG260-MODULE
Page: 51 / 246
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
FLYFOT-MG260-MODULE
7 Security commands
7.1 Enter PIN +CPIN
Description :
This command is used to enter the ME passwords (CHV1 / PUK1), that are required before any ME
functionality can be used.
CHV1 is between 4 and 8 digits long, PUK1 is only 8 digits long.
The application is responsible for checking the PIN after each reset or power on
- if the PIN was enabled.
Syntax :
Command syntax: AT+CPIN=<pin>
Command Possible responses
AT+CPIN=1234
Note : Enter PIN
AT+CPIN=5678
Note : Enter PIN
After 3 unsuccessful attempts to enter the PIN (Personal Identification Number), the PUK (Personal
Unblocking Key) will be required. PUK validation forces the user to enter a new PIN code as a second
parameter and this will be the new PIN code if PUK validation succeeds. CHV1 is then enabled if PUK1
is correct. The application therefore uses this command: AT+CPIN=<Puk>,<NewPin>
Command Possible responses
AT+CPIN=00000000,1234
Note : Enter PUK and new PIN
AT+CPIN=12345678,1234
Note : Enter PUK and new PIN, 2
nd attempt
OK
Note : PIN code is correct
+CME ERROR : 3
Note : Operation not allowed, PIN previously
entered
+CME ERROR: 16
Note : Incorrect PUK
OK
Note : PUK correct, new PIN stored
Page: 52 / 246
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
To ascertain which code must be entered (or not), the following query command can be used:
AT + CP I N ?
The possible responses are :
FLYFOT-MG260-MODULE
+CPIN: READY
+CPIN: SIM PIN
+CPIN: SIM PUK
+CPIN: SIM PIN2
+CPIN: SIM PUK2
+CPIN: PH-SIM PIN
+CPIN: PH-NET PIN
+CME ERROR: <err>
Please note that in this case the mobile equipment does not end its response with the OK string.
The response +CME ERROR : 13 (SIM failure) is returned after 10 unsuccessful PUK attempts. The SIM
card is then out of order and must be replaced by a new one.
Example: 3 failed PIN validations + 1 successful PUK validation
AT+ C P IN?
+CPIN: SIM PIN
AT+CPIN=1235
+CME ERROR: 16
AT+CPIN=1236
+CME ERROR: 16
AT+CPIN=1237
+CME ERROR: 16
AT+ C P IN?
+CPIN: SIM PUK
AT+CPIN=99999999,5678
OK
AT+ C P IN?
+CPIN: READY
ME is not pending for any password
CHV1 is required
PUK1 is required
CHV2 is required
PUK2 is required
SIM lock (phone-to-SIM) is required
Network personnalisation is required SIM failure (13) absent (10) etc
Read the PIN status
The product requires SIM PIN
First attempt to enter a SIM PIN
Wrong PIN
Second attempt
Wrong PIN
Third attempt
Wrong PIN
Read PIN state
The product requires PUK
The PUK is entered, the new PIN shall be 5678
PUK validation is OK. New Pin is 5678
Read PIN state
The product is ready
Defined values :
<pin> Personal Identification Number.
Page: 53 / 246
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
<puk> Personal Unblocking Key needed to change the PIN.
See above conditions of use.
7.2 PIN remaining attempt number +CPINC
Description :
This specific command is used to get the number of valid attempts for PIN1 (CHV1), PIN2 (CHV2),
PUK1 (UNBLOCK CHV1) and PUK2 (UNBLOCK CHV2) identifiers.
Syntax :
Command syntax : AT + CP INC
Response syntax : +CPINC : <n1>,<n2>,<k1>,<k2>
Command Possible responses
FLYFOT-MG260-MODULE
AT+ C P INC
Note : Get the number of attempts left
AT+ C P INC?
Note : Get current values
AT+ C P INC= ?
Note : Get possible values
Defined values
<n1>, <n2> are the attempts left for PIN1, PIN2 (0 = blocked, 3 max)
<k1>, <k2> are the attempts left for PUK1, PUK2 (0 = blocked, 10 max)
For this to work, the card should be present at the time of initialization, otherwise an error will be sent
(+CME ERROR : 10).
Note: if PIN2 not aviable , the n2 and k2 maybe 255
7.3 Facility lock +CLCK
Description:
+CPINC : 2,3,10,10
OK
Note : First CHV1 attempt was a failure
+CPINC : 2,3,10,10
OK
Note : First attempt was a failure
OK
This command is used by the application to lock, unlock or interrogate an ME or network facility <fac>.
Note: Test SIM cards (with MCC=001 & MNC=01) doesn’t check “PS”, “PN”, “PU”, “PP” and “PC”
locks.
Syntax :
Command syntax: AT+CLCK= <fac>,<mode>[,<passwd>[,<class>] ]
Response syntax:
Command Possible responses
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
+CLCK: <status> [ ,<class1> ]<CR><LF>+CLCK: <status>,<class2> [ ] ]
Page: 54 / 246
AT+CLCK=”SC”, 1,1234
Note: Enable PIN
AT+ C L CK ?
Note: Read PIN status
AT+CLCK=”SC”,0,5555
Note : Disable PIN
AT+CPIN=1234
Note : Enter PIN
AT+ C L CK =?
Note : Request supported
facilities
AT+CLCK=”PN”,1,12345678
Note : Activate network lock
AR+CLCK=”AO”,1,1234,2
Note : Activate all outgoing
calls barring for data calls
AT+CLCK=”AO”,2
Note : Query BAOC status
AT+CLCK=”SC”,0,0000
Note : Disable PIN
OK
Note: PIN was correct
+CLCK:(“PS”,0),(“SC”,0),(“FD”,0),(“PN“,0) ,(“PU“,0),(“PP“,0),(“PC“,0)
OK
Note: PIN is enabled, no SIM lock, no network lock, no information on Call barring
+CME ERROR: 16
Note: PIN was wrong
OK
Note : PIN was good
+CLCK:
(“PS”,”SC”,”AO”,”OI”,”OX”,”AI”,”IR”,”AB ”,”AC”, ”FD”,"PN","PU","PP",”PN”)
OK
Note : Supported facilities
OK
Network lock activated
OK
Note : Call barring is activate
+CLCK : 1,2
OK
Note : BAOC activate for data calls only
+CME ERROR: 521
Note : PIN deactivation is forbidden with this SIM card
FLYFOT-MG260-MODULE
Defined values :
<fac> : supported facilities
z “PS”: SIM lock facility with a 8 digits password.
z “SC”: PIN enabled (<mode> = 1) / disabled (<mode> = 0)
z “AO”: BAOC (Barr All Outgoing Calls)
z “OI”: BOIC (Barr Outgoing International Calls)
z “OX”: BOIC-exHC (Barr Outgoing. International Calls except to Home Country)
z “AI”: BAIC (Barr All Incoming Calls)
z “IR”: BIC-Roam (Barr Inc. When Roaming outside Home Country)
z “AB”: All Barring services
z “AG”: All outGoing barring services
z “AC”: All inComing barring services
z “PN”: Network lock with a 8 digits password (NCK).
z “PU”: Network Subset lock with a 8 digits password (NSCK).
z “PP”: Service Provider lock with a 8 digits password (SPCK).
z “PC”: Corporate lock with a 8 digits password (CCK).
Page: 55 / 246
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
z
“FD”: SIM Fixed Dialing Numbers (FDN) memory feature (PIN2 is required as <password>)
<mode>
0 : unlock the facility
1 : lock the facility
2 : query status
<class> : A facility status can be changed for only one class, or for all classes (7 or omitted). <class>
1 : Voice (telephony)
2 : Data (apply to all bearer services)
8 : Short Message service
7 : Equal to all classes (Default value)
Any attempt to combine different classes will result in activation / deactivation /
interrogation of all classes.
Password maximum length is given with the AT+CPWD=? Command.
Note: It will not possible to lock the FDN phonebook if this one is not loaded.
FLYFOT-MG260-MODULE
7.4 Change password +CPWD
Description :
This command is used by the application to change a password (PIN, call barring, NCK, etc.). The facility
values (<fac>) are the same as for the +CLCK command with a “P2” facility to manage SIM PIN2.
For the network lock (“PN”), unlocking is forbidden after 10 failed attempts to disable (unlock) the
network lock with an incorrect password.
Syntax :
Command syntax : AT+CPWD= <fac>, <oldpwd>, <newpwd>
Command Possible responses
AT+ C P WD=?
Note : Possible values
+CPWD:
(“PS”,8),(“SC”,8),(“AO”,4),(“OI”,4),(“OX”,4 ),(“AI”,4),
(“IR”,4),(“AB”,4),(“AG”,4),(“AC”, 4),
(“P2”,8),(“FD”,8),("PN",8),("PU",8),("PP",8), ("PC",8)
OK
Note : CHV1/CHV2 must be on 8 digits maximum
(4mini) For call barring, on 4 digits maximum
Page: 56 / 246
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
AT+CPWD=”SC”,1234,5555
Note : Change PIN
AT+CPWD=”SC”,1234,5555
Note : Change PIN
AT+CPIN=5555
Note : Enter PIN
AT+CPWD=”PN”,12345678,00000000
Note : Change NCK
Defined values :
<fac> : facility
z “PS”
z “SC”
z “AO”
z “OI”
z “OX”
z “AI”
z “IR“
z “AB”
z “AG”
z “AC”
z “P2”
z “FD”
z "PN"
z "PU"
z "PP"
z "PC"
<oldpwd>, <newpwd>
On 4 or up to 8 or 16 digits accprding to the facility.
FLYFOT-MG260-MODULE
OK
Note : PIN was correct
+CME ERROR: 16
Note: PIN was wrong
OK
Note : PIN was correct
OK
Note : NCK changed for net lock
7.5 Enter PIN2/PUK2 +CPIN2
Description :
This specific command is used to validate the PIN2 code (CHV2), or to validate the PUK2 code (UNBLOCK
CHV2) and to define a new PIN2 code.
PIN2 length is between 4 and 8 digits, PUK2 length is 8 digits only.
Syntax :
Command syntax : AT+CP I N 2 = <p i n 2>
Page: 57 / 246
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
Command Possible responses
FLYFOT-MG260-MODULE
AT+CPIN2=1234
Note : Enter PIN2
AT+CPIN2=5678
Note : Enter PIN2
After 3 unsuccessful attempts, PUK2 will then be required. PUK2 validation forces the user to enter a new PIN2
code as a second parameter and this will be the new PIN2 code if PUK2 validation succeeds. The application
therefore uses this command:
AT+CPIN2=<puk2>,<NewPin2>
Command Possible responses
AT+CPIN2=00000000,1234
Note : Enter PUK2 and new PIN2
AT+CPIN2=12345678,1234
Note : Enter PIN2 and new PIN2
OK
Note : PIN2 is correct
+CME ERROR:3
Note : Operation not allowed,PIN2 previously
entered is wrong.
+CME ERROR:16
Note : Incorrect Password(PUK2).
OK
Note : PUK2 is correct, new PIN2 stored
To ascertain which code must be entered (or not), the following query command can be used:
AT + CP I N 2?
The possible responses are
+CPIN2: READY
+CPIN2: SIM PIN2
+CPIN2: SIM PUK2
+CME ERROR: <err>
Example
Command Possible responses
AT+CPBS=”FD”
Note : Choose FDN
AT+CPBW=5,”01290917”,129,”Jacky”
Note : Write in FDN at location 5
AT+CPIN2? +CPIN2: SIM PIN2
No PIN2 is needed
PIN2 is required
PUK2 is required SIM failure (13) absent (10) etc
OK
+CME ERROR:17
Note :SIM PIN2 is required
Page: 58 / 246
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
AT+CPIN2=5678 OK
AT+CPBW=5,”01290917”,129,”Jacky” OK
FLYFOT-MG260-MODULE
Page: 59 / 246
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
FLYFOT-MG260-MODULE
8 Phonebook commands
8.1 Select phonebook memory storage +CPBS
Description :
This command selects phonebook memory storage("SM",”ME”,"ON").
Syntax :
Command syntax : AT+CPBS=<pb>
Command Possible responses
AT+CPBS=?
Note : Possible values
AT + CP B S ?
Note : Status
AT+CPBS=”SM” OK
AT+CPBS="ME" OK
AT+CPBS +CME ERROR: 3
AT + CP B S ?
Note : Status
+CPBS: ("SM",”ME”,"ON")
Note : only .EN. phonebook is not supported with
this SIM card.
+CPBS: "SM",20,100
OK
Note: ADN phonebook selected, 20 locations
used, 100 locations available
Note: ADN phonebook is selected
Note: ME phonebook is selected
Note: The product can not support this command
+CPBS: "ME",10,100
OK
Note: ADN phonebook selected, 10 locations
used, 100 locations available
Defined values :
<pb> : phonebook
“SM”: ADN (SIM phonebook)
“ON”: MSISDN (SIM own numbers)
“ME”: ME(Mobile Equipment)
Page: 60 / 246
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
8.2 Read phonebook entries +CPBR
Description :
This command returns phonebook entries for a range of locations from the
current phonebook memory storage selected with +CPBS.
Note :
for all phonebook read commands (+CPBR, +CPBF, +CPBN, +CPBP, +CNUM),
the TON/NPI MSB of each number is set to 1 (ex : a TON/NPI stored as 17 is
displayed as 145).
Syntax :
Command syntax : AT+CPBR=<first_entry>[,<last_entry>]
Command Possible responses
AT+CPBR=?
Note: Test command
AT+CPBR=?
Note: Test command
AT+CPBR?
AT+CPBR
AT+CPBR=10
Note: Read entry 10
AT+CPBR=1,10
Note: Read entries from 1 to 10
AT+CPBR=11 +CPBR:
FLYFOT-MG260-MODULE
+CPBR: (1-100),40,12
OK
Note:+CPBS=”SM” ,100locations (from 1 to100),
max length for phone number is 40digits, 12
characters max for the text
+CPBR: (1-100),19,30
OK
Note: +CPBS=”ME”,100locations (from 1 to100),
max length for phone number is 19digits, 30
characters max for the text
+CME ERROR: 3
Note: The product can not support this command
+CPBR: 10,"12345678",129,"NON"
OK
Note: Display location 10
+CPBR: 1,"13911133127",129,""
+CPBR: 2,"13511015868",129,"YING"
+CPBR: 3,"13520941547",129,"nm"
+CPBR: 4,"01064345558",129,"11"
+CPBR: 5,"13691580530",129,"22"
+CPBR: 6,"13911828812",129,"33"
+CPBR: 7,"13520941547",129,"44"
+CPBR: 8,"13521835820",129,""
+CPBR: 9,"13911133127",129,"LINYX"
+CPBR: 10,"12345678",129,"NON"
OK
Note: Display locations 1~10 with location,
number, type (TON/NPI), Text
Page: 61 / 246
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
Note: Read entry 11 (UCS2 format)
AT+CPBR=52
Note : Read entry 52 (empty)
AT+CPBR=356
Note : Read entry 356 (wrong)
Defined values :
<first_entry>, <last_entry>
location (or range of locations) where to read phonebook entry.
The first entry and last entry must both be more than 0. The first entry must be less than last entry.
8.3 Find phonebook entries +CPBF
Description:
This command returns phonebook entries with alphanumeric fields starting with a given string. The
AT+CPBF= “” command can be used to display all phonebook entries sorted in alphabetical order.
This command is not allowed for "LD", "RC", "MC", "SN", phonebooks and for the “EN” phonebook,
which does not contain alphanumeric fields.
It is possible to use this command with UCS2 strings. If a wrong UCS2 format is entered, the string is
considered as an ASCII string.
FLYFOT-MG260-MODULE
11,"01012312312",129,"805F204E09FFFF"
OK
Note: Display location 11
OK
Note: location 52 is empty
+CME ERROR: 21
Note : Invalid index because the maximize is 355
Syntax :
Command syntax : AT+CPBF=<string>
Command Possible responses
AT+CPBF=?
Note: Test command
AT+CPBF=?
Note: Test command
AT + CP B F ?
AT+CPBF
AT+CPBF="L"
Note : Read entries with . L.
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
+CPBF: 20,12
OK
Note : +CPBS=”SM” ,Max length for phone
number is 20 digits, 12 characters for the text
+CPBF: 19,30
OK
Note : +CPBS=”ME” ,Max length for phone
number is 19digits, 30 characters for the text
+CME ERROR: 3
Note: The product can not support this command
+CPBF: 13,"01085966659",129,"Lin"
+CPBF: 9,"13911133127",129,"LINYX"
OK
Note : Display locations with text field starting
with L
Page: 62 / 246
AT+CPBF="h"
Note: Read entries with . h.
AT+CPBF=""
Note: Get all entries
FLYFOT-MG260-MODULE
+CME ERROR: 22
Note: Entry not found
+CPBF: 1,"13911133127",129,""
+CPBF: 8,"13521835820",129,""
+CPBF: 14,"01086982235",129,""
+CPBF: 20,"0301234567",129,"8052A8FFFF"
+CPBF: 18,"02822334455",129,"805F20FFFF"
+CPBF:
11,"01012312312",129,"805F204E09FFFF"
+CPBF:
17,"02712345678",129,"8079FB52A8FFFF"
+CPBF: 4,"01064345558",129,"11"
+CPBF: 5,"13691580530",129,"22"
+CPBF: 6,"13911828812",129,"33"
+CPBF: 7,"13520941547",129,"44"
+CPBF: 16,"02512345678",129,"805F20FFFF"
+CPBF: 19,"02912345678",129,"8079FB"
+CPBF: 12,"02411112222",129,"80XYZ"
+CPBF: 13,"01085966659",129,"lin"
+CPBF: 9,"13911133127",129,"LINYX"
+CPBF: 15,"12345678010",129,"miler"
+CPBF: 3,"13520941547",129,"nm"
+CPBF: 10,"12345678",129,"NON"
+CPBF: 2,"13511015868",129,"YING"
OK
Note: display all phonebook entries sorted in
alphabetical order
Defined values :
<string>
Searched starting string (depends on the format of data stored in the phonebooks)
8.4 Write phonebook entr y +CPBW
Description:
This command writes a phonebook entry in location number <index> in the current phonebook memory
storage.
“RC” and “MC” phonebooks could be only erased by +CPBW. Adding field and/or modifying field is not
allowed for these phonebooks.
Page: 63 / 246
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
This command is not allowed for “EN”, “LD”, “MC”, “RC”, “MT”, “SN” phonebooks, which can not be
written.
Syntax :
Command syntax : AT+CPBW=<index>[,<number>[,<type>[,<text>]]]
Command Possible responses
FLYFOT-MG260-MODULE
AT + CP B W = ?
Note: Test command
AT + CP B W = ?
Note: Test command
AT + CP B W ?
AT + CP B W
AT + CP B W = 1
Note: Erase location 1
AT+CPBW=1,"01089898989",129,"TOM"
Note: Write at location 1
AT+CPBW=1,"0101234567",129,"JACK"
Note : Overwrite location 1
AT+CPBW=,"04012345678",129,"CHINA"
Note: Write at the first location available
AT+CPBW=22,"123456789123456789123456789
12345678912345678912345678912345678912345
6789123456789",129,"HELLO"
Note: Write at location 22 a phone number exceeding
the limit (20 digits)
AT+CPBW=22,"2021234567",129,"LONGLONG
AGOTHERELIVEAKING"
Note : Write at location 22 along text (11 characters)
AT+CPBW=22,"02012345678",129,"80ABC"
Note: write location
+CPBW: (1-100),20,(129,145),12
OK
Note :+CPBS=”SM” 100 locations, phone
number = 20 digits max, TON/NPI of 129 or
145, text length = 12
+CPBW: (1-100),19,(129,145),30
OK
Note : +CPBS=”SM” 100 locations, phone
number = 19 digits max, TON/NPI of 129 or
145, text length = 30
+CME ERROR: 3
Note: The product can not support this
command
OK
Note: Location 1 erased
OK
Note: Location 1 written
OK
Note: Location 1 overwritten
OK
Note: First location available is written
+CME ERROR: 26
Note: Phone number too long
+CME ERROR: 24
Note: Text too long
OK
Note: Location 22 is written. The string has a
wrong UCS2 format, it is therefore considered
Page: 64 / 246
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
AT+CPBW=23,"02112345678",129,"804E095F20
"
Note : write location 23 (UCS2 format for the
<text> field)
When the fixed dialing phonebook (FDN) is locked, this command is not allowed. Moreover, when the
FDN is unlocked, PIN2 is required to write in the FDN phonebook.
But if PIN2 authentication has been performed during the current session, the +CPBW command with
FDN is allowed.
Defined valuess :
<index> integer type value depending on the capacity of the phonebook memory. <number> phone number in ASCII format. <type> TON/NPI (Type of address byte in integer format).
Note:
for the <type> parameter, all values are allowed from 0 to 255,but the MSB will be set to 1 in all cases (ex :
a <type> value of 17 will be written as 145).
<text> string type.
Note 1:
For the <text> parameter all strings starting with “80”, “81” or “81” are considered in UCS2 format. See
the APPENDIX E (Coding of Alpha fields in the SIM for UCS2).
Note 2:
The +CSCS (Select Character set) command does not affect the format for phonebook entries.
FLYFOT-MG260-MODULE
as an ASCII string
OK
Note: Location 23 is written
8.5 Phonebook phone search +CPBP
Description :
This specific command orders the product to search the phonebook for an item with the same phone
number as that defined in the parameter.
Syntax :
Command syntax : AT+CPBP=<PhoneNumber>
Command Possible responses
AT+CPBP=”+331290101”
Note : Search entries corresponding to this phone
number
AT+CPBP=”+331290101”
Note : Search entries corresponding to this phone
number
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
+CPBP : 15,”+331290101”,145,”Eric”
OK
Note : Display the entry corresponding to the
specified phone number
+CPBP : 15,”01290101”,129,”Eric”
OK
Note : Display the entry corresponding to the
Page: 65 / 246
specified phone number
AT+CPBP=”01290202”
Note : Search entries corresponding to this phone
number
AT+CPBP=”+331290101”
Note : Search entries corresponding to this phone
number
AT+CPBP=”0129”
Note : Search entries corresponding to this phone
number
AT+CPBP=?
Note : Get possible value
AT+CPBP
AT + CP B P ?
FLYFOT-MG260-MODULE
+CPBP : 15,”+331290202”,145,”David”
OK
Note : Display the entry corresponding to the
specified phone number
+CPBP :
15,”+331290101”,145,”8045682344FFFF ”
(UCS2 format)
OK
Note : Display the entry corresponding to the
specified phone number
+CME ERROR: 22
Note : Entry not found
OK
Note : No parameter but this command is valid
+CME ERROR: 3
Note: The product can not support this
command
ERROR
Note: The product can not support this
command
Defined values :
<PhoneNumber>
coded according to GSM 07.07 or GSM 07.05.
8.6 Move action in phone book +CPBN
Description
This specific command instructs the product to make a forward or backward move in the phonebook (in
alphabetical order).
This command is not allowed for the “EN” phonebook - which does not contain alphanumeric fields.
Syntax :
Command syntax : AT+CPBN=<mode>
Command Possible responses
AT + CP B N =?
Note : Test command
AT+CPBN? +CME ERROR: 3
+CPBN: (0-5)
OK
Note : Possible modes
Page: 66 / 246
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
AT+CPBN Note: The product can not support this
AT + CP B N =0
Note : Read the first location
AT + CP B N =1
Note : Read the last location
AT + CP B N =2
Note : Read the next location
AT + CP B N =3
Note : Read the previous location
AT + CP B N =4
Note : Get the last location read
AT + CP B N =5
Note : Get the last location write
AT+CPBN=6 +CME ERROR: 3
AT + CP B N
AT + CP B N ?
FLYFOT-MG260-MODULE
command
+CPBN: 8,"13521835820",129,""
OK
Note : Display the first location
+CPBN: 2,"13511015868",129,"YING"
OK
Note : Display the last location
+CPBN: 8,"13521835820",129,""
OK
Note : Display Next valid item in alphabetical
order
+CPBN: 2,"13511015868",129,"YING"
OK
Note : Display Next valid item Previous valid
item in alphabetical order
+CPBN: 2,"13511015868",129,"YING"
OK
Note : Display the last location read
+CPBN:
23,"02112345678",129,"804E095F20FFFF"
OK
Note : Display
Note: The value exceed
+CME ERROR: 3
Note: The product can not support this
command
the last location write
the limit (0~5)
Page: 67 / 246
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
Using mode 4 and 5 with +CPBF command and CPBW :
Command Possible responses
FLYFOT-MG260-MODULE
AT+CPBF=”Er”
Note : Find ”Er” in phonebook
AT+ C P BN=2
Note : Read the next location
AT+CPBF=”Er”
Note : Find ”Er” in phonebook
AT+ C P BN=4
Note : Get the last location read
AT+CPBW=,”0146290800”,129,”WM”
Note : Write an item at the first location
available
AT+ C P BN=5
Note : Get the last location write
AT+ C P BN=4
Note : Get the last item read
AT+CPBF=”800041FFFF”
Note : Find”800041” in phonebook
AT+ C P BN=4
Note : Get the last location read
+CPBF : 15,”+331290101”,145,”Eric”
OK
Note : Display the location
+CPBN : 5,”+33147658987”,145,”Frank”
OK
Note : Display the following location
+CPBF : 15,”+331290101”,145,”Eric”
OK
Note : Display the location
+CPBF : 15,”+331290101”,145,”Eric”
OK
Note : Display the last location read
OK
Note : No information about this location
AT+CPBN=38,”0146290800,129,”WM”
Note : Display the last item written with its
location
AT+CPBN=38,”0146290800,129,”WM”
Note : Now the last item read is the last
written item too
+CPBF :
15,”+3312345”,145,”8000414339FFFF”
OK
Note : Display this location
+CPBF :
15,”+3312345”,145,”8000414339FFFF”
OK
Note : Display the last location read
Please note that the AT+CPBN=5 command is useful after an AT+CPBW command used without a
location.
Defined values :
<mode>
0: First item
1: Last item
2: Next valid item in alphabetical order
3: Previous valid item in alphabetical order
Page: 68 / 246
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
4: Last item read (usable only if a read operation has been performed on the current phonebook since the
end of initialization)
5: Last item written (usable only if a write operation has been performed on the current phonebook since
the end of initialization)
8.7 Subscriber number +CNUM
Description:
This command returns the subscriber MSISDN(s).
If the subscriber has different MSISDNs for different services, each MSISDN is returned in a separate line.
Syntax:
Command syntax: AT+CNUM
Response syntax
Command Possible responses
: +CNUM : <alpha1>, <number1>, <type1>
<CR><LF> +CNUM : <alpha2>, <number2>, <type2> .
FLYFOT-MG260-MODULE
AT + CN U M = ?
Note : Test command
AT + CN U M ?
AT + CN U M = 1
AT + CN U M
Note : Get MSISDNs
Defined values :
<alphax> optional alphanumeric string associated with <numberx>
<numberx> string type phone number with format as specified by <typex>
<typex> type of address byte in integer format
8.8 FLYFO T Phonebook Character Set +WPCS
Description :
This specific command informs the ME which character set is used by the TE for the phonebooks. The ME
can convert each character of entered or displayed strings. This is used to read or write phonebook entries.
See also +CSCS for the short messages character sets.
OK
Note : No parameter but this command is valid
+CME ERROR: 3
Note: The product can not support this
command
+CNUM :“Phone”,“0612345678”,129
Note : MSISDNs
Syntax :
Command syntax : AT+WPCS=<Character Set>
Page: 69 / 246
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
Command Possible responses
FLYFOT-MG260-MODULE
AT+WPCS=”TRANSPARENT”
Note : Transparent mode
AT+WPCS=?
Note : Get possible values
AT + WP C S ?
Note : Get current value
AT+WPCS
Defined values :
<Character Set>
“TRANSPARENT”: Transparent mode. The strings are displayed and entered as they are stored in SIM. “HEX”: Hexadecimal mode. No character set used; the user can read or write hexadecimal values.
AT+WPCS=”HEX” is default value.
OK
Note : Command valid
+WPCS:
("TRANSPARENT","HEX")
OK
Note : Possible values
+WPCS: "TRANSPARENT"
Note : read current value
+CME ERROR: 3
Note: The product can not support this command
Page: 70 / 246
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
FLYFOT-MG260-MODULE
9 Short Messages commands
Note: At present, MG260 only support “SM” storage.
9.1 Parameters definition
<da> Destination Address, coded like GSM 03.40 TP-DA <dcs> Data Coding Scheme, coded like in document [5]. <dt> Discharge Time in string format :
“yy/MM/dd,hh:mm:ss±zz”(Year [00-99], Month [01-12],
Day [01-31], Hour, Minute, Second and Time Zone [quarters of an hour] )
<fo> First Byte, coded like SMS-SUBMIT first byte in document [4],
Default value is 17 for SMS-SUBMIT
<index> Place of storage in memory. <length> PDU mode (+CMGF=0): length of the TP data unit in bytes <mem1> Memory used to list, read and delete messages (+CMGL, +CMGR and +CMGD). <mem2> Memory used to write and send messages (+CMGW, +CMSS). <mid> CBM Message Identifier. <mr> Message Reference. <oa> Originator Address. <pid> Protocol Identifier. <pdu> For SMS : GSM 04.11 SC address followed by GSM 03.40 TPDU in hexadecimal format,
coded as specified in doc [4] For CBS : GSM 03.41 TPDU in hexadecimal format
<ra> Recipient Address. <sca> Service Center Address <scts> Service Center Time Stamp in string format :
“yy/MM/dd,hh :mm :ss±zz” (Year/Month/Day,Hour:Min:Seconds±TimeZone)
<sn> CBM Serial Number <st> Status of a SMS-STATUS-REPORT <stat> Status of message in memory. <tooa> Type-of-Address of <oa>. <tora> Type-of-Address of <ra>. <tosca> Type-of-Address of <sca>. <total1> Number of message locations in <mem1>. <total2> Number of messages locations in <mem2. <used1> Total number of messages locations in <mem1>. <used2> Total number of messages locations in <mem2. <vp> Validity Period of the short message, default value is 167
Page: 71 / 246
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
9.2 Select message ser vice +CSMS
Description:
The supported services are originated (SMS-MO) and terminated short message (SMS-MT) +
Cell Broadcast Message (SMS-CB) services.
Syntax:
Command syntax : AT+CSMS=<service>
Command Possible responses
FLYFOT-MG260-MODULE
AT+CSMS=0
Note : SMS AT command Phase 2 version 4.7.0
AT+CSMS=1
Note : SMS AT command Phase 2 +
AT+CSMS?
Note : Current values ?
AT+CSMS=?
Note : Possible services
AT+CSMS +CMS ERROR: 3
Defined values:
<service>
0: SMS AT commands are compatible with GSM 07.05 Phase 2 version 4.7.0.
1: SMS AT commands are compatible with GSM 07.05 Phase 2 + version.
+CSMS: 1,1,1
OK
Note : SMS-MO, SMS-MT
+CMS ERROR: 303
Note : SMS-MO, SMS-M
+CSMS: 0,1,1,1
OK
Note : GSM 03.40 and 03.41 (SMS AT
command Phase 2 version 4.7.0
+CSMS: (0,1)
OK
Note: action command is not supported.
9.3 Preferred Message Storage +CPMS
Description:
This command allows the message storage area to be selected (for reading, writing, etc).
At present MG260 only support “SM” storage.
Syntax:
Command syntax: AT+CPMS=<mem1>,[<mem2>]
Page: 72 / 246
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
Command
FLYFOT-MG260-MODULE
Possible responses
AT+CPMS=?
Notes: List possible parameters.
AT+CPMS=”BM”
Notes: Select CBM message storage
AT+CPMS=”SR”
Notes: set status report storage
AT + CP M S ?
Note : Read
AT+CPMS +CMS ERROR: 3
+CPMS: ("SM")
Note: Read, list, delete: SMS, CBM or SMS
Status Report
Write, send: SMS
+CME ERROR 3
Note: At present MG260 MODULE, only
support “SM” storage.
+CME ERROR 3
Note: At present MG260 MODULE, only
support “SM” storage.
+CPMS: "SM",3,10,"SM",3,10
OK
Note : Read, write SMS from/to SIM 3 SMS are
stored in SIM. 10 is the total
in SIM
Note: action command is not supported.
memory available
Defined values :
<mem1>: Memory used to list, read and delete messages. It can be:
-“SM”: SMS message storage in SIM (default)
-“BM”: CBM message storage (in volatile memory).
-“SR” : Status Report message storage (in SIM if the EF-SMR file exists,
otherwise in the ME non volatile memory)
Note :
“SR” ME non volatile memory is cleared when another SIM card is inserted. It
is kept, even after a reset, while the same SIM card is used.
<mem2>: Memory used to write and send messages
-“SM” : SMS message storage in SIM (default).
If the command is correct, the following message indication is sent:
+CPMS: <used1>,<total1>,<used2>,<total2>
When <mem1> is selected, all following +CMGL, +CMGR and +CMGD
commands are related to the type of SMS stored in this memory.
Page: 73 / 246
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
9.4 Save Settings +CSA S
Description:
All settings specified by the +CSCA and +CSMP commands are stored in EEPROM if the SIM card is
a Phase 1 card or in the SIM card if it is a Phase 2 SIM card.
Syntax:
Command Possible responses
FLYFOT-MG260-MODULE
AT+CSAS
Note: Store +CSAS parameter
AT+CSAS?
AT+CSAS=?
Defined values:
No parameter
9.5 Restore settings +CRES
Description:
All settings specified in the +CSCA command is restored from EEPROM if the SIM card is Phase 1 or
from the SIM card if it is a Phase 2 one.
Syntax:
Command Possible responses
OK
Note: Parameter Stored
+CMS ERROR: 3
Note: not supported.
AT+CRES
Note: Restore +CSAS parameter
AT+CRES?
AT+CRES=?
Defined values:
No parameter
9.6 New message indication +CNMI
Description:
This command selects the procedure for message reception from the network.
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
OK
Note: Parameter restored
+CMS ERROR: 3
Note: not supported.
Page: 74 / 246
Syntax :
Command syntax : AT+CNMI=<mode>,<mt>,<bm>,<ds>,<bfr>
Command Possible responses
FLYFOT-MG260-MODULE
AT+CNMI=2,1,0,0,0 (default value)
Note : <mt>=1
AT+CNMI=2,2,0,0,0
Note : <mt>=2
AT+CNMI=2,0,0,1,0
Note : <ds>=1
AT+CNMI=2,0,0,0,0
Note : <ds>=0
at+cnmi?
Note : Read
at+cnmi=? +CNMI: (0-3),(0-3),(0-3),(0-1),(0,1)
OK
Note: message received and saved in sim, then
route the
result codes:
+CMTI: SM, <index>
OK
Note: message received, then route the
SMS-DELIVERS with unsolicited result codes:
+CMT:
OK
Note:
using unsolicited code:
+CDS : <length> <CR> <LF> <pdu>
OK
Note:
+CNMI: 2,2,0,1,0
SMS-DELIVERS with unsolicited
[<alpha>,] <length> <CR> <LF> <pdu>
SMS-STATUS-REPORTS are routed
No SMS-STATUS-REPORTs are routed.
Defined values :
<mode> : controls the processing of unsolicited result codes
0: Buffer unsolicited result codes in the TA. If TA result code buffer is full, indications can be buffered
in some other place or the oldest indications may be discarded and replaced with the new received
indications
1: Discard indication and reject new received message unsolicited result codes when TA-TE link is
reserved. Otherwise forward them directly to the TE
2: Buffer unsolicited result codes in the TA when TA-TE link is reserved and flush them to the TE after
reservation. Otherwise forward them directly to the TE
3: Forward unsolicited result codes directly to the TE. TA-TE link specific in hand used to embed result
codes and data when TA is in on-line data mode
Important note: only <mode>=2 is supported.
Any other value for <mode> (0,1 or 3) is accepted (return code will be OK), but the processing of
unsolicited result codes will be the same as with<mode>=2.
<mt> : sets the result code indication routing for SMS-DELIVER indications.
Default is 1.
No SMS-DELIVER indications are routed.
0:
SMS-DELIVERs are routed using unsolicited code : +CMTI: “SM”,<index>
1:
Page: 75 / 246
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
SMS-DELIVERs (except class 2 messages) are routed using unsolicited
2:
+CMT : [<alpha>,] <length> <CR> <LF> <pdu>
Class 3 SMS-DELIVERS are routed directly using code in <mt>=2 ; Other classes messages
3:
result in indication <mt>=1
<bm> : defines the rules for storing the received CBMs (Cell Broadcast Message) types. They depend also
on the coding scheme (text or PDU) and the setting of Select CBM Types (see +CSCB command). Default
is 0.
0: No CBM indications are routed to the TE. The CBMs are stored.
1: The CBM is stored and an indication of the memory location is routed to the customer application
using unsolicited result code: +CBMI: “BM”, <index>
2: New CBMs are routed directly to the TE using unsolicited result code.
+CBM: <length><CR><LF><pdu> (PDU mode enabled)
or
+CBM: <sn>,<mid>,<dcs>,<page>,<pages><CR><LF><data> (text mode enabled)
3: Class 3 CBMs : as <bm>=2. Other
classes CBMs : as <bm>=1.
<ds> for SMS-STATUS-REPORTs. Default is 0.
0: No SMS-STATUS-REPORTs are routed.
1: SMS-STATUS-REPORTs are routed using unsolicited code :
+CDS : <length> <CR> <LF> <pdu> (PDU mode) or
<bfr> Default is 0.
0: TA buffer of unsolicited result codes defined within this command is flushed to the TE when
<mode> = 1 to 3 is entered (OK response shall be given before flushing the codes)
1: TA buffer of unsolicited result codes defined within this command is cleared when <mode> 13 is entered.
FLYFOT-MG260-MODULE
9.7 Read message +CMGR
Description :
This command allows the application to read stored messages. The messages are read from the memory
selected by +CPMS command.
Syntax :
Command syntax : AT + CM GR= < inde x >
Response syntax for PDU mode
+CMGR: <stat>, [<alpha>] ,<length> <CR><LF> <pdu>
Note :
The <length> parameter for SMS Status Reports is always 0.
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
:
Page: 76 / 246
Example :
Command Possible responses
+CMTI: .SM.,1
AT+CMGR=1
Note : Read the message
AT+CMGR=51
Note : Read at a wrong index
AT+CMGR
AT+CMGR?
AT+CMGR=?
Defined values :
<stat> possible values (status of messages in memory) : Text mode possible
values
PDU mode possible values
FLYFOT-MG260-MODULE
Note : New message received
+CMGR: 1,,24
0891683108100005F0040D91683185716393
F900005001429042802304B0182C06
OK
+CMS ERROR: 500
Note : Error : invalid index
+CMS ERROR: 3
Note: not supported.
Status of messages in memory
“REC UNREAD” “REC READ” “STO UNSENT” “STO SENT” “ALL”
<length>
9.8 List message +CMGL
Description :
This command allows the application to read stored messages, by indicating the type of the message to
read. The messages are read from the memory selected by the +CPMS command.
Syntax :
length of the TP data unit in octets.
0 received unread messages
1 received read messages
2 stored unsent messages
3 stored sent messages
4 all messages
Command syntax : AT+CMGL=<stat>
Response syntax for PDU mode
+CMGL : <index>,<stat>, [<alpha>], <length> <CR><LF> <pdu> (for SMSDELIVER, SMS-SUBMIT
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
:
Page: 77 / 246
and SMS-STATUS-REPORT, may be followed by other <CR><LF>+CMGL:<index>)
Command Possible responses
FLYFOT-MG260-MODULE
AT+CMGL=4
Note : List all messages in pdu mode
AT+CMGL=1
Note : List read messages in PDU mode
AT+CMGL=? +CMGL: (0-4)
AT+CMGL
AT+CMGL?
+CMGL: 3,1,,23
0891683108100005F0040D91683185716393
F90000500142907350230331D90C
+CMGL: 1,1,,24
0891683108100005F0040D91683185716393
F900005001429042802304B0182C06
+CMGL: 2,1,,34
0891683108100005F0240D91683185716393
F900005011525151012310F3F61C442FCFE9
20F7DB0502C570
OK
+CMGL: 6,1,,34
0891683108100005F0240D91683185716393
F900005011525131902310F3F61C442FCFE9
20F7DB05028162
+CMGL: 5,1,,21
0891683108100005F0240D91683185716393
F90000501152514054230161
OK
OK
+CMS ERROR: 3
Note: not supported.
Defined values
Note :
For SMS Status Reports, only “ALL” / 4 and “READ” / 1 values of the <stat>
parameter will list messages ; other values will only return OK.
9.9 Send message +CMGS
Description :
The <address> field is the address of the terminal to which the message is sent. To send the message,
Page: 78 / 246
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
simply type, <ctrl-Z> character (ASCII 26). The text can contain all existing characters except <ctrl-Z>
and <ESC> (ASCII 27). This command can be aborted using the <ESC> character when entering text. In PDU mode, only hexadecimal characters are used (‘0’…’9’,’A’…’F’).
Syntax :
Command syntax in PDU mode :
AT+CMGS= <length> <CR>
PDU is entered <ctrl-Z / ESC >
Command Possible responses
FLYFOT-MG260-MODULE
AT+CMGS=.28.<CR>
0031000BA13105119226F40000AD0AA8C3F6
30885E9ED301 <ctrl-Z>
Note : Send a message in PDU mode
AT+CMGS=? +CMGS:
AT+CMGS
AT+CMGS?
The message reference, <mr>, which is returned to the application is allocated by the product. This number
begins with 0 and is incremented by one for each outgoing message (successful and failure cases); it is
cyclic on one byte (0 follows 255).
Note:
this number is not a storage number – outgoing messages are not stored.
Defined values :
See above paragraphs.
+CMGS: <mr>
OK
Note : Successful transmission
OK
+CMS ERROR: 3
Note: not supported.
9.10 Write Message to Memory +CMGW
Description :
This command stores a message in memory (either SMS-SUBMIT or SMSDELIVERS). The memory
location <index> is returned (no choice possible as with phonebooks +CPBW).
Text or PDU is entered as described for the Send Message +CMGS command.
Syntax :
Command syntax in PDU mode :
AT+CMGW= <length> [,<stat>] <CR>
give PDU<ctrl-Z / ESC>
Response syntax
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
:
Page: 79 / 246
+CMGW: <index> or +CMS ERROR: <err> if writing fails
Command Possible responses
FLYFOT-MG260-MODULE
AT+CMGW=.28.<CR>
0031000BA13105119226F40000AD0AA8C3F6
30885E9ED301 <ctrl-Z>
Note : Write a message in PDU mode
AT+CMGW=? OK
AT+CMGW
AT+CMGW?
Defined values :
None.
9.11 Send Message From Stor age +CMSS
Description :
This command sends a message stored at location value <index>.
+CMGW: 4
OK
Note : Message stored in index 4
+CMS ERROR: 3
Note: not supported.
Syntax :
Command syntax: AT+CMSS=<index>[,<da> [,<toda>] ]
Response syntax
+CMSS : <mr> or +CMS ERROR: <err> if sending fails
If a new recipient address <da> is given, it will be used instead of the one stored with the message.
Command Possible responses
AT+CMGW=25<CR>
AT+CMSS=5, 13901011234
Note : Send the message 5 to a different
destination number
AT+CMSS=5, 13901011234, 129
Note : Send the message 5 to a different
destination number and different <toda>
AT+CMSS
AT+CMSS?
:
+CMSS: <mr>
OK
Note: Message stored with index 25 is send
successfully
AT+CMSS:<mr>
OK
Note : Successful transmission
+CMSS :<mr>
OK
Note : Successful transmission
+CMS ERROR: 3
Note: not supported.
Page: 80 / 246
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
AT+CMSS=?
Defined values
<index> <da> <toda> <mr>
See above descriptions.
9.12 Delete message +CMGD
Description :
This command is used to delete one or several messages from preferred message storage (“BM” SMS
CB ‘RAM storage’, “SM” SMSPP storage ‘SIM storage’ or “SR” SMS Status-Report storage).
FLYFOT-MG260-MODULE
Syntax :
Command syntax : AT+CMGD=<Index> [,<DelFlag>]
Command Possible responses
+CMTI:.SM.,3
Note : New message received
AT+CMGD=3
Note : Delete it
AT+CMGD=52
Note : Delete it
AT+CMGD=1,0 OK
AT+CMGD=1,1 OK
AT+CMGD=1,2 OK
AT+CMGD=1,3 OK
OK
Note : Message deleted
+CMS ERROR: 321
Note : the index is wrong.
Note : The message from the preferred
message storage at the location 1 is
deleted
Note : All READ messages from the
preferred message storage are deleted
Note : All READ messages and SENT
mobile originated messages are deleted
Note : All READ, SENT and UNSENT
messages are deleted
Page: 81 / 246
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
AT+CMGD=1,4 OK
AT+CMGD
AT+CMGD?
AT+CMGD=?
Defined values
<index> (1-20) When the preferred message storage is “BM” Integer type values in the range of location
numbers of SIM Message memory when the preferred message storage is “SM” or “SR”.
<DelFlag>
0 Delete message at location <index>.
1 Delete All READ messages
2 Delete All READ and SENT messages
3 Delete All READ, SENT and UNSENT messages
4 Delete All messages.
Note :
when the preferred message storage is “SR”, as SMS status reports are assumed to have a “READ” status,
if <DelFlag> is greater than 0, all SMS status reports will be deleted.
FLYFOT-MG260-MODULE
Note : All messages are deleted
+CMS ERROR: 3
Note: not supported.
9.13 Service center address +CSCA
Description
This command is used to indicate to which service center the message must be sent.
The product has no default value for this address. If the application tries to send a message without having
indicated the service center address, an error will be generated.
Therefore, the application must indicate the SC address when initializing the SMS. This address is then
permanently valid. The application may change it if necessary.
Syntax:
Command syntax: AT+CSCA=<sca>
Command Possible responses
AT+CSCA=13800100500.
Note : Service center initialization
AT+CSCA?
Note : Read
AT+CSAS
AT+CSAS=?
OK
+CSCA: "+8613800100500",145
OK
+CMS ERROR: 3
Note: not supported.
Page: 82 / 246
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
Defined values :
<sca>
See above descriptions
9.14 Message status modification +WMSC
Description
This commands allow the manipulation of a message status. The accepted status changes are from READ
to NOT READ and vice versa, and from SENT to NOT SENT and vice versa.
NOTE:
At present, the product only support the status change from NOT READ to READ.
Syntax:
Command syntax : AT+WMSC= <loc>, <status>
Command Possible responses
AT+WMSC=25,1 OK
AT+WMSC=51,1 +CMS ERROR: 321
AT+WMSC=10,1 +CMS ERROR: 302
AT + WM S C
AT + WM S C ?
AT + WM S C = ?
FLYFOT-MG260-MODULE
Note: the status change from NOT READ to
READ.
Note: If <loc> is invalid or free
Note: If the new <status> and the previous one
are incompatible.
+CMS ERROR: 3
Note: not supported.
Note:
If all the parameters are correct, the product overwrites the whole SMS in SIM. Only the first byte (Status
byte) is changed.
Defined values:
<loc> location number of the stored message (integer) <status> new status to be stored, as for +CMGR command :
9.15 Message ov erwriting +WMGO
Description:
The WMGO command is used to specify a location in the SIM, for the next
Page: 83 / 246
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
SMS storing with +CMGW command. The defined location is used only once:
+WMGO has to be used again to perform another overwrite.
Important notes
z If the external application specifies a free location, and an incoming message is received before
the AT+CMGW command occurs, the product may store the incoming message at the specified
available location. If the user then issues an AT+CMGW command without changing the location
with another AT+WMGO, the received message will be overwritten.
z The location number is not kept over software reset.
Syntax:
Command syntax: AT+WMGO= <loc>
Command Possible responses
AT+WMGO=26
AT+WMGO=4 OK
AT+WMGO? +WMGO: 4
AT+CMGW=28<CR>
0031000BA13105119226F40000AD0AA8C3F630885E9ED301
<ctrl-Z>
AT+WMGO=?
AT+WMGO
:
FLYFOT-MG260-MODULE
+CMS ERROR: 321
Note: <loc> is out of the SIM capacity
range.
OK
+CMGW: 4
OK
Note : New Message stored in index 4
+WMGO: [<range of location>]
OK
+CMS ERROR: 3
Note: not supported.
Defined values :
<loc> location number of the SIM record to write or overwrite. Number depending of the SIM capacity.
9.16 Unchange SMS Statu s +WUSS
Description:
The +WUSS command allows keeping the SMS Status to UNREAD after +CMGR or +CMGL,
the default value of <mode> is 1.
Syntax :
Command syntax : AT+WUSS = <mode>
Page: 84 / 246
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
Command Possible responses
AT+WUSS=1 OK
+CMTI: "SM",10
AT+ C M GR=1 0
AT+ C M GR=1 0
AT+WUSS=0 OK
+CMTI: "SM",11
AT + CM G R =11
AT+ C M GR=11
FLYFOT-MG260-MODULE
Note : SMS has been received in index 10
+CMGR: 0,,20
0891683108100005F0240D91683185716393
F900005021605174142300
OK
+CMGR: 0,,20
0891683108100005F0240D91683185716393
F900005021605174142300
OK
Note : The state hasn’t be updated
Note : SMS has been received in index 11
+CMGR: 0,,20
0891683108100005F0240D91683185716393
F900005021605174142300
OK
+CMGR: 1,,20
0891683108100005F0240D91683185716393
F900005021605174142300
OK
Note : The state has been updated
Defined values :
<mode>
<mode> : 1 The SMS Status will not change.
<mode> : 0 The SMS Status will change.
9.17 Preferred Message Format +CMGF
Description
The message formats supported are text mode and PDU mode.
In PDU mode, a complete SMS Message including all header information is given as a binary string (in
Page: 85 / 246
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
hexadecimal format). Therefore, only the following set of characters is allowed:
{‘0’, ’1’,’2’, ’3’,’4’,’5’,’6’,’7’,’8’,’9’, ‘A’,‘B’,’C’,’D’,’E’,’F’}. Each pair or character is converted to a
byte (e.g.: ‘41’ is converted to the ASCII character ‘A’, whose ASCII code is 0x41 or 65).
In Text mode, all commands and responses are in ASCII characters.
Syntax
Command syntax : AT+CMGF=<mode>
Command Possible responses
FLYFOT-MG260-MODULE
AT+ C M GF ?
Note : Current message format
AT + CM G F = ?
Note : Possible message format
Example, sending an SMS Message in PDU mode
Command Possible responses
AT + CM G F = 0
Note : Set PDU mode
AT+CMGS=14<CR>
0001030691214365000004C9E9340B
Note : Send complete MSG in PDU mode,
no SC address
Defined values
<mode> PDU or text mode
0 PDU mode (default value)
1 Text mode
The <pdu> message is composed of the SC address (00 means no SC addressgiven, use default SC address
read with +CSCA command) and the TPDUmessage.
In this example, the length in bytes of the TPDU buffer is 14, coded as GSM03.40
In this case the TPDU is : 0x01 0x03 0x06 0x91 0x21 0x43 0x65 0x00 0x00 0x04 0xC9 0xE9 0x34 0x0B,
which means regarding GSM 03.40 :
<fo> 0x01 (SMS-SUBMIT, no validity period)
<mr> (TP-MR) 0x03 (Message Reference)
<da> (TP-DA) 0x06 0x91 0x21 0x43 0x65 (destination address +123456)
<pid> (TP-PID) 0x00 (Protocol Identifier)
<dcs> (TP-DCS) 0x00 (Data Coding Scheme : 7 bits alphabet)
<length> (TP-UDL) 0x04 (User Data Length, 4 characters of text)
TP-UD 0xC9 0xE9 0x34 0x0B (User Data : ISSY)
TPDU in hexadecimal format must be converted into two ASCII characters. For
+CMGF:1
OK
Note : Text mode
+CMGF: (0,1)
OK
Note : Text or PDU modes are available
OK
Note : PDU mode valid
+CMGS: 4
OK
Note : MSG correctly sent, <mr> is
returned
Page: 86 / 246
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
example, the byte 0x2A is presented to the ME as two characters ‘2’ (ASCII 50)and ‘A’ (ASCII 65).
9.18 Set Text Mode Parameter s +CSMP
Description
This command is used to select a value for <vp>, <pid>, and <dcs>.
Syntax ;
Command syntax : AT+CSMP=<fo>, <vp>, <pid>,<dcs>
Command Possible responses
FLYFOT-MG260-MODULE
AT + CS M P ?
Note : current values
AT+CSMP=17,23,0,0
Note :<vp> = 23 (2 hours, relative format)
Remind to enter <fo> value in decimal
notation.
Defined values
The <fo> byte comprises 6 different fields :
B7 B6 B5 B4 B3 B2 B1 B0
RP UDH
I
Note: <fo> must be entered in DECIMAL format. Hexadecimal format would
lead to unrelevant result.
RP : Reply Path, not used in text mode.
UDHI : User Data Header Information, b6=1 if the beginning of the User
Data field contains a Header in addition to the short message. This
option is not supported in +CSMP command, but can be used in
PDU mode (+CMGS).
SRR : Status Report Request, b5=1 if a status report is requested. This
mode is supported.
VPF : Validity Period Format
b4=0 & b3=0 -> <vp> field is not present
b4=1 & b3=0 -> <vp> field is present in relative format
Others formats (absolute & enhanced) are not supported.
SRR VPF RD MTI
+CSMP: 0,0,0,0
OK
Note : No validity period
<dcs>= PCCP437 alphabet (8 bits " 7bits)
OK
Note : Command correct
Page: 87 / 246
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
RD : Reject Duplicates, b2=1 to instruct the SC to reject an SMS-SUBMIT
for an SM still held in the SC which has the same <mr> and the
same <da> as the previously submitted SM from the same <oa>.
MTI : Message Type Indicator
b1=0 & b0=0 -> SMS-DELIVER (in the direction SC to MS)
b1=0 & b0=1 -> SMS-SUBMIT (in the direction MS to SC)
In text mode <vp> is only coded in “ relative” format. The default value is 167
(24 hours). This means that one byte can describe different values :
VP value Validity period value
0 to 143 (VP + 1) x 5 minutes (up to 12 hours)
144 to 167 12 hours + ( (VP -143) x 30 minutes )
168 to 196 (VP - 166) x 1 day
197 to 255 (VP-192) x 1 week
<pid> is used to indicate the higher layer protocol being used or indicates
interworking with a certain type of telematic device. For example, 0x22 is for
group 3 telefax, 0x24 is for voice telephone, 0x25 is for ERMES (European
Radio Messaging System).
<dcs> is used to determine the way the information is encoded. Compressed
text is not supported. Only GSM default alphabet, 8 bit data and UCS2
alphabet are supported.
FLYFOT-MG260-MODULE
9.19 Select TE character set +CSCS
Description
This command informs the ME which character set is used by the TE. The ME can convert each character
of entered or displayed strings. This is used to send, read or write short messages. See also +WPCS for the
phonebooks character sets.
Syntax
Command syntax : AT+CSCS=<Character Set>
Command Possible responses
AT+CSCS=“GSM”
Note : GSM default alphabet
AT+CSCS=?
Note : Get possible values
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
OK
Note : Command valid
+CSCS: (“GSM”,”UCS2”,”HEX”)
OK
Note : Possible values
Page: 88 / 246
Defined values
<Character Set>
“GSM” GSM default alphabet.
“HEX” Hexadecimal mode. No character set used ; the user can read or write hexadecimal values.
9.20 Select Cell Broadcast Message Types +CSCB
Description
This command selects which types of CBMs are to be received by the ME. It is allowed in both PDU and
text modes.
Syntax
Command syntax : AT+CSCB= <mode>, [ <mids>, [ <dcss> ] ]
Important note : Test read command (AT+CSCB ?) is not supported.
Command Possible responses
FLYFOT-MG260-MODULE
AT+CSCB=0,.15-17,50,86.,..
Note : Accept SMS-CB types, 15,16,17,50
and 86 in any language
+CBM : 10<CR><LF>
AT+CSCB=1
Note : Deactivate the reception of CBMs
Defined values
The <bm> parameter of +CNMI command controls the message indication. The activation of CBM
reception (<mode>=0) can select only specific Message Identifiers (list in <mids>) for specific Languages
(list in <dcss>), but the deactivation stops any reception of CBMs (only AT+CSCB=1 is allowed) Message
Identifiers (<mids> parameter) indicates to which type of message identifiers the ME should listen.
<dcss> : Supported languages
0 German
1 English
2 Italian
3 French
4 Spanish
5 Dutch
6 Swedish
7 Danish
8 Portuguese
9 Finnish
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
OK
Note : CBMs can be received
00112233445566778899
Note : CBM length of a received Cell
Broadcast message (SMS-CB), CBM bytes in
PDU mode)
OK
Note : CBM reception is completely stopped
Page: 89 / 246
10 Norwegian
11 Greek
12 Turkish
13 Hungarian
14 Polish
32 Czech.
FLYFOT-MG260-MODULE
Page: 90 / 246
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
9.21 Cell Broadcast Message Identifiers +WCBM
Defined values :
This specific command is used to read the EF-CBMI SIM file.
Remark: The EF-CBMI file is not used with the +CSCB command. The application should read this file
(using AT+WCBM ?) and combine the Message Identifiers with those required by the application.
Syntax
Command syntax : AT+WCBM= <mids>
Command Possible responses
FLYFOT-MG260-MODULE
AT+WCBM=.10,100,1000,10000.
Note : Write 4 messages identifiers in EFCBMI
AT+WCBM?
Note : Read the CBMIs in EF-CBMI
AT+WCBM=? OK
Defined values :
<mids>:See above descriptions
9.22 Capacity of SIM card been adjusted +TSMC
At present MG260 do not support this command.
Indicator Receiving message
“+TSMC:<num>”
Note: inform PDA that the capacity of SIM card been
adjusted.
Defined values :
OK
Note : CBMIs are stored in EF-CBMI
+WCBM=.10,100,1000,100000.
OK
Note : 4 CBMIs are stored in EF-CBMI
APPI_SMS_STATUS_MSG_LIST_IND
<num>: the new capacity of SIM card.
Page: 91 / 246
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
FLYFOT-MG260-MODULE
10 Supplementary Services commands
10.1 Call forwarding +CCFC
Description:
This commands allows control of the "call forwarding" supplementary service.
Syntax:
Command syntax:
AT+CCFC= <reason>, <mode> [, <number> [, <type> [, <class> [,<subaddr> [,<satype> [,<time> ] ] ] ] ] ]
Response syntax
+CCFC: <status>, <class1> [, <number>, <type> [,<subaddr>,
<satype> [,<time> ] ] ] [ <CR><LF>+CCFC: <status>, <class2> [, <number>, <type> [,<subaddr>, <satype> [,<time> ] ] ] [ ] ]
Command Possible responses
:
AT+CCFC = 0,3,"13051204317"
Note: Register to unconditional call forwarding
AT+CCFC =0,2
Note: Interrogate unconditional call forwarding
AT+CCFC =0,4
Note: Erase unconditional call forwarding
AT+CCFC =2,3,"+861064345558", , , , , 5
Note: Register no reply call forwarding after 5s
+CCFC responses are not sorted by <class> parameter, but only by the order of network response.
Defined values
<reason>
0 Unconditional
1 Mobile busy
2 No reply
3 Not reachable
4 All call forwarding
5 All conditional call forwarding
OK
Note: Command valid
+CCFC: 1,1,"+861062965555",129
OK
OK
OK
<mode> 0 Disable
1 Enable
2 Interrogate
Page: 92 / 246
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
3 Registration
4 Erasure
<type> : TON/NPI (Type of address byte in integer format) (default 145 when dialing string includes
international access code character "+", otherwise 129)
<class>
1 Voice
2 Data
4 Fax
8 Short Messages
7 All classes
Note: The combination of different classes is not supported, it will only result in
the activation / deactivation / status request of all classes.
If the FDN phonebook is activated, the registration is restricted to the phone
numbers written in it.
if <Class> parameter is not given in the command, 7 is used as default value.
<subaddr> not managed <satype> not managed <time> For <reason> = 2 (No reply), 4 (all calls forwarding) and 5 (all conditional call forwarding), time
to wait (1 to 30) in seconds before call is forwarded. Default value is 20.
< status >
0 : not active
1 : active
2 : quiescent
FLYFOT-MG260-MODULE
10.2 Call bar ring +CLCK
Description:
This command allows control of the call barring supplementary service.
Locking, unlocking or querying the status of call barring is possible for all classes or for a
specific class, but not a combination of some.
Syntax:
Command Syntax : AT+CLCK= <fac>, <mode> [, <password> [, <class> ] ]
Response Syntax +CLCK: <status> [, <class1> [ <CR><LF>+CLCK: <status>, <class2> [ ] ]
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
: (for <mode>=2 and command successful)
Page: 93 / 246
Command Possible responses
FLYFOT-MG260-MODULE
AT+CLCK =SC, 1, 1234
Note: set SIM lock
AT+CLCK =SC, 0, 1234
Note: set SIM unlock
AT+CLCK =”AO”,2
Note: query the status
AT+CLCK ? +CLCK:
AT+CLCK =? +CLCK: (“PS” "SC", "FD”, "PN", "PU",
Defined values :
<fac>
“AO”, “OI”, “OX” “AI”, “IR” “AG”, “AC”,”AB”
<mode>
0: Unlocks the facility
1: Locks the facility
2: Query status
<class> : see description for +CLCK command (Facility lock) or +CCFC (Call forwarding).
Note: A combination of different classes is not supported. It will only result in the activation / deactivation
/ status request for all classes . The password code is over 4 digits maximum.
< status >
0 : not active
1 : active
Barring for outgoing calls
Barring for incoming calls
For all calls barring (<mode>=0 only)
OK
Note: Command succeed
OK
Note: Command succeed
+CLCK: 0,7
Note: not active
(“PS”,0),( "SC",0),( "FD”,0),("PN",0),("PU",0
), ("PP",0), ("PC",0)
Note: all unlocks the facility
"PP", "PC", "AO", "OI", "OX", "AI", "IR",
"AB", "AG", "AC")
Note: all calls barring
10.3 Modify SS password +CPWD
Description :
This command is used by the application to change the supplementary service password.
Page: 94 / 246
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
Syntax :
Command Syntax: AT+CPWD=<fac>,<OldPassword>, <NewPassword>
Command Possible responses
FLYFOT-MG260-MODULE
AT+CPWD = SC,"1234","4321"
Note: to perform this the pin lock must be active.
AT+CLCK=”SC”, 1, ”1234”
AT+CPWD = "SC","1234","4321"
AT+CPWD = "P2","12345678","87654321" +CME ERROR: 3
Defined values :
<fac>
see +CLCK command with only “P2” facility added (SIM PIN2).
Note : Whatever the facility specified, the change of password applies to all calls barring.
<OldPassword>, <NewPassword>
The password code is over up to 8 digits for P2 facility (4 to 8 digits).
The password code is over up to 4 digits for the other facilities (1 to 4 digits).
10.4 Call waiting +CCWA
Description:
+CME ERROR: 3
Note: operation not allowed
OK
This command allows control of the call waiting supplementary service. Activation, deactivation and status
query are supported. Parameter <n> is used to disable/enable the presentation of an unsolicited result code
+CCWA: <number>, <type>, <class>[, <alpha>] to the TE when call waiting service is enabled. Command
should be aborted when network is interrogated.
.
Syntax:
Command Syntax : AT+CCWA=<n>, [ <mode> [, <class> ] ]
Response Syntax +CCWA: <status> [, <class1> [ <CR><LF>+CCWA: <status>, <class2> [ ] ]
Unsolicited result:
Command Possible responses
AT+CCWA =1,2
Note: Query enable status
AT+CCWA =1
Note: enable
: (for <mode>=2 and command successful)
+CCWA: <number>, <type>, <class> [, <alpha>] (when waiting service is enabled)
+CCWA: 1,1
OK
Note: voice call waiting is active
OK
the presentation of an unsolicited
Page: 95 / 246
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
result code
AT+CCWA =0
Note: disable
result code
AT+CCWA =1,1,1
Note: Enable voice call waiting
AT+CCWA =1,0,1
Note: Disable voice call waiting
Defined values :
<n> : result code presentation status in the follows
0: Disable
1: Enable
<mode>
0: Disable
1: Enable
2: Query status
<class>
1: Voice
2: Data
3: Fax
7: All classes (voice, data and fax)
A combination of different classes is not supported. It will only result in the activation / deactivation /
status request for all classes.
<status>
0: not active
1: active
<alpha> : optional string type alphanumeric representation of <number> corresponding to the entry found
in the ADN or FDN phonebook.
the presentation of an unsolicited
FLYFOT-MG260-MODULE
OK
OK
OK
10.5 Calling line identification restriction +CLIR
Description:
This command allows control of the calling line identification restriction supplementary
service.
Page: 96 / 246
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
Syntax:
Command syntax : AT+CLIR=<n>
Response syntax : +CLIR :<n>,<m> (for AT+CLIR ?)
Command Possible responses
AT+CLIR=1 OK
AT + CL I R ?
AT+CLIR =2 OK
AT+CLIR =0 OK
Defined values:
<n>: sets the line ID restriction for outgoing calls
0: Presentation indicator is used according to the subscription of the CLIR service
1: CLIR invocation
2: CLIR suppression
<m>: shows the subscriber CLIR status in the network
0: CLIR not provisioned
1: CLIR provisioned in permanent mode 2: Unknown (no network)
3: CLIR temporary mode presentation restricted
4: CLIR temporary mode presentation allowed
FLYFOT-MG260-MODULE
+CLIR: 1,0
OK
10.6 Calling line identification presentation +CLIP
Description:
This command allows control of the Calling Line Identifier presentation supplementary service. When
presentation of the CLI (Calling Line Identifier) is enabled (and calling subscriber allows), +CLIP
response is returned after every RING result code.
Syntax :
Command syntax: AT+CLIP=<n>
Response syntax:
+CLIP: <n>,<m> (as response to AT+CLIP?)
+CLIP: <number>, <type>[ ,<subaddr>, <satype>, <alpha> ] (for an incoming call, after each
RING indication)
Command Possible responses
AT + CL I P = 0
Note: deactivate CLIP
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
OK
Page: 97 / 246
AT + CL I P ?
Note: ask for current value CLIP
AT+CLIP =1
Note: activate CLIP
RING
Defined values:
<n>: parameter sets/shows the result code presentation in the follows
0: Disable
1: Enable
<m>: parameter shows the subscriber CLIP service status in the network
0: CLIP not provisioned
1: CLIP provisioned
2: Unknown (no network…)
FLYFOT-MG260-MODULE
“+CLIP: 0,1
OK
OK
+CLIP: “01062965555”, 129
Note: if the CLIP function is active, for an
incoming call, after each RING indication the
CLIP indication will be come.
10.7 Connected line identification presentation +COLP
Description:
This command allows control of the connected line identification presentation supplementary service -
useful for call forwarding of the connected line.
Syntax :
Command syntax: AT+COLP=<n>
Response syntax
+COLP: <n>, <m> (as response to AT+COLP?)
+COLP: <number>,<type> [ ,<subaddr>, <satype>, <alpha> ]
after ATD command, before OK or CONNECT <speed>
Command Possible responses
AT + CO L P = 0
Note: deactivate COLP
AT+ C O LP?
Note: ask for current value COLP
AT+ C O LP = 1
Note: activate COLP
ATD1860; +COLP: “1860”, 129
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
:
OK
+COLP: 0,2
OK
OK
Page: 98 / 246
OK
Defined values
<n>: parameter sets/shows the result code presentation status in the follows
0: Disable
1: Enable
<m>: parameter shows the subscriber COLP service status in the network
0: COLP not provisioned
1: COLP provisioned
2: Unknown (no network)
10.8 Call related supplementar y ser vices +CHLD
Description:
FLYFOT-MG260-MODULE
Note: if the COLP function is active, for an
outgoing call, the COLP indication will be
come before OK come back.
This command is used to manage call hold and multiparty conversation (conference call). Calls can
be put on hold, recovered, released or added to a conversation.
Syntax:
Command Possible responses
AT+CHLD=?
AT+CHLD=1
Note: When a call is active, an other call is
coming
ATD1860;
AT+CHLD=2
Note: hold current active call
ATD1861;
AT+CHLD=2
Note: switch active and hold call
Defined values
+CHLD: (0-4,11-17,21-27)
OK
Note: Release active call (if exist) and accepts
the other (held or waiting) call
OK
OK
OK
OK
<n>
0: Release all held calls or set User Determined User Busy (UDUB) for a waiting call.
1: Release all active calls (if any exist) and accepts the other (held or waiting) call.
1X: Release a specific call X (active, held or waiting)
Page: 99 / 246
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
2: Place all active calls (if any exist) on hold and accepts the other (held or waiting) call.
2X: Place all active calls on hold except call X with which communication is supported.
3: Adds a held call to the conversation.
4: Connects the two calls and disconnects the subscriber from both calls (Explicit Call Transfer).
10.9 List current calls +CLCC
Description:
This command is used to return a list of current calls.
Syntax:
Command syntax: AT+CLCC
Response syntax
+CLCC : <id1>, <dir>, <stat>, <mode>, <mpty> [,<number>, <type>
[<alpha>]] [<CR><LF>
+CLCC: <id2>, <dir>, <stat>, <mode>, <mpty> [ ,<number>, <type>
[<alpha>]][...]]] <CR><LF>
: OK (if no calls are available)
FLYFOT-MG260-MODULE
Command Possible responses
When a call incoming
run: AT+CLCC?
ATD1860;
AT+CHLD=2
ATD 1861;
AT + CL C C ?
Defined values :
<idx> integer type, call identification as described in GSM 02.30
<dir> (direction of the call)
0: mobile originated (MO) call
1: mobile terminated (MT) call
<stat> (state of the call):
0: active
1: held
2: dialling (MO call)
3: alerting (MO call)
“+CLCC: 1,1,4,0,0,"01062965555",129”
OK
OK
OK
+CLCC: 1,0,1,0,0,"1860",129
+CLCC: 2,0,0,0,0,"1861",129
Note: list current calls. One is active, one is
held. They both are MO call.
Page: 100 / 246
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without prior written agreement.
Loading...