Home

G620 GPRS Module AT Command User Manual (ADD)

image

Contents

1. OK Test 96TXSTATE 96TXSTATE list of link num Query the parameter list OK supported by command Detail parameter instruction Parameter Description link num gt 143 corresponding to three operational links send sum Sending packet amount of TCP link ack sum End port approved packet amount of TCP link Example AT TXSTATE 96TXSTATE 1 11 2 0 0 3 0 0 G620 GPRS Module AT Command User Manual ADD Page 42 of 142 Bs FIBOCOM OK AT TXSTATE TXSTATE 1 3 OK AT TXSTATE 1 OK AT TXSTATE 96TXSTATE 1 0 0 2 0 0 3 0 0 OK 2 4 9 IPDQ Query the received information of buffer Command Syntax Response Action Remarks Set IPDQ IPDQ lt unread_sum gt lt packet Query the received sum gt information of buffer OK or ERROR Detail parameter instruction lt Parameter gt Description lt unread_sum gt unread packet amount lt packet sum gt Buffer packet amount including read and unread 2 4 10 IPDR Read the data in buffer Command Syntax Response Action Remarks Set IPDR 96 PDR link num data inde Read the N th packet of buffer lt index gt x gt lt data_len gt lt data gt OK or data Leave index empty means N 1 In auto delete mode it will delete G620 GPRS Module AT Command User Manual ADD Page 43 of 142 Bs FIBOCOM
2. M M 47 24 16 E M ES 48 2 4 17 Unsolicited Result Code 96IPDATA sssssssscsssscsssccsseecsseccssecsssecssseesssecsusecsuseesscessuecesseessneesasecssseesneesuessneeess 49 2 4 18 Unsolicited Result Code 96IPCLOSE 0 sssesssssscsseecssescsseecsseccsseecsseccsseesssecssseesuseesueecsueessueeesueessneeesneessseesseeess 50 2 4 19 Working Examples in Multiple Links Mode uuu sessssescsseecsseecsseccsseccsseccsseessseesuscesseeesueeesneessneecssecesseessseess 50 a M AENEA euenit CL DM eMe 52 2 5 1 aevum 52 2 5 2 Manage FTP Connection essescssscsscsscsscssscsssessscssecssscssecssecssscsssessecssecssscsnsessecsuscssecssecsucesseesneesseessecsseesseeste 52 2 5 3 Manage Remote File SySterm ssssssssssecsssscsssecsseecsssccsseecsseecsseecsseccsseesssecssseesssccssseesusecsuseesueesuecessesesneeeaseessnees 53 2 5 4 File Transfer Operations ssescsssssccsssscccsseccssssecsssecessseccsssescssuesessssecessuecessuseessuseeesssccessueeessnseessnsecessneeeesneeeesnseees 53 2 5 5 Other FTP Operations ssessssesccsssscsecccsscsssecsssscessscessscensssensscensesenesessscessecssnscesseesssscesseessseceasessneseenssseneeseneeees 54 2 5 6 Interaction with MIPODM Command ssssscsssscssescseecseecseccsseecssecsssecsssecsseeesseecsueeesseecsuesesseecsueecaseessnees 54 2 5 7 Interaction with MIPOPEN and MIPCLOSE COMmMands eessssscs
3. P F Poll Final bit The poll final P F bit shall serve a function in both command frames and response frames In command frames the P F bit is referred to as the P bit In response frames it is referred to as the F bit The poll P bit set to 1 shall be used by a station to solicit poll a response or sequence of responses from the other station The final F bit set to 1 shall be used by a station to indicate the response frame transmitted as the result of a soliciting poll command Before a station issues another frame with the P bit set to 1 it shall have received a response frame from the other station with the F bit set to 1 If no valid response frame is obtained within a system defined time out period the retransmission of a command with the P bit set to 1 for error recovery purposes shall be permitted SABM Set Asynchronous Balanced Mode The SABM command shall be used to place the addressed station in the Asynchronous Balanced Mode ABM where all control fields shall be one octet in length The station shall confirm acceptance of the SABM command by transmission of a UA response at the first opportunity Upon acceptance of this command the DLC send and receive state variables shall be set to zero G620 GPRS Module AT Command User Manual ADD Page 109 of 142 Bs FIBOCOM If the responding station is not ready or unwilling to establish the particular DLC it will reply with a DM frame with the
4. ERROR read data from buffer Detail parameter instruction lt Parameter gt Description lt index gt Buffer packet SN 0 50 Both 0 and 1 indicate packet 1 Leave index empty means packet 1 link num gt Link number of receiving data 1 3 data index Buffer packet number corresponding to index data len Data length data data 2 4 11 IPDD Delete the data in buffer Command Syntax Response Action Remarks Set IPDD lt index gt 96IPDD del num Delete the data in buffer lt type gt OK or ERROR It will delete the current read packet 1 data if all parameters are default Detail parameter instruction 0 delete read 1 delete unread lt Parameter gt Description lt index gt Buffer packet SN 0 50 0 has specific meaning lt type gt Only effective when index 0 2 delete all lt del_num gt Delete data packet number 2 4 12 IPDDMODE G620 GPRS Module AT Command User Manual ADD Page 44 of 142 Bs FIBOCOM Setting command for data delete mode Command Syntax Response Action Remarks Set IPDDMODE lt mo_ IPDDMODE lt mode gt Set the delete mode for buffer de gt OK packet This command cannot be used when a link is or activated ERROR Read IPDDMODE IPDDMODE lt mode gt Query the current delete mode OK of buffer packet Test IPDDMODE IPDDMODE list of lt mode gt Query the p
5. 102 G620 GPRS Module AT Command User Manual ADD Page 6 of 142 Bs FIBOCOM 4 2 EXAMP E Sease e 103 MEE UD ee E AA E A AR R E ERARA ER EER EAE 108 5 1 EVE GCA CL CN CI aca EE 108 5 2 Frame SUCU ze e RD REA 108 5 2 1 Frame Structure of Basic MOde csssssccsssscccsssscssnescessseccssnecessusecssnseessnseesssseecssusccesuseeesnsecessuecessueessuseessuees 108 5 2 2 dL 108 5 23 Locas 108 5 24 oue Md e 109 5 2 5 Kerle m R se 110 5 2 6 Information Fieldsin ainina iE eis ii tii a K NR e 110 5 2 7 Frame Checking Sequence Field FCS sssesssssscssescsssscsssecsseccsssecssecssseessseesssecsusecsueeesucecsneecsseessseeseesesies 110 5 3 Sampler c 111 5 3 1 SLANE UPD SEIVI COS pe M 111 5 3 2 Establishment Services ssessssescsssssnsscsssscessscensscensssensecneccsseecssscesssesssscensecsnescenseesneseesecesseesssscssseessesesneeesaes 112 5 3 3 brichig ee T 113 5 3 4 DLC Release Services sssscssssccsssccssssnsecssssesnssesnsscenssssnesessssscsecsssscssseesssscensecenesesnsessneessnscessecessseesseessesesneesaes 114 5 4 adisgegPo d LEEREN 115 6 Additional COMMANA PX 116 6 1 1 EVITA
6. 116 6 1 2 PPP Co nifelU egit M 117 EE gp p c 118 7 1 New TCP IP Stack Error Code e tete reete e See ute EHE RSEN IR RE E ERREUR 118 7 2 adipe D 119 73 MMS Error Code ete ettet pae ede e m e E i ei epe eR eed e ee Reb Pese 119 8 AT Command Instruction of Cell Lock etre ritenere toic eeb ete benat abre tebde deett eleven cest 121 8 1 RENEE a e 121 8 2 dp TA 123 8 3 epo 125 8 4 AGT CALIS NE 126 9 Al Commandiinstr ction of UBS srscisccssscssssccscsansccossssectavscactvestonascectesseccabcietavatcsaucecaunsscectveceteudvest esbasassectastecabcvetaussctaseecaanaees 127 9 1 GTGIS Search GIS Information in GPRS Network ssssscsssssccsssscccsssecssssscesssececsuecessueecesnseecsssecessneeessnseeessees 127 9 2 GTSET Super Mode Configuration ssssscsssssccsssssecssesccsnsscsssseccssseecssueccssnsecesssecessueecssneessuseesssseeessneeeesneeeessees 128 G620 GPRS Module AT Command User Manual ADD Page 7 of 142 Bs FIBOCOM 9 3 Query Command without Longitude amp Latitude Data e teeeeennteennttnnnttnnn 129 9 4 Query Command with Longitude amp Latitude Data eecsessssescsseecsseecsseessecsseecsueec
7. Command Syntax Response Action Remarks Set FTPGET lt filenam OK OK The command FTPRECV can e gt lt viewmode gt ate be used to get data from buffer ERROR ERROR Get file error Read FTPGET 4FTPGET Read the command mode state G620 GPRS Module AT Command User Manual ADD Page 70 of 142 Bs FIBOCOM lt filename gt lt viewmode gt lt eof gt OK Test FTPGET OK Return OK only The following table shows the FTPGET parameters lt Parameter gt Description lt filename gt The name of the file to be downloaded lt viewmode gt Download mode binary mode text mode lt eof gt 0 File Downloading 1 All file data have been downloaded Note When execute FTPGET command the cache data will be cleared Make sure all cached data have been read out before next FTPGET command Example nm on AT FTPOPEN xxx xx net username password OK AT FTPGET filename 0 Ofor binary mode OK Datahas been received G600 returns OK the user can use the FTPRECV command to output data AT FTPGET filename O ERROR Connect the data fails the return ERROR exit the command mode AT FTPGET FTPGET filename 0 1 File download has ended the data stored in the cache OK G620 GPRS Module AT Command User Manual ADD Page 71 of 142 Bs FIBOCOM AT FTPGET OK 2 6 19 FTPRECV Read
8. Port number Example AT MMSSERVER cmwap http mmsc monternet com 10 0 0 172 9201 G620 GPRS Module AT Command User Manual ADD Page 13 of 142 Bs FIBOCOM OK AT MMSSERVER MMSSERVER cmwap http mmsc monternet com 10 0 0 172 9201 OK AT MMSSERVER MMSSERVER apn MMS server ip address gateway address 1 65535 OK 2 2 2 MMSSUB Import the MMS Title into Module by Series This command is used to import the MMS title into module by series for sending MMS There are two interactions between user and module via series First one is for sending coding format and size The other is for title Command Syntax Response Action Remarks Set MMSSUB lt ENCO OK Module receives the command of DE gt lt LENGTH gt e AT MMSSUB lt ENCODE gt lt LENGTH gt and return OK via series It will not ERROR accept other AT command until receiving data from series The data from series will be treated as title content When the received data equals to preset size it will quit receiving mode and return OK to series If it cannot receive any data within a minute it will quit receiving mode directly and return ERROR to series Read MMSSUB MMSSUB Read the coding format and size of lt ENCODE gt lt LENGTH gt current module It returns OK if no OK content Test MMSSUB MMSSUB list of Test the setting format of this command supported lt range o
9. lt sender gt lt time gt lt size gt CR 1 lt name gt lt type gt lt len gth gt CR 2 lt name gt lt type gt lt len gth gt OK or CME ERROR lt err gt Command Syntax Response Action Remarks Set AT MMSRECV MMSRECV After module receives the command of lt index gt AT MMSRECV lt inde it will resolve the corresponding PUSH message by MMS index to get and display the storage address and size of MMS Then it connects server to download MMS If the downloading of MMS takes much time it will show MMS RATE xx After downloading it will resolve the MMS content and display the information G620 GPRS Module AT Command User Manual ADD Page 23 of 142 Bs FIBOCOM Below shows MMSRECV command parameter lt Parameter gt Description lt index gt MMS index corresponding position of PUSH message stored in SIM card lt sender gt MMS Sending address lt time gt MMS sending time lt size gt MMS data packet size lt name gt Data name type Data type refer to appendix 1 lt length gt Data length Remark It shows MMS downloading progress if it takes much time Format MMS RATE xx Example AT MMSRECV 11 Download MMS from server MMSRECV 138181818187 10 12 20 18 33 59 32 49200 MMS RATE 30 MMS RATE 60 MMS RATE 90 1 pic001 jpg 4 42177 2 hello txt 1 2000 3 pres smil 0 300 OK AT MMSRECV
10. Command Type Syntax Set AT FSA lt destination SubAddress string The following table shows FSA parameters Parameter Description destination SubAddress string destination SubAddress string 20 digit string allowed values 0 9 space 3 1 40 FSP Request to Poll This command indicates whether or not the DTE wants to poll The command has no effect Command Type Syntax Set AT FSP lt value gt The following table shows FSP parameters lt Parameter gt Description lt value gt lt value gt 0 G620 GPRS Module AT Command User Manual ADD Page 88 of 142 Bs FIBOCOM 4 STK Related Functionalities This chapter mainly introduces the commands used for STK related functionalities development by G600 module STK is short for SIM Application Toolkit SIM manufacturer usually is mobile network operator implements the customized functions in SIM card according to user s request Those functions are value added services like custom news weather forecast and stock market information The basic functions like SMS phone call are also included This document provides the command interacted with SIM card It will show users the functionalities menu of SIM card how to select the menu and input the content SIM card will interact with mobile station MS in two types Proactive Command start from SIM card and Event Download start from MS
11. lt head gt lt body gt lt par gt lt text src hello txt region Text gt img src pic168 jpg region Image gt lt audio src aud169 mid gt lt par gt lt body gt lt smil gt OK AT MMSREAD 2 l MMSREAD 123 jpgl 4 21791 pes Binary image data AT MMSREAD 9 Display OK if there is no corresponding data OK 2 2 12 Corresponding Value of MMS Data Type 128 unknown 0 smil 1 text G620 GPRS Module AT Command User Manual ADD Page 27 of 142 Bs FIBOCOM 1 text plain 2 text wml 3 image gif 4 image jpg 5 image bmp 6 image wbmp 7 image png 8 audio 9 audio mid 10 audio amr 11 audio wave 2 3 Procedure of MMS Command 2 3 1 MMS Sending Command Classified by AT command MMS has totally 6 commands including MMS settings data importing and MMS sending Please refer to above section for command details 2 3 2 Set MMS Accessing Point Server and Gateway AT MMSSERVER lt apn gt lt server ip address gt lt gateway gt port e g 1 AT MMSSERVER cmwap http mmsc monternet com 10 0 0 17279201 CMCC e g 2 AT MMSSERVER uniwap http mmsc myuni com cn 10 0 0 1729201 Unicom Description This setting will not be saved without power It will fail to send MMS if the parameter setting is wrong 2 3 3 Edit MMS Subject optional AT MMSSUB ENCODE LENGTH e g AT MMSSUB 0 50 OK transferring data OK Description Coding typ
12. AT FNR lt rpr gt lt tpr gt lt idr gt lt nsr gt The following table shows FNR parameters lt Parameter gt Description lt vpr gt lt rpr gt receiver parameters reporting 0 1 no yes lt tpr gt lt tpr gt transmitter parameters reporting 0 1 lt idr gt lt idr gt ID strings reporting 0 1 no yes lt nsr gt lt nsr gt non standard frames reporting 0 1 no yes 3 1 30 FNS Non standard Frame FIF Octet String This command allows sending the corresponding non standard facilities frame Command Type Syntax Set AT FNS lt sring of hexadecimal coded octets gt Note Valid is only the null string 3 1 31 FND NSF Message Data Indication Command Type Syntax Set AT FND lt value gt The following table shows FND parameters lt Parameter gt Description lt value gt lt value gt may be in range 0 1 G620 GPRS Module AT Command User Manual ADD Page 85 of 142 Bs FIBOCOM 3 1 32 FPA Selective Polling Address This command sets the selective polling address The DCE sends the numeric string contained in the FPA at the times specified in T 30 if the corresponding parameter is not zero string Command Type Syntax Set AT FPA lt selective polling address string gt The following table shows FPA parameters lt Parameter gt Description lt se
13. Page 83 of 142 Bs FIBOCOM 3 1 25 FMI Request Manufacturer Identification This command gives the manufacturer identification Command Type Syntax Response Execute AT FMI lt manufacturer gt Note OK Get manufacturer or identification CME ERROR lt error gt Test AT FMI OK 3 1 26 FMM Request Model Identification This command gives the model identification Command Type Syntax Response Execute AT FMM lt model gt Note OK Get model identification or CME ERROR lt error gt Test AT FMM OK 3 1 27 FMR Request Revision Identification This command gives the revised version of the mobile station Command Type Syntax Response Execute AT FMR lt revision gt Note OK get revision version or CME ERROR lt error gt Test AT FMR OK 3 1 28 FMS Minimum Phase C Speed This command limits the lowest negotiable speed for a session Command Type Syntax Set AT FMS lt value gt G620 GPRS Module AT Command User Manual ADD Page 84 of 142 Bs FIBOCOM The following table shows FMS parameters Parameter Description value value may be in range 0 3 2400 bps to 9600 bps 3 1 29 FNR Negotiation Reporting This command controls the reporting of messages generated during T 30 phase B negotiations Command Type Syntax Set
14. 0 ME may echo user input on the display 1 user input shall not be revealed in any way see note bit 4 0 user input to be in unpacked format 1 user input to be in SMS packed format bits 5 to 7 RFU bit 8 0 no help information available 1 help information available dcs G620 GPRS Module AT Command User Manual ADD Page 94 of 142 Bs FIBOCOM data coding scheme of lt hex_string gt lt hex_string gt Contains the text to be displayed lt max rsp len gt Maximum response length lt min rsp len gt Minimum response length lt default text gt Default response text which the user can use for his input lt icon_id gt Optional icon id see GSM11 14 6 5 4 Response format STKTR 35 result add result 0 dcs hex string result See G600 AT Command Set User Manual STK ENG V1 0 0 do 1 1 2 add result Not used dcs data coding scheme of hex string hex string Hex string of input 3 SELECT ITEM STKPRO 36 type alpha item id total items item text next action default item icon id icon id list element type bit 1 7 not used bit 8 0 no help information available 1 help information available lt alpha gt The alpha identifier included by the SIM shall be used by the ME as the title for the list of items lt item_id gt item identifier G620 GPRS Module AT Command User Manual
15. 1 The fifth example illustrates using FTPSTAT command for receiving the status of all files in the actual working directory AT FTPSTAT OK FTPSTAT 2 rw rw r 1 1001 129886 Mar 23 06 20 somefile1 name FTPSTAT 2 rw rw r 1 1001 4968 Jan 807 57 somefile2 name FTPSTAT 2 rw rw r 1 1001 23948 Jan 8 07 32 somefile3 name FTPSTAT 2 rw rw r 1 1001 0 Feb 7 01 56 somefile4 name FTPSTAT 2 rw rw r 1 1001 204673 Jan 10 02 28 somefile5 name FTPSTAT 2 rw rw r 1 1001 9348 Jul 19 2006 somefile6 name FTPSTAT 2 rw rw r 1 1001 653793 May 2 03 33 somefile7 name FTPSTAT 2 rw rw r 1 1001 645120 Mar 25 04 27 somefile8 name FTPSTAT 2 rw rw r 1 1001 0 Mar 26 2006 somefile9 name FTPSTAT 1 2 6 13 FTPSYST Request Remote FTP Server Operating System Type This command causes the G600 to request the remote FTP server to send the operating system type Command Syntax Response Action Remarks Set FTPSYST OK FTPSYST The command execution result return to lt result gt lt system gt or the user as an unsolicited response ERROR lt error_code gt 3 A 0 operation fails 1 operation success 2 text message follows system parameter follows only when lt result gt 2 Read FTPSYST ERROR Not supported Test FTPSYST ERROR Not supported Example G620 GPRS Module AT Command User Manual ADD Page 66 of 142 Bs FIBOCOM The example illustrates the command executi
16. 10 ERROR AT MMSRECV ERROR Wrong Index G620 GPRS Module AT Command User Manual ADD Page 24 of 142 Bs FIBOCOM AT MMSRECV ERROR 2 2 10 MMSVIEW Display the MMS Content Stored in Current Module This command is used to display the MMS content stored in current module Command Syntax Response Action Remarks Set AT MMSVIEW MMSVIEW lt status gt lt sender gt lt time gt lt size gt CR lt index gt lt name gt lt type gt lt length gt CR lt index 1 gt lt name gt lt type gt lt length gt OK or OK Module receives the command of AT MMSVIEW and shows the MMS information via series It firstly displays the MMS condition sent or received sent or received number sending time and MMS size And followed by other file information including in MMS Below shows MMSVIEW command parameter lt Parameter gt Description lt status gt Current condition of MMS received sent lt sender gt MMS sending address lt time gt MMS sending time lt size gt MMS data packet size lt name gt Data name type Data type refer to appendix 1 length Data length index MMS including file index beginning from 1 Example AT MMSVIEW MMS content stored in current module MMSVIEW received 138181818187 2010 7 21 1920 G620 GPRS Module AT Command User Manual ADD P
17. ADD Page 33 of 142 Bs FIBOCOM OK AT ETCPIP ETCPIP 0 1 OK AT CGDCONT 1 IP CMNET OK AT ETCPIP 1 OK AT ETCPIP ETCPIP 1 10 133 177 16 211 136 20 203 211 136 20 203 OK 2 4 2 IPOPEN Open NO 1 link in single link mode Command Syntax Response Action Remarks Set IPOPEN lt type gt lt OK Open NO 1 link in single link dest ip dest por or mode t udp dest sen d_port gt lt local_po ERROR rt Read IPOPEN IPOPEN lt type gt lt dest_ip gt lt d Query NO 1 link condition in est_port gt lt local_port gt lt udp_d single link mode est_send_port gt OK or ERROR Test IPOPEN IPOPEN list of type Query for the available link OK type or ERROR Detail parameter instruction lt Parameter gt Description lt Dest_ip gt G620 GPRS Module AT Command User Manual ADD Page 34 of 142 Bs FIBOCOM Dest port Target port number 1 65535 udp dest send port White list for end port number 0 65535 It can only set one for the port and is valid in UDP link Can leave it empty which means not filtering the end port local port Local port number 1 65535 Can leave it empty for random number type Link type TCP UDP Example AT96IPOPEN IPOPEN OK AT IPOPEN IPOPEN TCP UDP OK AT IPOPEN TCP SZGPS XICP NET 3000 CONNECT AT96IPOPEN IPOPE
18. CN region Guangdong we LLLI we city Shenzhen street Shennan Ave street_number No 1 Terminal sends AT command AT GTGIS 3 2 2232 3143 N 11356 2741 E Server returns OK GTGIS latitude 22 5385 longitude 113 9379 country China country code CN region Guangdong city Shenzhen street Shennan Ave street number No 1 G620 GPRS Module AT Command User Manual ADD Page 130 of 142 Bs FIBOCOM Terminal sends AT command AT GTSET GISSUPERPORT 5 100 Server returns OK Terminal sends AT command AT GTGIS 12 2 22 534534 113 935417 Server returns OK GTGIS Guangdong Provice Shenzhen Nanshan District Baishi Ave South High tech One Road Cross WestSouth 170meters Arts amp Design College EastNorth 290 meters Zhengyuan One station Car Service WestSouth 110 meters Terminal sends AT command AT GTGIS 13 2 2232 07204 N 11356 12502 E Server returns OK GTGIS Guangdong Provice Shenzhen Nanshan District Baishi Ave South High tech One Road Cross WestSouth 170meters Arts amp Design College EastNorth 290 meters Zhengyuan One station Car Service WestSouth 110 meters 9 5 Procedure of LBS Functions AT CSQ CSQ 27 99 OK AT CPIN CPIN READY OK AT CGREG CGREG 001 001 G620 GPRS Module AT Command User Manual ADD Page 131 of 142 Bs FIBOCOM OK AT MIPCALL 1 CMNET X PPP dial set wireless APN OK MIPCALL 10 206 243 14 AT MIPCALL Ch
19. Read IPSP IPSP lt msel gt lt data_num gt Query the configuration of OK current delay sending G620 GPRS Module AT Command User Manual ADD Page 46 of 142 Bs FIBOCOM parameter Test PSP IPSP list of lt msel gt OK Query the parameter list supported by command Detail parameter instruction lt Parameter gt Description lt msel gt 0 close the delay sending 500 60000 delay x seconds to send data num Left buffer space Example AT IPSP IPSP 0 0 OK AT IPSP IPSP 0 500 60000 OK AT IPSP 5000 OK AT IPSP IPSP 5000 0 OK 2 4 15 DNSR DNS domain name resolution Command Syntax Response Action Remarks Set DNSR lt host_na_ DNSR lt IP gt DNS me gt lt server_ip gt OK or ERROR G620 GPRS Module AT Command User Manual ADD Page 47 of 142 Bs FIBOCOM Detail parameter instruction lt Parameter gt Description lt host_name gt Domain name with character string less than 128 bytes lt server_ip gt DNS address IP IP address Example AT DNSR www sina com cn 96DNSR 221 179 180 83 OK 2 4 16 TPS Enter pass through mode via specific link Command Syntax Response Action Remarks Set TPS lt mode gt lt lin CONNECT Set the opened link as k num timeout ois pass through mode valssbutferfull val The pass through
20. This command is used to input the MMS voice data to module via series for sending MMS There are two interactions between user and module via series First one is for sending voice format and size The other is for voice data Command Syntax Response Action Remarks Set AT MMSAUD lt TYP OK Module receives the command of AT E gt lt LENGTH gt d MMSAUD lt TYPE LENGTH and CME ERROR err return OK via series It will not accept other AT command until receiving data from series The data from series will be treated as voice data When the received data equals to preset size it will quit receiving mode and return OK to series If it cannot receive any data within a minute it will quit receiving mode G620 GPRS Module AT Command User Manual ADD Page 18 of 142 Bs FIBOCOM directly and return ERROR to series Read AT MMSAUD MMSAUD Read the voice format and size of current lt TYPE gt lt LENGTH gt module It returns OK if no content OK or OK Test AT MMSAUD MMSAUD list of Test the setting format of this command supported lt range of voice format and range of TYPE gt s list of length supported lt LENGTH gt s OK Below shows MMSAUD command parameter lt Parameter gt Description lt TYPE gt Voice format 0 midi 1 amr 2 wav lt LENGTH gt Data length which less than 64 Kb Example AT MMSAUD O 1634
21. it means that the procedure interrupt requests from the remote station are ignored and not reported to DTE 3 1 20 FIS Current Session Parameters This command allows the DTE to sense and constrain the capabilities used for the current session Command Type Syntax Set AT FIS lt vr gt lt br gt lt wd gt lt In gt lt df gt lt ec gt lt bf gt lt st gt lt jp gt G620 GPRS Module AT Command User Manual ADD Page 81 of 142 Bs FIBOCOM The following table shows FIE parameters Parameter Description vr vr resolution in range 0 1 br br bit rate in range 0 3 wd wd page width in pixels only 0 value In In page length in range 0 2 df df data compression format only 0 value ec ec error correction only 0 value bf bf file transfer only 0 value st st scan time line in range 0 7 jp jp JPEG for color and B amp W only 0 value 3 1 21 FIT Inactivity Timeout This command allows providing an inactivity timer which allows the DS to break away from an unsuccessful connection attempt at any stage of a facsimile transfer Command Type Syntax Set AT FIT lt time gt lt action gt The following table shows FIT parameters lt Parameter gt Description lt time gt lt time gt valid time in range 0 255 lt action gt
22. result or ERROR error code file name parameter consists of the file name as well as the file path optional file type parameter is optional Default value is 1 binary The command execution result return to the G620 GPRS Module AT Command User Manual ADD Page 67 of 142 Bs FIBOCOM user as an unsolicited response 0 operation fails 1 operation success 2 data connection ODM enabled Read FTPSTOR ERROR Not supported Test FTPSTOR FTPSTOR file Return command format name gt 0 1 OK The following table shows the FTPSTOR parameters lt Parameter gt Description Range File name Name of file to be stored on the String max length is 255 octets remote side File type Type of file ASCII or Binary Numeric in the range of 0 1 0 ASCII 1 Binary Example The example illustrates the command execution Requested file type is binary AT FTPSTOR somefile name 1 FTPSTOR 2 The user sends a file with lt end of file gt here FTPSTOR 1 2 6 16 FTPRETR Retrieve a File from a Remote FTP Server This command causes the G600 to request the remote FTP server to send a file to the G600 Notes e The user can store a file received from G600 immediately after G600 returns result 2 In this case G600 switches to Online Data Mode and all data received from RS232 is the requested file e The user converts
23. 36 GPGSV 3 1 12 19 81 211 24 03 63 025 26 23 52 233 43 06 48 035 19 7F SGPGSV 3 2 12 13 45 291 30 16 35 036 19 11 21 186 31 24 04 186 28 74 GPGSV 3 3 12 20 01 214 20 31 12 123 14 32 01 192 24 30 17 060 77 SGPRMC 091618 000 A 2229 8687 N 11354 7071 E 0 00 254 15 080611 A 69 AT GTGPS 2 3 output GPGGA GPGSA data 3 1 2 every two seconds OK GPGGA 091617 000 2229 8687 N 11354 7071 E 1 08 1 5 35 2 M 2 6 M 0000 7C GPGSA A 3 19 03 23 06 13 16 11 24 2 4 1 5 1 8 36 GPGGA 091619 000 2229 8687 N 11354 7071 E 1 08 1 5 35 2 M 2 6 M 0000 73 S GPGSA A 3 19 03 23 06 13 16 11 24 2 4 1 5 1 8 36 G620 GPRS Module AT Command User Manual ADD Page 139 of 142 Bs FIBOCOM AT GTGPS 23 8 output GPRMC data every three seconds OK SGPRMC 091708 000 A 2229 8697 N 11354 7071 E 0 00 4 62 08061 1 A 6F SGPRMC 091711 000 A 2229 8697 N 11354 7071 E 0 00 341 36 080611 A 6D SGPRMC 091714 000 A 2229 8697 N 11354 7071 E 0 00 359 59 080611 A 65 AT GTGPS GTGPS 3 8 AT GTGPS GTGPS 0 60 0 15 OK G620 GPRS Module AT Command User Manual ADD Page 140 of 142 Bs FIBOCOM 12 Other Functions 12 1 Jamming Feature AT MJDC command is used to turn on or off jamming detection function It will send the unsolicited result code MJDC to DTE and telling jamming detection condition if the function is on Command Syntax Response Action Remarks Set MJDC lt mjdc OK Turn on or off jamm
24. 36 0 75 5 5E2E52A9548C8D448D39 0 0 0 Help amp Price STKPRO OKEY G620 GPRS Module AT Command User Manual ADD Page 104 of 142 Bs FIBOCOM Select Help amp Price AT STKTR 36 0 255 0 0 05 05 The fifth item OK STKCNF 36 0 255 145 STKPRO 19 77ED4FE153D190014E2D2026 0 1 Sending SMS STKPRO OKAY STKCNF 36 0 255 145 STKPRO 36 0 71 5 5B9A5236 0 0 0 Custom STKPRO 36 0 72 5 67E581EA900980A1884C60C5 0 0 0 Check Optional Stock STKPRO 36 0 73 5 6DF852A081EA900980A1 0 0 0 Add Optional Stock STKPRO 36 0 74 5 4E1A52A 14ECB7ECD 0 0 0 Business Instruction STKPRO 36 0 55 5 5E2E52A9548C8D448D39 0 0 0 Help amp Price STKPRO OKEY CMTI SM 22 Receive an SMS about Help amp Price Now return to previous menu and do the mass SMS operation AT STKTR 36 17 lt result gt 17 indicates return to previous menu OK STKCNF 36 17 255 145 STKPRO 36 0 71 4 8D227BA15BB6 0 0 0 Wealth Management STKPRO 36 0 72 4 884C60C5901 A70 0 0 News of Stock Market STKPRO 36 0 73 4 91D1624B638C 0 0 0 Stock Recommendation STKPRO 36 0 74 4 83DC53557BA16406 0 0 0 Menu Management STKPRO OKAY AT STKTR 36 17 lt result gt 17 indicates return to previous menu OK STKCNF 36 17 255 144 STKPRO Proactive End Back to root directory AT STKNEV 211 2 0 Select Mass SMS in Main Menu OK STKCNF 129 0 255 145 STKPRO 36 0 71 6 65B07F1677ED4FE1 0 0 0 New SMS STKPR
25. Data through the Serial Port This command need to be used together with FTPGET command It will read the data cached in the module through the serial port It is different with the FTPRETR command and don t define the escape character If the cached buffer is empty the data length will be O Note The FTPRECV command can only be used in command mode FTPGET command executes OK Command Syntax Response Action Remarks Set FTPRECV lt FTPRECV The actual length will return firstly req_LENGTH ret LENGTH Then the data output i DATA BR OK or ERROR Read AT FTPRECV FTPRECV lt available gt Read length of the data stored in the buffer OK Test AT FTPRECV FTPRECV p 1 3000 LENGTH Return command format The following table shows the FTPRECV parameters lt Parameter gt Description lt available gt Length of the data stored in the buffer req LENGTH Request data length maximum 3000 bytes ret LENGTH The actual length of the readout data Example AT FTPGET AAA txt 0 OK AT FTPRECV 2000 G620 GPRS Module AT Command User Manual ADD 2000 bytes of data output through the serial port Page 72 of 142 Bs FIBOCOM FTPRECV 2000 Module received command to return output data length the carriage return line DATA the output data OK The end of the output data the module returns OK AT FTPRECV 2000
26. FTPSTAT command without a parameter is entered G600 requests the remote side to return a general system status Command Syntax Response Action Remarks Set FTPSTAT lt file d OK FTPSTAT Parameter optional consists of irectory name gt result status or directory name as well as directory path ERROR error code optional The command execution result return to the user as an unsolicited response 0 operation fails 1 operation success 2 text message follows lt status gt parameter follows only when lt result gt 2 Read FTPSTAT ERROR Not supported Test FTPSTAT FTPSTAT Return command format lt file directory name gt OK The following table shows the FTPSTAT parameters lt Parameter gt Description Range File directory name Name of file or directory on the String max length is 255 octets remote side for list request Example When the user enters FTPSTAT command without parameters the last requested status within actual FTP connection returns When there is first status request within actual FTP connection the remote server returns general FTP connection status like in the following example The first example illustrates FTPSTAT command without parameter first time for actual FTP connection use In this case general FTP connection status returns AT FTPSTAT OK FTPSTAT 2 SecureMb FTP Version 1 0 FTPSTAT 2 Connected to name provid
27. G600 FTP client and Remote FTP Server This command causes G600 to close FTP connection when no data transfer occurred at that same time When data transfer is in progress use DTR line for closing FTP connection Command Syntax Response Action Remarks Set FTPCLOSE OK Command execution result return to the 4FTPCLOSE user as an unsolicited response G620 GPRS Module AT Command User Manual ADD Page 56 of 142 Bs FIBOCOM connection status Or ERROR error code 1 connection success 0 connection fail Read FTPCLOSE ERROR Not supported Test FTPCLOSE ERROR Not supported Example The first example illustrates FTP connection close success case AT FTPCLOSE OK FTPCLOSE 1 The second example illustrates FTP connection close error case because no FTP connection was opened The AT CMEE 2 command enables verbose error report AT CMEE 2 OK AT FTPCLOSE CME ERROR FTP session is inactive 2 6 3 FTPINFO FTP Unsolicited Indication Enable Disable This command causes the G600 to enable or disable FTP unsolicited indication to the user FTP unsolicited indication is used for debugging the FTP session and when the indication is enabled the G600 will show to user all FTP commands send to remote site and all FTP responses received from the remote side Command Syntax Response Action Remarks Set FTPINFO lt indi
28. OK AT IPCLOSE 5 IPCLOSE 5 OK G620 GPRS Module AT Command User Manual ADD SOCKET1 receive data no more than 3 SOCKET can be opened close SOCKET in order from 3 to 1 de activate PDP Page 51 of 142 Bs FIBOCOM 2 5 FTP 2 5 1 Overview G600 implements FTP connection feature based on RFC959 standard and operates as a FTP client When connected to a remote FTP server G600 is able to receive information about remote file system manage it and perform files transfer operations 2 5 2 Manage FTP Connection AT FTPOPEN command is used to open a FTP connection with a remote FTP server When G600 performs FTP connection establish procedure it allocates two TCP sockets One of them is used for FTP control channel the other for FTP data channel listen mode FTP control channel port has default identification number ID 21 for source client and destination server sides but user is able to configure control channel port ID for client as well as for server by pass new source control port and or new destination control port id as AT FTPOPEN command optional parameters This is applicable when remote FTP server able to accept FTP connection over non standard other then 21 ports FTP data channel port has default identification number ID 20 for source client side but user be able to configure data channel port id by pass new source data port id as AT FTPOPEN command optional parameter This is applicable when re
29. Textual UCS2 string converted by the command above can be sent in textual by SMS Therefore it can send Chinese SMS in textual Pay attention to the following steps for Chinese SMS sending in textual AT CMGF 1 set as textual AT CSCS UCS2 set as UCS2 AT CSMP 17 167 0 8 set SMS code as 8 AT CSCA Xxxxxx set correct SMS station usually unnecessary It can send Chinese SMS after setting as above Example GB2312 converts to UCS2 AT GTCODE 1 VIII FUSE GTCODE 20 6DF157335E7F548C901A OK Send SMS with conversion result AT CMGS 13812345678 26DF157335E7F548C901A Ctrl Z CMGS 145 OK G620 GPRS Module AT Command User Manual ADD Page 135 of 142 Bs FIBOCOM 11 Related AT Commands amp Instruction of GPS functions The functions below are only supported by VOB 10 20 G600 VOC 01 11 G610 Q50 VOC 11 13 G610 A50 and above 11 1 GTGPSPOWER GPS Power Management It is used to set working mode of GPS module There are four modes are supported by GPS module power on power off sleep and wake up mode antena state OK Command Syntax Response Action Remarks Set GTGPSPOWER lt mo OK It is used to set working mode of de gt GPS module Or ERROR Read GTGPSPOWER GTGPSPOWER Read GPS working mode and condition of GPS antenna Test GTGPSPOWER GTGPSPOWER lt 0 1 2 3 gt OK Return the range of GPS mode The foll
30. Voice Content Optional sessssescsssscssescsseecsseccsseecsseccsseecssecssscessseessseesuessueeesueeesuecesseessneeesnees 29 2 3 7 ET Lfagicmeec 30 2 3 8 Procedure Conclusion T C 30 2 3 9 MMS Receiving Commandin esik e betta ee eve eeu eed E qn 30 2 4 New Command for Embedded TCP IP Protocol Stack sssscsssssscssssecesssscesssesessnsscssnsecssnseecssseecesnecessneeeesnseesses 33 24 1 vel active 33 G620 GPRS Module AT Command User Manual ADD Page 3 of 142 Bs FIBOCOM 2 5 2 6 2 4 2 vues PH 34 2 4 3 vues et HRS 35 2 44 vene S 37 2 4 5 VPS END a 38 2 4 6 WVU SEND Cc 39 2 4 7 vate V 41 2 4 8 APIs 42 2 4 9 Vdpow E T 43 vs MEE dp e E E 43 2AA upper R 44 PK PME JuPucp 44 2AN dJukwis SX MP I 45 p NEIN 46 2415 ID e
31. at interval type Output data type marked based on bit and randomly composed 0 stop data output 1 output GPGGA data 2 output GPGSA data 4 output GPGSV data 8 output GPRMC data Example AT GTGPSPOWER 1 OK AT GTGPS 20 0 nodata output OK AT GTGPS 20 15 output all types of data only once 15 1 2 4 8 GPGGA 091520 000 2229 8692 N 11354 7062 E 1 08 1 5 37 3 M 2 6 M 0000 7E GPGSA A 3 19 03 23 06 13 16 11 24 2 3 1 5 1 8 31 SGPGSV 3 1 12 19 79 208 20 03 65 025 26 23 53 235 41 06 50 035 18 7F SGPGSV 3 2 12 13 45 291 30 16 35 036 19 11 21 186 31 24 04 186 28 74 SGPGSV 3 3 12 31 13 122 17 32 02 193 25 30 18 059 07 13 319 7A SGPRMC 091520 000 A 2229 8692 N 11354 7062 E 0 49 243 21 080611 A 6B OK AT GTGPS 21 15 output all types of data every one second 15 1 24 4 8 OK G620 GPRS Module AT Command User Manual ADD Page 138 of 142 Bs FIBOCOM GPGGA 091617 000 2229 8687 N 11354 7071 E 1 08 1 5 35 2 M 2 6 M 0000 7C GPGSA A 3 19 03 23 06 13 16 11 24 2 4 1 5 1 8 36 GPGSV 3 1 12 19 81 211 18 03 63 025 25 23 52 233 43 06 48 035 19 73 SGPGSV 3 2 12 13 45 291 30 16 35 036 19 11 21 186 31 24 04 186 28 74 GPGSV 3 3 12 20 01 214 18 31 12 123 13 32 01 192 24 30 17 060 7B SGPRMC 091617 000 A 2229 8687 N 11354 7071 E 0 00 206 17 080611 A 63 GPGGA 091618 000 2229 8687 N 11354 7071 E 1 08 1 5 35 2 M 2 6 M 0000 73 S GPGSA A 3 19 03 23 06 13 16 11 24 2 4 1 5 1 8
32. command 2 Command without information 3 Refresh by reading Efs G620 GPRS Module AT Command User Manual ADD Page 98 of 142 Bs FIBOCOM 4 Succeed to command but display no icon 5 Succeed to command but it is improved by SIM calling control 6 Succeed to command but service limited 7 Command after improvement 16 Terminate SIM calling by user 17 Draw back in SIM calling by user 18 No response from user 19 Help for desired operation 20 Terminate USSD and SS transmission by user 32 ME cannot deal with command at the moment 33 It cannot deal with command because of network situation 34 Calling request is not accepted by user 35 Calling is ended by user before connecting or releasing network 36 Action is not matched to current time 37 Interaction with call control by SIM temporary problem 38 Display gibberish when browsing 48 Command is over ME workload 49 Command type is not resolved correctly by ME 50 Command type is not resolved correctly by ME 5 Command type is not resolved correctly by ME 52 SS returns error 53 SMS RP ERROR 54 Error All requests should be ignored 55 ussd returns error 56 Errors for class commands Such as class a should be supported 57 Interaction with call control by SIM or MO short message control by SIM permanent problem 58 Bear the unavoidable protocol errors if class e is supported type command modification only use when initiative com
33. is displayed using the unsolicited result code STKCNF lt proactive_cmd gt lt result gt lt add_result gt lt sw1 gt Parameter meaning lt proactive_cmd gt A decimal code which indicates the command that was finished Proactive STK command values are documented in STKPRO Additionally following proactive commands can be indicated 02 More Time 03 Poll Interval 04 Polling OFF 39 Time Management lt add_result gt additional result code sw1 status of the last response may be 0 command to SIM was suppressed because of multiple terminal response or wrong client other responses see GSM 11 11 4 1 7 STKLBR SIM APPL TK Launch Brower Command STKLBR This command allows entering a response to a SIM APPL TK launch browser request The SIMAP command Launch Browser is sent to the DTE using the unsolicited result code STKLBR lt cmd_details gt lt URL gt lt bearer gt gateway Ref_1 Ref_n The response to the unsolicited result is given with the command Command Syntax Response Action Remarks Set AT STKLBR lt OK result gt lt add_ Or result gt CME ERROR lt error gt Test AT STKLBR OK Parameter meaning lt cmd_details gt 00 launch browser if not already launched 02 use the existing browser the browser shall not use the active existing secured session G620 GPRS Module AT Command User Manual ADD Page 102 of 142 Bs FIBOCOM 03
34. mode can link num Isit of timeout val Isit of lt bufferfull_val gt OK gt ERROR only be set to one link once upon a time Read TPS 96TPS mode link num tim Query the current eout_val gt lt bufferfull_val gt configuration parameter of OK pass through functionality Test 96 TPS TPS Isit of lt mode gt Isit of Query the parameter list supported by command Detail parameter instruction lt Parameter gt Description lt mode gt 0 non pass through mode 4 automatic mode lt link_num gt Used link number 1 3 G620 GPRS Module AT Command User Manual ADD Page 48 of 142 Bs FIBOCOM timeout val Temporarily disabled bufferfull val Temporarily disabled Example AT TPS 4 1 1000 1024 CONNECT SADJFKLSJADKLFJ OK AT TPS 4 1 1000 1024 CONNECT AT TPS TPS 0 1 1000 1024 OK AT TPS TPS 0 4 1 3 1000 600000 512 1024 OK 2 4 17 Unsolicited Result Code IPDATA Report the received data In single link mode module reports data automatically IPDATA lt len gt lt data gt In multiple links mode module reports data automatically IPDATA lt link_num gt lt len gt lt data gt In buffer mode module reports data automatically IPDATA lt link num gt lt index gt lt len gt Detail parameter instruction lt Parameter gt Description lt len gt Data length lt data g
35. operation fails 1 operation success 2 text message follows lt directory_name gt parameter follows only when lt result gt 2 Read FTPPWD ERROR Not supported Test FTPPWD ERROR Not supported Example The example illustrates print working directory success case AT FTPPWD OK FTPPWD 2 home somedir is current directory FTPPWD 1 2 6 8 FTPCDUP Change Directory Up This command causes the G600 to request the remote FTP server to change the working directory up Command Syntax Response Action Remarks Set FTPCDUP OK FTPCDUP The command execution result return to lt result gt or ERROR the user as an unsolicited response senor odes 0 operation fails 1 operation success Read FTPCDUP ERROR Not supported Test FTPCDUP ERROR Not supported G620 GPRS Module AT Command User Manual ADD Page 61 of 142 Bs FIBOCOM Example The example illustrates change working directory up success case AT FTPCDUP OK FTPCDUP 1 2 6 9 FTPDEL Delete File This command causes the G600 to request the remote FTP server to delete a file in accordance to a given name Command Syntax Response Action Remarks Set FTPDEL lt file_na OK FTPDEL lt result gt file name parameter consists of the me gt or ERROR error code file name as well as the file path optional The command execution result return to the user as an unsolicited response 0 operation
36. s list of supported TEXT 5 list of supported IMAGE gt s list of supported AUDIO gt s OK G620 GPRS Module AT Command User Manual ADD Page 20 of 142 Bs FIBOCOM Below shows MMSSEND command parameter Parameter Description DA Receive phone number or email address SUB Subject switch 0 MMS not including subject 1 MMS including subject lt TEXT gt Text switch 0 MMS not including text 1 MMS including text lt IMAGE gt Image switch 0 MMS not including image 1 MMS including image lt AUDIO gt Voice switch 0 MMS not including voice 1 MMS including voice Example AT MMSSEND 13902965084 1 1 0 0 the first parameter indicates target address OK and the following is content switch All should be less than 300Kb OK Send successfully AT MMSSEND MMSSEND phone number or email address 0 1 0 1 0 1 0 1 OK 2 2 7 MSTI Unsolicited Response new MMS alarmed by PUSH message It will send to terminal when module receives new MMS and is alarmed by PUSH message G620 GPRS Module AT Command User Manual ADD Page 21 of 142 Bs FIBOCOM MSTI lt mem gt lt index gt lt classtype gt Below shows MSTI command parameter lt Parameter gt Description lt mem gt Message memory space SM ME memory storage lt index gt Location of the new message lt classtyp
37. subscriber busy 03 congestion 04 radio path acknowledge 05 radio path not available 06 error special information 07 call waiting tone 08 ringing tone 10 general beep 11 positive acknowledgement tone 12 negative acknowledgement or error tone lt total items gt total items lt unit gt may be 0 minutes 1 seconds 2 tenth of seconds lt URL gt URL that shall be loaded Field of some command describes 1 DISPLAY TEST STKPRO 33 lt type gt lt dcs gt lt hex_string gt lt icon_id gt lt imm_resp gt lt type gt bit 1 0 normal priority 1 high priority bits 2 7 RFU G620 GPRS Module AT Command User Manual ADD Page 93 of 142 Bs FIBOCOM bit 8 0 clear message after a delay 1 wait for user to clear message lt dcs gt data coding scheme of lt hex_string gt lt hex_string gt Contains the text to be displayed lt icon_id gt Optional icon id see GSM11 14 6 5 4 imm resp immediate response not use Response format STKTR 33 result add result result See G600 AT Command Set User Manual STK ENG V1 0 0 do 1 1 2 add result Not used 2 GET INPUT STKPRO 35 lt type gt lt dcs gt lt hex_string gt lt max rsp len gt lt min rsp len gt lt default text gt lt icon_id gt lt type gt bit 1 0 digits 0 9 and only 1 alphabet set bit 2 0 SMS default alphabet 1 2 UCS2 alphabet bit 3
38. the command of AT PE gt lt LENGTH gt T MMSIMG lt TYPE LENGTH and l return OK via series It will not accept ERROR other AT command until receiving data from series The data from series will be treated as image data When the received data equals to preset size it will quit receiving mode and return OK to series If it cannot receive any data within a minute it will quit receiving mode directly and return ERROR to series Read AT MMSIMG MMSIMG Read the image format and size of lt TYPE gt lt LENGTH gt current module It returns OK if no content OK or OK Test AT MMSIMG MMSIMG list of Test the setting format of this command supported lt range of image format and range of TYPE gt s list of length supported lt LENGTH gt s OK Below shows MMSIMG command parameter lt Parameter gt Description lt TYPE gt 0 JPG Image format G620 GPRS Module AT Command User Manual ADD Page 17 of 142 Bs FIBOCOM 1 GIF lt LENGTH gt Data length which less than 300000 bytes Example AT MMSIMG 0 8096 OK DATA OK AT MMSIMG 0 indicates jpg format Module returns OK and wait for the user to input data User inputs data Receive data and return OK MMSIMG 0 1 1 300000 OK AT MMSIMG MMSIMG 0 8096 OK 2 2 5 MMSAUD Input the MMS Voice Data to Module via Series
39. to a given name Command Syntax Response Action Remarks Set FTPMKD lt direct OK FTPMKD lt result gt lt directory_name gt parameter consists of ory_name gt Or ERROR lt error_code gt the directory name as well as the directory path optional The command execution result return to the user as an unsolicited response 0 operation fails 1 operation success Read FTPMKD ERROR Not supported Test FTPMKD FTPMKD lt directory Returns command format name gt OK The following table shows the FTPMKD parameters lt Parameter gt Description Range Directory name Name of directory to be created on String max length is 255 octets the remote side Example The first example illustrates make new directory success case AT FTPMKD somedir OK FTPMKD 1 The second example illustrates makes new directory fail case G620 GPRS Module AT Command User Manual ADD Page 59 of 142 Bs FIBOCOM because the directory name already present on the remote server AT FTPMKD somedir OK FTPMKD 0 2 6 6 FTPRMD Remove Directory This command causes the G600 to request the remote FTP server to remove a directory in accordance to a given name Command Syntax Response Action Remarks Set FTPRMD lt direct OK FTPRMD lt result gt lt directory_name gt parameter consists of ory_name gt Or ERROR lt error_code gt the directory name as we
40. 16 10 01 39 IT Zee ABO RRO EMET G620 GPRS Module AT Command User Manual ADD Page 32 of 142 Bs FIBOCOM 2 4 New Command for Embedded TCP IP Protocol Stack 2 4 1 96ETCPIP This command implements the PDP activation and TCP IP initialization Please set PDP parameter 1 with CGDCONT command before using this command Note G600 module contains two sets of embedded protocol stacks which is conflicted with each other and cannot be used at the same time OK Command Syntax Response Action Remarks Set ETCPIP lt user_ OK This command implements the name gt lt passwo r PDP activation and TCP IP rd cid 1 initialization ERROR Read 96ETCPIP ETCPIP lt state gt lt local_ip gt lt Query PDP current condition gate gt lt DNS1 gt lt DNS2 gt OK Test ETCPIP 96ETCPIP list of lt stat gt Query stat range list Detail parameter instruction lt Parameter gt Description lt user_name gt character string within 31 bytes can leave empty lt password gt character string within 31 bytes can leave empty lt cid gt 1 can only be 1 here and same configuration as CGDCONT Can leave empty lt state gt 0 failed to dial 1 succeed to dial lt local_ip gt Local IP lt gate gt Gateway IP lt DNS1 gt Default DNS address lt DNS2 gt Backup DNS address Example AT ETCPIP ETCPIP O G620 GPRS Module AT Command User Manual
41. 5 OK DATA OK O indicates amr format Module returns OK and wait for the user to input data User inputs data Receive data and return OK AT MMSAUD MMSAUD 0 2 1 65535 OK G620 GPRS Module AT Command User Manual ADD Page 19 of 142 Bs FIBOCOM AT MMSAUD MMSAUD 0 16345 OK 2 2 6 MMSSEND Send a MMS This command is used to package the related data as a MMS and send to the specific object Command Syntax Response Action Remarks Execute AT MMSSEND OK Module will judge the correction of DA gt lt SUB gt lt TEX parameter after receiving this command T gt lt IMAGE gt lt AU If it is not correct it returns ERROR and DIO gt OK ends the operation If it is correct it or returns OK and packages the related text title image and voice data as a On MMS based on the option of parameter This MMS creates a socket via GPRS and 4CME ERROR lt err gt total size should be less than 300Kb It will send the MMS data to specific server Bs and returns OK for success but ERROR for CME ERROR err failure The operation of this command will stop if MMS is sent successfully The series will not receive and deal with the other AT command until the pre operation is done Test AT MMSSEND ERROR Not support Test AT MMSSEND MMSSEND phone Test the command format parameter number or email value and range address list of supported SUB gt
42. 620 GPRS Module AT Command User Manual ADD Page 133 of 142 Bs FIBOCOM 10 CODE Conversion The functions below are only supported by VOB 09 20 G600 VOC 00 11 G610 Q50 VOC 05 11 G610 A50 and above 10 1 Command of GTCODE for Code Conversion GB2312 and UCS2 can be converted to each other by this AT command Command Syntax Response Action Set GTCODE lt Type gt lt String gt GTCODE lt Length gt lt Result gt OK or ERROR lt err gt Test GTCODE GTCODE 1 2 text OK Parameter instruction of GTCODE lt Parameter gt Description Type 1 GB2312 converts to UCS2 The conversion result can be sent via SMS in textual 2 UCS2 converts to GB2312 String Character string for conversion Note If Type 1 string cannot contain quotation mark and is no more than 140 bytes If Type 2 string is no more than 280 bytes Length String length after conversion Result String of conversion result Example AT GTCODE 1 Fibocom GTCODE 20 004600690062006F0063006F006D G620 GPRS Module AT Command User Manual ADD Page 134 of 142 Bs FIBOCOM OK AT GTCODE 2 005700650020006 10072006500200067006C006 1006400200079006F0075002000630061006E002000750 07300650020006F0075007200200063006F006D00700061 006E007900270073002000700072006F 0064007 5006300740073002E GTCODE 47 We are glad you can use our company s products OK 10 2 Send Chinese SMS in
43. 620 GPRS Module AT Command User Manual ADD Page 54 of 142 Bs FIBOCOM 2 6 AT Commands Reference for FTP 2 6 1 FTPOPEN Open FTP Connection between G600 FTP client and Remote FTP Server This command causes G600 to open a FTP connection with a remote FTP server based on given parameters Notes e Only one FTP connection can be in progress at the same time e FTP connection is based on two TCP sockets one of them configured for Online Data Mode e Online Data connection is prohibited when FTP connection is in progress and vice versa Command Syntax Response Action Remarks Set FTPOPEN OK FTPOPEN Command execution result lt destination_ip lt connection_status gt Or ERROR connection status return to url lt error_code gt the user as an unsolicited gt lt username gt response lt password gt L lt 1 connection success ac count gt lt source__ 0 connection fail con trol port destin ation on control port source data por t gt Read FTPOPEN FTPOPEN lt connection_status gt Returns FTP connection status OK 1 connection success 0 connection fail Test FTPOPEN FTPOPEN lt destination_ip url gt Returns command format lt username gt lt password gt lt account gt range of supported port s range of supported port s range of supported port s OK The following table shows the FTPOPEN parameters lt Parameter gt Desc
44. 788 longitude 113 940271 country China country_code CN region Guang dong city Shenzhen street Shennan Ave street_number No 1 Terminal sends AT command AT GTSET GISSUPERPORT 5 100 Server returns OK Terminal sends AT command G620 GPRS Module AT Command User Manual ADD Page 129 of 142 Bs FIBOCOM AT GTGIS 11 1 Server returns OK GTGIS 22 537880 113 940269 Guangdong Province Shenzhen Nanshan District Keyuan Nan Ave South High tech Seven Road Cross WestNorth 120meters Shenzhen Virtual University Park EastSouth 50 meters Shenzhen High tech Industrial Zone R3 B WestNorth 40 meters 600 9 4 Query Command with Longitude amp Latitude Data This command supposed to use in the scene where GPS module is available It gets longitude amp latitude data and GIS information via GPS module The command and parameter are shown as below Command and parameter AT GTGIS 2 2 longitude 1 latitude 1 Return Chinese GIS address AT GTGIS 3 2 longitude 2 latitude 2 Return Chinese GIS address AT GTSET GISSUPERPORT 5 100 Set strengthen mode AT GTGIS 12 2 longitude 1 latitude 1 Return Chinese GIS address AT GTGIS 13 2 longitude 2 latitude 2 Return Chinese GIS address Command amp parameter example Terminal sends AT command AT GTGIS 2 2 22 538571 113 937901 Server returns OK GTGIS latitude 22 538571 longitude 113 937901 country China country_code
45. ADD Page 95 of 142 Bs FIBOCOM lt total items gt total items lt item_text gt Item text lt next_action gt The Item Next action indicator gives the possible actions that will be initiated by the SIM in case of selection by the user default item The SIM may supply with the list if applicable indication of the default item e g the previously selected item icon id Optional icon id see GSM11 14 6 5 4 icon id list element See GSM11 14 12 32 Response format STKTR 36 result add result 0 dcs hex string result See G600 AT Command Set User Manual STK ENG V1 0 0 do 1 1 2 add result Not used dcs data coding scheme of hex string hex string Hex string of input item 4 SET UP MENU STKPRO 37 type alpha item id total items item text next action icon id icon id list el ement type bit 1 7 not used bit 8 0 no help information available 1 help information available alpha The alpha identifier included by the SIM shall be used by the ME as the title for the list of items G620 GPRS Module AT Command User Manual ADD Page 96 of 142 Bs FIBOCOM lt item_id gt item identifier lt total items gt total items lt item_text gt Item text lt next_action gt The Item Next action indicator gives the possible actions that will be initiated by the SIM in case of selection by the user
46. B5 CIBOCOM erfect Wireles Bs FIBOCOM Confidential Material This document contains information highly confidential to Fibocom Wireless Inc Fibocom Fibocom offers this information as a service to its customers to support application and engineering efforts that use the products designed by Fibocom The information provided is based upon requirements specifically provided to Fibocom by the customers All specifications supplied herein are subject to change Disclosure of this information to other parties is prohibited without the written consent of Fibocom Copyright Copy Reproduce Distribute and or Edit of this document or part of it as well as utilization of its contents and communication thereof to others without express authorization are prohibited Offenders will be held liable for payment of damages All rights created by patent grant or registration of a utility model or design patent are reserved Copyright 2013 Fibocom Wireless Inc All rights reserved Trademarks Notice B FIBOCOM The FIBOCOM Logo is registered by Fibocom Wireless Inc All other product or service names or logos are the property of their respective owners Copyright 2013 Fibocom Wireless Inc All rights reserved Revision History Version Date Remarks V1 0 0 2012 06 26 Initial version G620 GPRS Module AT Command User Manual ADD Page 2 of 142 Bs FIBOCOM Contents 1 Hardware Related Functionalities oe essssesc
47. BD5FF01 0 0 Finish Sending STKPRO OKAY The example above shows how to check the help amp price of wealth management service and sending SMS Since SIM card services are different to different brand this example only introduces the method of checking menu and parameter meaning of commands G620 GPRS Module AT Command User Manual ADD Page 107 of 142 Bs FIBOCOM 5 MUX 5 1 Introduction The multiplexer provides mechanisms for conveying streams of data between TE and MS over a single start stop framed serial link The multiplexer provides a virtual connection between a process in the TE and a similar process in the MS For example a PC application supporting SMS functions could be connected to the SMS handler in the MS via a multiplexer channel Each channel between TE and MS is called a Data Link Connection DLC and is established separately and sequentially The multiplexer has three operating options basic advanced without error recovery and advanced with error recovery Please refer to GSM 07 10 G600 G610 only supported the Basic mode G600 G610 multiplexer provides the next services e Startup services e DiCestablishment services e Data services e DLC Release services e Close down services Note G600 G610 GPRS module can support of largest 4 DLC at same time 5 2 Frame Structure All information transmitted between the TE and MS is conveyed in frames 5 2 1 Frame Structure of Basic Mode The basic frame structur
48. Control RI pulse width control of SMS and incoming call Command Syntax Response Action Remarks Set WRIM lt type gt lt widt OK Set RI pulse width control of SMS and h incoming call or ERROR Read WRIM WRIM Query RI pulse width control of SMS and lt type gt lt width gt incoming call OK or ERROR Test WRIM WRIM Query the types and range for pulse lt type gt lt width gt width OK or ERROR Details of Parameter lt Parameter gt Description lt type gt 0 indicate incoming call 1 indicate SMS lt width gt RI pulse width 1 2000ms 0 reset to default parameter default for incoming call is 1000ms for SMS is 150ms G620 GPRS Module AT Command User Manual ADD Page 9 of 142 Bs FIBOCOM 1 2 MCHARGE Charge Management This command will indicate the charge feature Command Syntax Response Action Set MCHARGE lt mode gt OK or CME ERROR lt err gt Read MCHARGE MCHARGE lt chr_state gt lt chr_event gt lt chr_alarm gt lt chr_capacity gt or CME ERROR lt err gt Test MCHARGE MCHARGE list of parameters lt chr_state gt lt chr_event gt lt chr_alarm gt lt ch r_capacity gt OK The following table shows the MCHARGE parameters lt Parameter gt Description lt mode gt lt mode gt integer indicating mode of sending unsolicited responses
49. DOWN ALARM shutdown battery level reached Note please give the voltage value of shutdown battery level 2 CHR LOW BATT CLEARED cease battery alarm chr capacity chr capacity integer value indicating the capacity of battery 0 below 1096 1 10 30 2 30 50 3 50 70 4 70 9096 5 above 9096 Note the value is depended on different voltage G620 GPRS Module AT Command User Manual ADD Page 11 of 142 Bs FIBOCOM 2 Related Functionalities of Internal Protocol Stack 2 1 New Added AT Command 2 1 1 MIPKPAL TCP Keepalive Functionality This command indicates is used to turn on or off keepalive functionality for TCP connection Command Syntax Response Action Remarks Set MIPKPAL lt SockID OK This command is used to turn on or off gt lt Mode gt lt Time gt T keepalive functionality for TCP l connection It can be used with 2 sets of ERROR G600 protocol stacks Read MIPKPAL MIPKPAL lt SockID1 gt Query all conditions of keepalive lt Mode Time connection MIPKPAL lt SockID2 gt lt Mode gt lt Time gt MIPKPAL lt SockID3 gt lt Mode gt lt Time gt MIPKPAL lt SockID4 gt lt Mode gt lt Time gt OK Test MIPKPAL MIPKPAL list of lt Query range list of stat SockD gt list of lt Mode gt list of lt Time gt OK Details of Parameter lt Parameter gt Description lt SockID gt Connecti
50. DX 1 313131 OK 96lPSENDX 1 16 IPDATA 1 3 313131 2 4 7 IPCLOSE Close connection and monitor Disconnect GPRS dialing Command Syntax Response Action Remarks Set IPCLOSE lt cid gt L IPCLOSE lt cid gt Close connection and monitor lt Mode gt OK Disconnect GPRS dialing or ERROR Read 96IPCLOSE IPCLOSE lt link1_state gt lt link2_ Query the link condition of state link3 state three links OK Test IPCLOSE IPCLOSE list of lt cid gt list of Query the parameter list lt Mode gt supported by command OK Detail parameter instruction lt Parameter gt Description cid 143 corresponding to three operational links 6 close the monitor 5 quit TCP IP function and disconnect GPRS dialing lt Linkn state gt 0 off 1 connected G620 GPRS Module AT Command User Manual ADD Page 41 of 142 Bs FIBOCOM Mode 0 non force quit 1 force quit TCP connection will not wait end port for approve 2 4 8 96TXSTATE Clear statistics data of specific link Command Syntax Response Action Remarks Set 96TXSTATE link OK Clear statistics data of specific _num gt link or ERROR Read 96TXSTATE 96TXSTATE Query statistics data of specific link link num 1 send sum ack sum link num 2 send sum ack sum link num 3 send sum ack sum
51. F bit set to 1 If no UA or DM response has been received after T1 the initiating station may retransmit the SABM This action may be repeated until a response is obtained or action is taken by a higher layer UA Unnumbered Acknowledgement The UA response shall be used by the station to acknowledge the receipt and acceptance of SABM and DISC commands DM Disconnected Mode The DM response shall be used to report a status where the station is logically disconnected from the data link When in disconnected mode no commands are accepted until the disconnected mode is terminated by the receipt of a SABM command If a DISC command is received while in disconnected mode a DM response should be sent DISC Disconnect The DISC command shall be used to terminate an operational or initialization mode previously set by a command It shall be used to inform one station that the other station is suspending operation and that the station should assume a logically disconnected mode Prior to do the command the receiving station shall confirm the acceptance of the DISC command by the transmission of a UA response 5 2 5 Length Indicator BIT1 BIT2 BIT3 BIT4 BITS BIT6 BIT7 BIT8 EA L1 L2 L3 L4 L5 L6 L7 EA use for extend the address When the EA bit is set to 1 in an octet it is signifies that this octet is the last octet of the length field 5 2 6 Information Field The information field is the payload of the fram
52. FK Session Termination This action command causes the DCE to terminate the session in an orderly manner It will send a DCN message at the next opportunity and hang up Command Type Syntax Execute AT FKS or AT FK 3 1 6 FAA Adaptive Answer This command allows a adaptive answer of DCE depending on the parameter lt value gt Command Type Syntax Set AT FAA lt value gt The following table shows FAA parameters lt Parameter gt Description lt value gt lt value gt 0 the DCE shall answer only as a Class 2 facsimile device 1 the DCE can answer and automatically determine whether to answer as a facsimile DCE or as a data modem If a data modem is detected the DCE shall operate as described in T 32 8 3 2 4 3 1 7 FAP Address amp Polling Capabilities This command indicates the remote station the address and polling capabilities and also controls the reporting of those frames if received Command Type Syntax Set AT FAP lt sub gt lt sep gt lt pwd gt The following table shows FAP parameters lt Parameter gt Description lt sub gt lt sub gt subaddressing default value 0 lt sep gt lt sep gt selective polling default value 0 lt pwd gt lt pwd gt password default value 0 G620 GPRS Module AT Command User Manual ADD Page 75 of 142 Bs FIBOCOM 3 1 8 FBS Buffer Size This comm
53. FTPRECV 1250 Actually only 1250 bytes of buffer data DATA OK AT FTPRECV FTPRECV 1 3000 OK AT FTPRECV FTPRECV 5000 There are 5000 bytes of buffer data can be read OK G620 GPRS Module AT Command User Manual ADD Page 73 of 142 Bs FIBOCOM 3 FAX 3 1 1 FCLASS Select Mode This command puts the MS into a particular mode of operation Voice data or FAX Command Type Syntax Execute AT FCLASS lt n gt n 0 Data 2 FAX 8 Voice 3 1 2 FDT Transmit Data This action command prefixes data transmission It requests the DCE to transmit a phase C page It is issued at the beginning of each page in phase B or D Command Type Syntax Execute AT FDT 3 1 3 FDR Receive data This action command initiates data reception Command Type Syntax Execute AT FDR 3 1 4 FIP Initialize Facsimile Parameters This action command causes the DCE to initialize all Service Class Facsimile Parameters to the manufacturer determined default settings It does not change the setting FCLASS Command Type Syntax Set AT FIP lt value gt The following table shows FIP parameters lt Parameter gt Description lt value gt lt value gt indicates the profile only one profile is possible for lt value gt 0 G620 GPRS Module AT Command User Manual ADD Page 74 of 142 Bs FIBOCOM 3 1 5 FKS
54. N TCP 61 144 175 231 3000 4098 OK 2 4 3 IPOPENX Open the link in multiple links mode Command Syntax Response Action Remarks Set IPOPENX lt link_n CONNECT um type dest ip dest port udp dest send po ERROR rt gt lt local_port gt or Open the link in multiple links mode Read IPOPENX IPOPENX lt link_num1 gt lt type gt lt dest_ip gt lt dest_port gt lt local _port gt lt udp_dest_send_port gt Query the link condition of connection in multiple links mode G620 GPRS Module AT Command User Manual ADD Page 35 of 142 Bs FIBOCOM lt cd gt lt cr gt lt link_num2 gt lt type gt lt dest_ip gt dest port local port ud p dest send port lt cd gt lt cr gt lt link_num3 gt lt type gt lt dest_ip gt dest port local port ud p dest send port cd cr OK or ERROR Test IPOPENX IPOPENX list of link num Query for the available link list of type type and number range OK or ERROR Detail parameter instruction Parameter Description Dest ip Target IP Dest port Target port number 1 65535 udp dest send port White list for end port number 0 65535 It can only set one for the port and is valid in UDP link Can leave it empty which means not filtering the end port local port Loca
55. O 36 0 72 6 5DF2653677ED4FE1 0 0 0 SMS received G620 GPRS Module AT Command User Manual ADD Page 105 of 142 Bs FIBOCOM STKPRO 36 0 3 6 7EC454587BA 17406 0 0 0 STKPRO 36 0 4 6 589E52A07FA47EC4 0 0 0 STKPRO 36 0 75 6 7FA47EC46539540D 0 0 0 STKPRO 36 0 6 6 522096647FA47EC4 0 0 0 STKPRO OKAY AT STKTR 36 0 255 0 0 01 01 select the first sub menu for new SMS OK STKCNF 36 0 255 144 STKPRO 35 3 8 8F93516577ED4FE151855BB9 140 1 70 Input SMS content STKPRO OKAY AT STKTR 35 0 255 0 0 003100320033 OK STKCNF 35 0 255 145 STKPRO 36 0 71 3 900962E97FA47EC4 0 0 0 STKPRO 36 0 2 3 900962E953F77801 0 0 0 STKPRO 36 0 3 3 8F93516553F7780150 0 0 STKPRO OKAY AT STKTR 36 0 255 0 0 03 OK STKCNF 36 0 255 145 STKPRO 35 0 8 8F935 16553F77801 20 1 0 STKPRO OKAY AT STKTR 35 0 255 0 0 3130303836 OK STKCNF 35 0 255 145 STKPRO 36 0 71 3 53D1900177ED4FE1 0 0 0 STKPRO 36 0 2 3 7EE7 7EED6DFB52A0 0 0 0 STKPRO 36 0 53 3 67E5770B63A56536800552178868 0 0 0 STKPRO OKAY AT STKTR 36 0 255 0 0 01 OK STKCNF 36 0 255 145 G620 GPRS Module AT Command User Manual ADD Select Group Select Number Input Number 03 Select the third sub menu to input number Input Number Phone Number 10086 Send SMS Select to Send SMS Page 106 of 142 Bs FIBOCOM STKPRO 19 70 2 STKPRO OKAY STKPRO 33 129 8 53D190015B8C6
56. Procedure Conclusion Config server gt import sending data gt package data gt connect server gt send gt end 2 3 9 MMS Receiving Command Wait AT command ready SIM READY wait for the ready of SIM card AT CGMR query software version for technical support CGMR G610 VOC 00 0D OK AT MMSSERVER cmwap http mmsc monternet com 10 0 0 172 9201 set MMS connection of CMMC server gateway and port number OK MSTI SM 18 MMS PUSH Module receives PUSH message alarm AT MMSRDPUSH 18 Read PUSH message 18 is the index number MMSRDPUSH 18901073878 QJA4ERIqKTJTI http 221 179 185 231 QJAERIqKTJTI 11 07 16 09 56 044 32 75631 Send phone number MMS ID number saved position date time and data size OK AT MMSRECV 18 Download MMS from server 18 is the index number MMSRECV 18901073878 11 07 16 09 56 044 32 75631 G620 GPRS Module AT Command User Manual ADD Page 30 of 142 Bs FIBOCOM Send phone number date time and data size OK MMS RATE 15 it will show the process situation because the data is large and takes much time for downloading MMS RATE 32 MMS RATE 49 MMS RATE 66 MMS RATE 83 1 smil xml 0 369 unknown content 2 text O txt 1 22 text information and its size 3 IMG 20110716 095408jpg 475105 image in jpg format and its size OK AT MMSVIEW it shows the MMS content information saved in module Here will show the just receiv
57. TOPT GTOPT 1 OK AT GTOPT OPT 0 2 0 AUTO 1 China Mobile 2 China Unicom OK 8 4 GTCALIST Read signal carrier list AT GTCALIST CALIST ca0 can Read signal carrier list Example AT GTCALIST CALIST 98 111 OK G620 GPRS Module AT Command User Manual ADD Page 126 of 142 Bs FIBOCOM 9 AT Command Instruction of LBS The functions below are only supported by VOB 09 20 G600 VOC 00 11 G610 Q50 and VOC 05 11 G610 A50 or above 9 1 GTGIS Search GIS Information in GPRS Network This command will send a query for GIS information receive the response and report the GIS information to User Note e G600 cannot support this AT command when voice call established e This AT command didn t support in MUX mode e trecommended that we should better activate PDP AT MIPCALL 1 xxx in firstly Command Syntax Response Action Set GTGIS lt Type gt Language gt lt Op OK Hone GTGIS GIS Information or GTGIS ERROR Information or ERROR lt err gt Test GTGIS GTGIS list of supported lt Type gt s list of supported lt Language gt s list of supported lt Option gt s The following table shows the GTGIS parameters lt Parameter gt Description Type 1 Normal mode use GSM Cell Information for GIS query 2 Normal mode use Option for GIS query Option format 1 3 Normal mode use Option for GIS que
58. These two types of communication compose STK multiple functionalities 4 1 STK Command The commands within this document related to STK must be activated by using the command of AT CFUN 6 before the operation 4 1 1 STKPRO This command is used to list the supported initiative commands so it supports Test command only And the unsolicited result code STKPRO proactive cmd is always used Command Syntax Response Action Remarks Test AT STKPRO STKPRO 01 05 16 17 18 19 20 21 3 All supported initiative commands 2 33 34 35 36 37 38 40 53 OK Unsolicited result code STKPRO 01 lt type gt STKPRO 05 lt event list gt STKPRO 16 lt number gt lt subaddr gt lt type gt lt alpha_1 gt lt icon_id1 gt lt alpha_2 gt lt icon_id2 gt STKPRO 17 lt ss_data gt lt alpha gt lt icon_id gt lt ref_number gt STKPRO 18 lt dcs gt lt hex_string gt lt alpha gt lt icon_id gt lt ref_number gt STKPRO 19 lt alpha gt lt icon_id gt lt ref_number gt STKPRO 20 lt alpha gt lt icon_id gt lt dtmf_string gt STKPRO 21 lt URL gt lt alpha gt lt icon_id gt STKPRO 32 lt tone gt lt unit gt lt interval gt lt alpha gt lt icon_id gt STKPRO 33 lt type gt lt dcs gt lt hex_string gt lt icon_id gt lt imm_resp gt STKPRO 34 lt type gt lt dcs gt lt hex_string gt lt icon_id gt STKPRO 35 lt type gt lt dcs gt lt hex_string gt lt max rsp len gt lt min rsp len gt
59. action only value 0 possible and means upon timeout the DCE shall go on hook executing an implied ATH command then reset to FCLASS 0 G620 GPRS Module AT Command User Manual ADD Page 82 of 142 Bs FIBOCOM 3 1 22 FLI Local ID String This command determines that DCE sends the ID frame if FLI is not a zero string Command Type Syntax Set AT FLI lt local ID string The following table shows FLI parameters Parameter Description local ID string gt local ID string 20 digit string valid values are 0x20 Ox7E 3 1 23 FLO Set Flow Control This command allows setting the flow control for communication via V 24 interface Command Type Syntax Set AT FLO lt value gt The following table shows FLO parameters lt Parameter gt Description lt value gt lt value gt indicates the kind of flow control 0 DTE DCE flow control is disabled DTE DCE flow control is DC1 DC3 SW DTE DCE flow control is RTC CTS HW 3 1 24 FLP Indicate Document to Poll This command indicates document to poll By default DTE has no document to poll Command Type Syntax Set AT FLP lt value gt The following table shows FLP parameters lt Parameter gt Description lt value gt lt value gt only value 0 is allowed G620 GPRS Module AT Command User Manual ADD
60. age 25 of 142 Bs FIBOCOM 1 pic001 jpg 4 42177 2 hello txt 1 2000 3 pres smil 0 300 OK AT MMSVIEW MMSVIEW sent 1 234jpg 4 42177 2 t 1 2000 OK AT MMSVIEW OK No MMS content MMS content stored in current module for sending 2 2 11 MMSREAD Read Current Stored MMS Content This command is used to send the specific MMS content to series for output Command Syntax Response Action Remarks Set AT MMSREAD lt index gt MMSREAD lt name gt lt type gt lt size gt CR DATA OK or OK Module receives the command of AT MMSREAD and reads the corresponding file within MMS Via series it lists the file name file type and size firstly And it outputs data by CR LF and displays OK after outputting data and ends the command Below shows MMSREAD command parameter lt Parameter gt Description lt index gt MMS including file index corresponding lt index gt value of AT MMSVIEW lt name gt File name lt Type gt File type refer to appendix 1 lt size gt File size Example G620 GPRS Module AT Command User Manual ADD Page 26 of 142 Bs FIBOCOM AT MMSREAD 1 MMSREAD mms sml 0 305 Display file name type and size in first line lt smil gt Display text data directly head layout region id Text gt region id Image fit meet gt lt layout gt
61. and B amp W only 0 value 3 1 15 FCT DTE Phase C Response Timeout This command determines how long the DCE will wait for a command after having transmitted all available phase C data Command Type Syntax Set AT FCT lt value gt The following table shows FCT parameters lt Parameter gt Description lt value gt lt value gt is in range 0 FFH meaning 1 second units Default value 1EH 30 sec G620 GPRS Module AT Command User Manual ADD Page 79 of 142 Bs FIBOCOM 3 1 16 FEA Phase C Received EOL Alignment This command enables optional octet alignment of EOL markers in received T 4 data stream It does not apply to T 6 data or to any form of data Command Type Syntax Set AT FEA lt value gt The following table shows FEA parameters lt Parameter gt Description lt value gt lt value gt may be 0 determines that T 4 EOL patterns are bit aligned as received 1 determines that the last received bits of T 4 EOL patterns are octet aligned by the DCE with necessary zero fill bits inserted 3 1 17 FFC Format Conversion This command determines the DCE response to mismatches between the phase C data delivered after the FDT command and the data format parameters negotiated for the facsimile session Command Type Syntax Set AT FFC lt vrc gt lt dfv gt lt lnc gt lt wdc gt The follow
62. and allows the DCE to report the size of its data buffers Command Type Syntax Response FBS Read AT FBS lt tbs gt lt rbs gt The following table shows FBS parameters lt Parameter gt Description lt tbs gt tbs transmit buffer size lt rbs gt lt rbs gt receive buffer size 3 1 9 FBO Data Bit Order This set command controls the mapping between PSTN facsimile data and the DTE DCE link There are two choices e Direct the first bit transferred of each octet on the DTE DCE link is the first bit transferred on the GSTN data carrier Reversed the last bit transferred of each octet on the DTE DCE link is the first bit transferred on the GSTN data carrier Command Type Syntax Set AT FBO lt value gt The following table shows FBO parameters lt Parameter gt Description lt value gt lt value gt has the range 0 3 3 1 10 FBU HDLC Frame Reporting This command enables disables the DCE to report the contents of phase B and phase D HDLC frames to the DTE as they are sent and received in addition to other responses Command Type Syntax Set AT FBU lt value gt G620 GPRS Module AT Command User Manual ADD Page 76 of 142 Bs FIBOCOM The following table shows FBU parameters Parameter Description value value is in range 0 1 3 1 11 FCC DS Ca
63. arameter list OK supported by command Detail parameter instruction lt Parameter gt Description lt mode gt 0 delete automatically default 1 delete manually Example AT IPDDMODE IPDDMODE 0 OK AT IPDDMODE IPDDMODE 0 1 OK AT IPDDMODE 1 OK AT IPDDMODE IPDDMODE 1 OK 2 4 13 96IPLISTEN Turn on monitor G620 GPRS Module AT Command User Manual ADD Page 45 of 142 Bs FIBOCOM Note server does not support single link so it will turn to be multiple links after entering server mode which can monitor at most 3 clients This command cannot be used when listen port has been occupied by the same type of link Command Syntax Response Action Remarks Set IPLISTEN lt type gt OK Turn on monitor lt listen_port gt on ERROR Read 96IPLISTEN 96lPLISTEN type listen port Query the current monitor idle num configuration which is in used OK Detail parameter instruction Parameter Description type Monitor type TCP UDP listen port Monitor port number 1 65535 idle num Free links number 0 3 It indicates how many remote links can be accessed Example AT IPLISTEN TCP 2222 OK AT IPLISTEN IPLISTEN TCP 2222 0 OK 2 4 14 IPSP Set the delay sending parameter Command Syntax Response Action Remarks Set IPSP lt msel gt OK Set the delay sending oi parameter ERROR 5
64. c OK Enables disables FTP unsolicited enon Or ERROR lt error_code gt indication 0 Indication disabled 1 Indication enabled When indication is enabled G600 will send the user all FTP commands and responses by the following unsolicited response format FTPINFO lt data gt Read FTPINFO FTPINFO lt indication gt Returns FTP indication status OK 0 Indication disabled 1 Indication enabled Test FTPINFO FTPINFO range of Return command format supported lt indication_status gt s OK G620 GPRS Module AT Command User Manual ADD Page 57 of 142 Bs FIBOCOM The following table shows the FTPINFO parameters lt Parameter gt Description Range Indication status FTP unsolicited indication status Numeric in 0 1 range Example The example illustrates FTP connection open success case when FTP unsolicited indication is enabled AT FTPINFO 1 OK AT FTPOPEN someftpsite com anonymous qwerty somemail com OK FTPINFO 220 FTPINFO 220 Welcome to someftpsite com FTPINFO 220 FTPINFO 220 someftpsite com FTP server SecureMb FTP Version 1 0 ready FTPINFO USER anonymous FTPINFO 331 Guest login ok send your complete e mail address as password FTPINFO PASS qwerty somemail com FTPINFO 230 Guest login ok access restrictions apply FTPOPEN 1 2 6 4 FTPCWD Change Working Directory This command causes the G600 to request the remote FTP server to change the working direct
65. ccsseccssecsssecssseesusecsnseessscesuseesueesneessneccsnecessescsseesuseesusessueesneeesneeess 74 up DIM cT bep 74 FDR Receive Data 74 FIP Initialize Facsimile Parameters ssssssccsssccsseccseecssscsseecssecesuseesseccsneccsneccsseesssecssseessseesseesneessneeesseesse 74 FFKS FK Session Termination uu sescsescsescsesesssenscsnsecssscsssessscssscsseesssesscessecssecsusessecssecsesesseesseesseesseesseenseeste 75 FAA Adaptive ANSWEL 75 FAP Address amp Polling Capabilities 0 essessssscsssecsseecsssecsseecsusecsseecsueecssecsssecssseccssecssseessseesueesneeesneeess 75 FBS Buffer Size setetere estere peebeteree besides tiber a A drtuto cet hii bred eU 76 AOMBE IRAD o C peA E E 76 FBU HDLC Frame Reporting 0 sscsescsscsescsscssscssscssscssscssscsssesssessecssscsnecssecssecssecssecssecsssesseesseesseesseesseesseests 76 FCC DS Capabilities Parameters ecsesssssssessseesssecssescsssecssescsusecsseecsueccsseecssecssseccssecsuseesseeesueeesneessneeess 77 FCOQ Copy Quality Checking un sesssssscsseccsseccsseecssecsssecsssecssecesssccsusecsueecsueccsseccsseesssecssseessseessseesueeesneeesneeese 78 FCR Capability to Receive Data on escssssssssssseessscssecsseecsssecsseecsueecssescsueccsseecssecsssecssseesuseesseeesueeesseeesneeess 78 FCS Current Session Results esssescssescsseecseecsseccsecsseecsssecsseeessecesusecsseecsueccsseecssecssseccsseessseessecesueeesneeesn
66. close the existing browser session and launch new browser session URL URL that shall be loaded lt bearer gt 00 SMS 01 CSD 02 USSD 03 GPRS lt gateway gt This text gives to the mobile the name identity of the Gateway Proxy to be used for connecting to the URL lt Ref_1 gt lt Ref_n gt Provisioning File Reference lt result gt see command STKTR lt add_result gt see command STKTR Example AT STKLBR 0 0 OK 4 2 Examples The SIM card used in this example is belonged to Easyown which may have different services to other SIM card To show the Chinese characters in menu it needs set AT CSCS UCS2 first Use AT CFUN 6 to activate STK functionalities AT CFUN 6 OK STKPRO 33 0 8 8F 7B677E753 1621 1795E5DDE884CFF01 0 0 Easyown OK It will receive the unsolicited result code STKPRO after sending AT CFUN 6 and return the initiative command 33 As previous section mentioned 33 indicates texture and has the same format to STKPRO 33 lt type gt lt dcs gt lt hex_string gt lt icon_id gt lt imm_resp gt and shows 8F7B677E7531621 1795E5DDE884CFF01 User can decide to show or not as desired It returns in the format of STKTR 33 lt result gt lt add_result gt AT STKTR 33 0 255 lt result gt 0 indicates succeed to command G620 GPRS Module AT Command User Manual ADD Page 103 of 142 Bs FIBOCOM OK STKPRO 37 0 795E5DDE884C59295730 1 7 8F7B677E95EE5019 0 0 0 Gr
67. d User Manual ADD Page 100 of 142 Bs FIBOCOM CME ERROR lt error gt Read AT STKPROF STKPROF lt length gt lt data gt e g STKPROF 2 1F7F OK Test AT STKPROF OK Parameter meaning lt length gt integer type value number of hex values that are sent to TE in data Note lt length gt set to 0 forces a reset to the default terminal profile stored in the ME lt data gt terminal profile data coded in hex format Example AT STKPROF 2 1F7F OK 4 1 5 STKCC SIM APPL TK call control command The SIMAP call control status is displayed using the unsolicited result code STKCC lt cc_command gt defined as STKCC 1 lt res_val gt lt alpha gt lt number gt STKCC 2 lt res_val gt lt alpha gt lt ss_code gt STKCC 3 lt res_val gt lt alpha gt lt ussd_code gt STKCC 4 lt res_val gt lt alpha gt lt ton_npi gt lt sc_addr gt lt ton_npi gt lt dest_addr gt Parameter meaning lt cc_command gt may be 1 set up call 2 send SS 3 send USSD 4 send SM res val call control result value alpha text string number called party number G620 GPRS Module AT Command User Manual ADD Page 101 of 142 Bs FIBOCOM lt ton_npi gt type of number and numbering plan lt sc_addr gt service centre address lt dest_addr gt destination address 4 1 6 STKCNF SIM APP TK proactive session status STKCNF The SIMAP proactive session status
68. decode the received data file for end of file detect see FTP Connection on page 1 1 When the remote FTP server closes data connection G600 switches back to Command Mode and returns lt result gt parameter 1 success case e nany stage of file transfer an error can occurred In this case G600 switches to Command Mode and result 0 return to the user Command Syntax Response Action Remarks Set FTPRETR lt file_n OK FTPRETR lt result gt lt file_name gt parameter consists of the G620 GPRS Module AT Command User Manual ADD Page 68 of 142 Bs FIBOCOM ame gt or ERROR error code file name as well as the file path file type optional file type parameter is optional Default value is 1 binary The command execution result return to the user as an unsolicited response 0 operation fails 1 operation success 2 data connection ODM enabled Read FTPRETR ERROR Not supported Test FTPRETR FTPRETR file Return command format name gt 0 1 OK The following table shows the FTPRETR parameters lt Parameter gt Description Range File name Name of file to be retrieved from the String max length is 255 octets remote side File type Type of file ASCII or Binary Numeric in the range of 0 1 0 ASCII 1 Binary Example The example illustrates the command execution Reque
69. e gt Example MSTI SIM 11 MMS PUSH 2 2 8 MMSRDPUSH Read the Content of PUSH Message This command is used to read the content of PUSH message location gt lt time gt lt size gt OK or CME ERROR lt err gt Command Syntax Response Action Remarks Set AT MMSRDPUSH Module receives the command of AT MMSRDPUSH MMSRDPUSH lt index and shows the lt sender gt lt transactionID gt lt lt index gt MMS content after resolving The content shown includes the transferring ID address of storage sending number and MMS size Below shows MMSRDPUSH command parameter lt Parameter gt Description lt index gt The position of PUSH message in SIM card lt sender gt MMS sending address lt transaction ID gt MMS transferring ID lt location gt MMS storage position lt time gt MMS sending time lt size gt MMS data packet size G620 GPRS Module AT Command User Manual ADD Page 22 of 142 Bs FIBOCOM Example AT MMSRDPUSH 11 MMSRDPUSH 1381818181877 ONORPFNTWRBB HTTP 21 1 136 113 36 Read PUSH message content ONORPFNTWRBB 7 10 12 20 18 33 594321920 OK AT MMSRDPUSH 10 ERROR AT MMSRDPUSH ERROR AT MMSRDPUSH ERROR Return ERROR if it is not PUSH message 2 2 9 MMSRECV Download MMS from Server This command is used to download MMS from server
70. e DTR line status from ON to OFF when AT amp D settings 2 or 3 The G600 operation modes switching is shown in below figure Data Transfer Begin aA G600 Online Data Mode G600 Command Mode Data Transfer End Note AT amp D settings 2 or 3 The operation closes actual FTP connection and switches G600 to command mode AT amp D settings 1 does not affect Established FTP connection can be closed when G600 is in command mode by AT FTPCLOSE command or by changing DTR line status from ON to OFF when data transfer operations is performed G600 is in online data mode 2 5 3 Manage Remote File System When FTP connection is established the user is able to manage file system on the remote FTP server like create remove change directory rename or delete a file The following FTP commands are used for remote file system management purpose FTPCWD changes working directory on remote server FTPMKD create a new directory on remote server FTPRMD removes existing directory on remote server FTPPWD returns actual working directory name from remote server FTPCDUP changes working directory on remote server up to parent directory FTPDEL delete a file on remote server FTPREN rename a file on remote server 2 5 4 File Transfer Operations The file transfer operation allows the user to transfer a file over an established FTP connection To avoid end of file detection probl
71. e and carries the user data and any convergence layer information The field is octet structured The information field is only present in frames UI frames and UIH frames 5 2 7 Frame Checking Sequence Field FCS The FCS field has only one octet the generator polynomial is x8 x2 x 1 For the UIH frame the FCS shall be calculated over only the address and control fields For the command response frame the FCS shall be calculated include the address control and length fields G620 GPRS Module AT Command User Manual ADD Page 110 of 142 Bs FIBOCOM 5 3 Sample 5 3 1 Start up Services Host G600 AT CMUX 0 0 5 Use AT command AT CMUX to active multiplexer The syntax is AT4 CMUX mode subset port speed N1 2 T1 2 N2 2 X T22 T3 k TITTITI Parameter Mode the mode of multiplexer G600 G610 must be set to 0 0 Basic mode 1 Advance mode Subset type of frame 0 for G600 G610 0 UIH frames used only 1 UI frames used only 2 frames used only Port speed 1 9600 bit s 2 19200 bit s 3 38400 bit s 4 57600 bit s 5 115200 bit s 6 230400 bit s N1 Maximum Frame Size 1 32768 default is 31 suggest less than 127 G620 GPRS Module AT Command User Manual ADD Page 111 of 142 Bs FIBOCOM T1 Acknowledgement Timer unit 10ms 1 255 default value is 10 100ms N2 Maximum number of retransmissions 0 100 default 3 T2 Response timer for the multiplexer control chann
72. e and return OK to series If it cannot receive any data within a minute it will quit receiving mode directly and return ERROR to series Read AT MMSTXT MMSTXT Read the coding format and size of lt ENCODE gt lt LENGTH gt current module It returns OK if no OK content Test AT MMSTXT MMSTXT list of Test the setting format of this command supported lt range of coding format and range of ENCODE gt s list of length supported lt LENGTH gt s Below shows MMSTXT command parameter AT MMSTXT 0 1024 OK DATA OK AT MMSTXT lt Parameter gt Description lt ENCODE gt Data coding format 0 ASCII coding 1 GB2312 coding lt LENGTH gt Data length which less than 8 bytes Example O indicates ASCII coding format Module returns OK and wait for the user to input data User inputs data Receive data and return OK MMSTXT 0 1 1 8096 OK AT MMSTXT G620 GPRS Module AT Command User Manual ADD Page 16 of 142 Bs FIBOCOM MMSTXT 0 gt 1024 OK 2 2 4 MMSIMG Input the MMS Image Data to Module via Series This command is used to input the MMS image data to module via series for sending MMS There are two interactions between user and module via series First one is for sending image format and size The other is for image data Command Syntax Response Action Remarks Set AT MMSIMG lt TY OK Module receives
73. e is reach 2 5 5 Other FTP Operations G600 provides FTPINFO feature allows user to receive more information about FTP connection and FTP commands execution When the feature enables all FTP commands send by G600 to remote server and all FTP responses receives by G600 from remote server are prints to user as FTPINFO text unsolicited response Use AT FTPINFO 1 for the feature enable and AT FTPINFO 0 for the feature disable in any G600 operation time when G600 is in command mode 2 5 6 Interaction with MIPODM Command The external ODM session is prohibit when FTP feature executed because FTP feature data connection based on socket opened for ODM internal ODM session so when G600 receives MIPODM command within FTP connection the error code 302 FTP session is active returns to user 2 5 7 Interaction with MIPOPEN and MIPCLOSE Commands User cannot initiate FTP connection with MIPOPEN command as well as close FTP connection with MIPCLOSE command However MIPOPEN and MIPCLOSE commands in read state still indicate actually used unused sockets include sockets allocated for active FTP connection e AT MIPOPEN indicates inactive sockets include allocated for active FTP connection AT MIPCLOSE indicates active sockets include allocated for active FTP connection When G600 receives MIPCLOSE command for close a socket used within FTP connection the error code 302 FTP session is active returns to user G
74. e is then as follows Flag Address Control Length Indicator Information FCS Flag 1 1 octet 1octet 1 or 2 octets Unspecified length but 1 octet 1 octet octet integral number of octets 5 2 2 Flag OxF9 for basic mode 0x7E for advance mode G600 G610 only support the Basic mode 5 2 3 Address Field The address field consists of a single octet It contains the Data Link Connection Identifier DLCI the C R bit and the address field extension bit 1 2 3 4 5 6 7 8 G620 GPRS Module AT Command User Manual ADD Page 108 of 142 Bs FIBOCOM EA C R DLCI EA use for extend the address EA bit is always set to 1 C R command response see below Command response Direction C R value Command Initiator gt Responder 1 Responder gt Initiator 0 Response Initiator gt Responder 0 Responder gt Initiator 1 DLCI DLC ID Data Link Connection Identifier range from 0 63 The DLCl is used to identify an individual user information stream as well as to identify connections between TE and MS 5 2 4 Control Field The content of the control field defines the type of frame FrameType BIT1 BIT2 BIT3 BIT4 BIT5 BIT6 BIT7 BIT8 SABM 1 1 1 1 P F 1 0 0 UA 1 1 0 0 P F 1 1 0 DM 1 1 1 1 P F 0 0 0 DISC 1 1 0 0 P F 0 1 0 UIH 1 1 1 1 P F 1 1 1 Ul 1 1 0 0 P F 0 0 0
75. eck received local IP address MIPCALL 1 10 206 243 14 OK The operation above is checking the condition of current network and module Activate PDP manually and connect to GPRS network General mode of LBS Query GIS information by base station in English AT GTGIS 1 OK GTGIS latitude 22 538571 longitude 1 13 937901 country China country_code CN region Guangdong city Shenzhen street Shennan Ave street number No 1 General mode of LBS Query GIS information by base station in Chinese AT GTGIS 1 2 OK GTGIS latitude 22 538571 longitude 113 937901 country P s country_code CN region RA city ADIT 7 street PRA ATE street number 1 4 General mode of LBS Query GIS information by GPS coordinate in Chinese AT GTGIS 2 2 22 538571 113 937901 OK GTGIS latitude 22 538571 longitude 113 937901 country P s country_code CN region Ra city YRI street YRA ATE street number 1 4 General mode of LBS Query GIS information by GPS coordinate in Chinese Pay attention to the G620 GPRS Module AT Command User Manual ADD Page 132 of 142 Bs FIBOCOM different format with example above AT GTGIS 3 2 2232 3143 N 11356 2741 E OK GTGIS latitude 22 5385 longitude 1 13 9379 country P F country code CN region ZR 44 city VARI i street TR PS ATE street number 1 5 G
76. ed MMSVIEW received 8618901073878 11 07 16 09 56 044 32 75631 1 smil xml 0 369 2 text O txt 1 22 3 IMG 20110716 095408 jpg 4 75105 OK AT MMSREAD 2 read the MMS text content 2 is the index number MMSREAD text O txt 1 22 text info name data type and size G amp T s G610 module MMS test text content OK AT MMSREAD 3 read the MMS image content 3 is the index number MMSREAD IMG 20110716 095408 pg 4 75105 image name data type and size The followed data is the image content please saved as the same format file G620 GPRS Module AT Command User Manual ADD Page 31 of 142 Bs FIBOCOM Screenshot of MMS FINN G610 Q5OMliS ks 7 4 Ld FFU C6 1 OMIA S2 8 8 pat Screenshot of AT command HISTI SM 18 MMS PUSH ATHIMSRDPUSH 18 HIMSRDPUSH 18901013818 QJ4ERi qKTJTI http 221 179 185 231 QJ4ERi qKTJTI 11 07 16 09 56 04 32 T5631 IATHMMSRECV 18 HMMSRECY 18901073878 11 07 16 09 56 04 32 T5631 lox FMMS RATE 15 NMS RATE 32 HHS RATE 49 FMMS RATE 66 HMMS RATE 83 1 smil xml 0 368 12 text D txt 1 22 JOK JAT HMMSVIEW HMMSVIEW received 86189010T3878 11 07 16 08 56 04 32 75631 1 smil xml 0 369 I2 text 0 txt 1 22 3 IMG 20110715 095408 jpg 4 75105 OK AT MMSREAD 2 tMMSREAD text D txt 1 22 lr MAc 1 OEE Mist v HFX kor A E NSAVE2O11 T
77. ed if not editing image content 2 3 6 Edit MMS Voice Content optional AT MMSAUD lt TYPE gt lt LENGTH gt e g AT MMSAUD 0 50000 OK transferring data OK Description Coding types are 0 1 and 2 which indicates MIDI AMR and WAV formats Its length cannot be over 64Kb and the MMS total length cannot be over 300 000 bytes or it will quit with error Input this command and wait for the OK returned Then import data via series tool and get OK returned again at the end of command processing The content will not be saved without power This step can be skipped if not editing image content G620 GPRS Module AT Command User Manual ADD Page 29 of 142 Bs FIBOCOM 2 3 7 Send MMS AT MMSSEND lt DA gt lt SUB gt lt TEXT gt lt IMAGE gt lt AUDIO gt e g AT MMSSEND 1 3902965084 1 1 0 0 OK parameter is correct and ready to send OK send successfully Description Module receives this command and evaluates if the parameter is correct If it is incorrect it returns ERROR and ends the command processing If it is correct it will return OK and package the module data to send The sending time and data size is affected by the network Generally it takes about 60 seconds to send a 60Kb MMS and returns OK for success or ERROR for failure Once the text image and voice data are imported into module they will be stored unless power down or re import The MMS sending can be optional with the setting of parameter switch 2 3 8
78. eeess 78 FCT DTE Phase C Response Timeout uu sseessssscsssecsssecsseecssssesseccsueecsueccssecesseecssecssseccsseessseesseeesueeesneeesneeess 79 FEA Phase C Received EOL Alignment uuu sesssssscsssscsssecsssecsseecsssecsseecsueecsseccsseccsseccsseessseesseeesueeesseeesneeess 80 X FEG Format CONVE ON oe RERESRIRERPREREREREHERIRERIRERIRERE ERI ER IDA DRESR ERR IR 80 G620 GPRS Module AT Command User Manual ADD Page 5 of 142 Bs FIBOCOM 3 1 18 FHS Call Termination Status sesssssssseecseccssescsecsssecsnecssseessescsusecssescsueccsseecsueessseecsseessseesseeesueesneeessees 81 3 1 19 FIE Procedure Interrupt Enable ou esssssssssescssescsseecsseecsseecsseccsseesssecssseessssesuseesseeesueeesseessneesaseessseesnseess 81 3 1 20 FIS Current Session Parameters ou ssssssssssssscssecssecssecssecssecsecserssesssecasscasecssecssesasecuseeasecuesssesaceeneeesenseenss 81 3 1 21 JIMTasduz 82 31 22 4FL LOCAl ID Stri ssssssessdisssesrsiesrossiosseissssssrosadisseosrsissaosa dus toisrdiaerosa 0i teoendizsanea i eosn idzaro d i eess dizes naai rossdisat 83 3 1 23 FLO Set Flow Control eerte eese eren rtenntenntttnntonntttnneton netos iseina ii iiaeiai iiss 83 3 1 24 FLP Indicate Document to Poll nn eesssescsseecsseecssescsseccsseccsseccsseccssecsssecsuseessscesuseesseeesuecesseessnecesseesssecsnseess 83 3 1 25 amp FMI Request Manufacturer Identification ssscsssssccssssescsseccssseccsss
79. eeting STKPRO 37 0 795E5DDE884C59295730 2 7 77EDA4FE17FA453D1 0 0 0 Mass SMS STKPRO 37 0 795E5DDE884C59295730 3 7 670065B063A88350 0 0 0 Recommendation STKPRO 37 0 795E5DDE884C59295730 4 7 4E1A52A17CBE9009 0 0 0 Featured services STKPRO 37 0 795E5DDE884C59295730 5 7 77ED4FE1670D52A15385 0 0 0 SMS Agent service STKPRO 37 0 795E5DDE884C59295730 6 7 8D224FE19014 0 0 0 Finance Info service STKPRO 37 0 795E5DDE884C59295730 7 7 00530049004D53614FE1606F0 00 SIM Info STKPRO OKAY Return initiative command 33 and get 37 back to list main menu which including each menu ID 1 7 Create menu and return AT STKTR 37 0 255 OK Take the Finance Info Service as example AT STKENV 211 6 0 OK STKCNF 129 0 255 145 STKPRO 36 0 1 4 8D227BA15BB6 0 0 0 Wealth Management STKPRO 36 0 72 4 884C60C5901 0 0 0 News of Stock Market STKPRO 36 0 73 4 91D1624B638C 0 0 0 Stock Recommendation STKPRO 36 0 74 4 83DC53557BA16406 0 0 0 Menu Management STKPRO OKAY Above shows the corresponding sub menu whose id 1 4 Select the Wealth Management with this command AT STKTR 36 0 255 0 0 01 01 The first item OK STKCNF 36 0 255 145 STKPRO 36 0 71 5 5B9A5236 0 0 0 Custom STKPRO 36 0 72 5 67E581EA900980A1884C60C5 0 0 0 Check Optional Stock STKPRO 36 0 73 5 6DF852A081EA900980A1 0 0 0 Add Optional Stock STKPRO 36 0 74 5 4E1A52A14ECB7ECD 0 0 0 Business Instruction STKPRO
80. efault text formatting lt max rsp len gt maximum response length min rsp len minimum response length next action next action lt number gt called party number proactive cmd may be 01 refresh 05 set up event list G620 GPRS Module AT Command User Manual ADD Page 91 of 142 Bs FIBOCOM 16 set up call 17 send SS 18 send USSD 19 send SMS 20 send DTMF 21 launch browser 32 play tone 33 display text 34 get inkey 35 get input 36 select item 37 set up menu 38 language setting 40 set up mode text 52 run at cmd info 53 language notification ref number reference number lt subaddr gt called party subaddr lt ss_data gt data String lt start_pos gt lt start_pos1 gt lt start_pos2 gt start position of the text formatting Set to the number of characters after the formatting shall be applied from the beginning of the SM data lt type gt integer as command qualifier possible value 4 meaning language lt text colour gt may be 00 black 01 dark grey 02 dark red 03 dark yellow 04 dark green 05 dark cyan 06 dark blue 07 dark magenta 08 grey 09 white G620 GPRS Module AT Command User Manual ADD Page 92 of 142 Bs FIBOCOM 10 bright red 11 bright yellow 12 bright green 13 bright cyan 14 bright blue 15 bright magenta lt tone gt tone may be 01 dial tone 02 call
81. el unit 10ms 2 255 default value is 30 300ms T3 Wake up response timer unit s 1 255 default value 10 K reserved 5 3 2 Establishment Services 5 3 2 1 Establishment the control channel The control channel DLCO must be establishment firstly after active the multiplexer by AT CMUX Host G600 SABM frame for create DLCO F9 03 3F 01 1C F9 UA Confirm F9 03 73 01 D7 F9 5 3 2 2 Establishment Data Channel Establishment DLC1 G620 GPRS Module AT Command User Manual ADD Page 112 of 142 Bs FIBOCOM Host G600 SABM frame for create DLC1 F9 07 3F 01 DE F9 UA Confirm F9 07 73 01 15 F9 Establishment DLC2 Host G600 SABM frame for create DLC2 F9 OB 3F 01 59 F9 UA Confirm F9 OB 73 01 92 F9 5 3 3 Data Services After established the DLCx We can send data to G600 G610 by UIH frame For example send AT CSQ from DLC1 other DLC is similar The frame data between host and G600 like this G620 GPRS Module AT Command User Manual ADD Page 113 of 142 Bs FIBOCOM Host i G600 UIH Frame include AT CSQ F9 07 EF11 41 54 2b 43 53 51 0D 0A 2B F9 UIH from G600 include CSQ 99 99 OK F9 05 EF 1F OD OA 2B 43 53 51 3A 20 39 39 2C 39 39 OD OA AO F9 F9 05 EF OD OD OA 4F 4B OD OA 5F F9 5 3 4 DLC Release Services 5 3 4 1 Release Data Channel Release DLC1 Host G600 DISC Frame to release DLC1 F9 07 53 01 3F F9 UA Confirm F9 07 7301 15 F9 Release DLC2 G620 GPRS Module AT C
82. em for user in download case and for G600 in upload case G600 implements a special format of transferred files over FTP connection The format proposed escaping one of ASCII symbols from file context and using the escaped symbol as end of file marker An escaping algorithm described below The algorithm defines two special characters EOF end of file character and ESC escape character EOF G620 GPRS Module AT Command User Manual ADD Page 53 of 142 Bs FIBOCOM symbol is hexadecimal 0x03 decimal 3 ASCII ETX symbol and ESC symbol is hexadecimal 0x10 decimal 16 ASCII DLE symbol not to be confused with the ASCII ESCape character To encode a file to FTP File Transfer Format the user or G600 shall read each data byte from source file and perform following operation e When a data byte has the same code as EOF character a two byte sequence of ESC and EOF characters is sent instead e When a data byte has the same code as ESC character a two byte sequence of ESC and ESC characters is sent instead e When end of file is reach EOF character is sent To decode a file from FTP File Transfer Format the user or G600 shall read each data byte from source file and perform following operation e When a data byte has the same code as ESC character and next data byte is ESC or EOF character the first byte should be ignored e When a data byte has the same code as EOF character and previous data byte is not ESC character end of fil
83. er com 255 255 255 255 FTPSTAT 2 Logged in as anonymous FTPSTAT 2 TYPE ASCII FORM Nonprint STRUcture File transfer MODE Stream FTPSTAT 2 No data connection FTPSTAT 2 0 data bytes received in 0 files FTPSTAT 2 0 data bytes transmitted in 0 files FTPSTAT 2 0 data bytes total in 0 files FTPSTAT 2 30 traffic bytes received in 0 transfers FTPSTAT 2 535 traffic bytes transmitted in 0 transfers FTPSTAT 2 614 traffic bytes total in 0 transfers FTPSTAT 1 The second example illustrates using FTPSTAT command with a parameter containing a name of actually present on remote server file In this case the specific file status is returned G620 GPRS Module AT Command User Manual ADD Page 65 of 142 Bs FIBOCOM AT FTPSTAT somefile name OK FTPSTAT 2 rw rw r 1 1001 653793 May 2 03 33 somefile name FTPSTAT 1 The third example illustrates using FTPSTAT command with a parameter containing a name of file which does not exist on the remote server file In this case the remote server returns No such file or directory string and command is finished successfully AT FTPSTAT anotherfile name OK FTPSTAT 2 bin Is anotherfile name No such file or directory FTPSTAT 1 The fourth example illustrates using FTPSTAT command with a parameter containing an illegal file name In this case the remote server returns error and FTP connection is closed by the remote side AT FTPSTAT OK FTPSTAT 0 FTPCLOSE
84. es are 0 and 1 which indicates ASCII and GB2312 80 formats Its length cannot be over 64 bytes or it will quit with error Input this command and wait for the OK returned Then import data via series tool and get OK returned again at the end of command processing The content will not be saved without power This step G620 GPRS Module AT Command User Manual ADD Page 28 of 142 Bs FIBOCOM can be skipped if not editing subject 2 3 4 Edit MMS Text Content optional AT MMSTXT lt ENCODE gt lt LENGTH gt e g AT MMSTXT 0 1000 OK transferring data OK Description Coding types are 0 and 1 which indicates ASCII and GB2312 80 formats Its length cannot be over 8092 bytes or it will quit with error Input this command and wait for the OK returned Then import data via series tool and get OK returned again at the end of command processing The content will not be saved without power This step can be skipped if not editing text content 2 3 5 Edit MMS Image Content optional AT MMSIMG lt TYPE gt lt LENGTH gt e g AT MMSIMG 0 65535 OK transferring data OK Description Coding types are 0 and 1 which indicates jpg and gif formats Its length and the MMS total length cannot be over 300 000 bytes or it will quit with error Input this command and wait for the OK returned Then import data via series tool and get OK returned again at the end of command processing The content will not be saved without power This step can be skipp
85. f coding format and range of ENCODE gt s list of length supported lt LENGTH gt s OK G620 GPRS Module AT Command User Manual ADD Page 14 of 142 Bs FIBOCOM Below shows MMSSUB command parameter lt Parameter gt Description lt ENCODE gt Data coding format 0 ASCII coding 1 GB2312 coding lt LENGTH gt Data length which less than 64 bytes Example AT MMSSUB 0 50 Oindicates ASCII coding format OK Module returns OK and wait for the user to input data DATA User inputs data OK Receive data and return OK AT MMSSUB MMSSUB 0 1 1 64 OK AT MMSSUB MMSSUB 0 50 OK 2 2 3 MMSTXT Input the MMS Text Data to Module via Series This command is used to input the MMS text data to module via series for sending MMS There are two interactions between user and module via series First one is for sending coding format and size The other is for text data Command Syntax Response Action Remarks Set XMMSTXT 2 ENCO OK Module receives the command of AT DE gt lt LENGTH gt ei MMSTXT lt ENCODE gt lt LENGTH gt and return OK via series It will not accept other AT command until receiving data from series The data from series will be treated as text data When the received ERROR G620 GPRS Module AT Command User Manual ADD Page 15 of 142 Bs FIBOCOM data equals to preset size it will quit receiving mod
86. fails 1 operation success Read FTPDEL ERROR Not supported Test FTPDEL FTPDEL file Return command format name gt OK The following table shows the FTPDEL parameters lt Parameter gt Description Range File name Name of file to be deleted on the String max length is 255 octets remote side Example The example illustrates delete file success case AT FTPDEL somefile OK FTPDEL 1 2 6 10 FTPREN Rename File This command causes the G600 to request the remote FTP server to rename a file in accordance to given parameters Command Syntax Response Action Remarks Set FTPREN lt file_n OK FTPREN result file name from and file name to ame from or ERROR error code parameters consists of the file name as G620 GPRS Module AT Command User Manual ADD Page 62 of 142 Bs FIBOCOM lt file_name_to gt well as the file path optional The command execution result return to the user as an unsolicited response 0 operation fails 1 operation success Read FTPREN ERROR Not supported Test FTPREN FTPREN file name Return command format from lt file name to gt OK The following table shows the FTPREN parameters lt Parameter gt Description Range File name from Old name of file to be renamed on String max length is 255 octets the remote side File na
87. file directory path name gt FTPLIST lt result gt or optional The command execution ERROR lt error_code gt result return to the user as an unsolicited response 0 operation fails 1 operation success 2 data follows Read FTPLIST ERROR Not supported Test FTPLIST FTPLIST Return command format lt file directory name gt OK The following table shows the FTPLIST parameters lt Parameter gt Description Range File directory name Name of file or directory on the String max length is 255 octets remote side for list request Jan Example The first example illustrates get list for specific file success case AT FTPLIST somefile name OK FTPLIST 2 rw rw r 11001 0 Mar 26 2006 somefile name FTPLIST 1 The second example illustrates get list for all files success case AT FTPLIST OK FTPLIST 2 rw rw r 11001 129886 Mar 23 06 20 somefile1 name rw rw r 11001 4968 8 07 57 somefile2 name rw rw r 1 1001 23948 Jan 807 32 somefile3 name rw rw r 11001 0Feb701 56 somefile4 name rw rw r 11001 204673 Jan 10 02 28 somefile5 name W FW r 11001 9348 Jul 19 2006 somefile6 name FTPLIST 1 2 6 12 FTPSTAT Request Status This command causes the G600 to request the remote FTP server to send status in accordance to a given parameter G620 GPRS Module AT Command User Manual ADD Page 64 of 142 Bs FIBOCOM Note Parameter is optional When
88. ing detection _mode gt function or ERROR Read MJDC MJDC Read the current value and condition of lt mjde_mode gt jamming_ jamming detection detection OK Test MJDC MJDC range lt mjdc_mod Test the setting format and range of this e gt command OK Unsolicited MIDC lt jamming_detecti Indicate the received condition Report on gt The following table shows the MJDC parameters lt Parameter gt Description lt mjdc_mode gt 0 jamming detection off default 1 jamming detection on jamming detection 0 no jamming signal 1 with jamming signal Example AT MJDC 1 OK MJDC 1 turn on Jamming detection Module turns on jamming detection and reports with unsolicited result code MJDC 0 if jamming signal is detected Module turns on jamming detection and reports this if jamming signal is gone G620 GPRS Module AT Command User Manual ADD Page 141 of 142 Bs FIBOCOM 12 2 Reset SIM Card by AT Commands In following cases SIM card can be reset by AT commands and work after registering to network again 1 The physical link between module and SIM card is alright but they cannot communicate with each other because of vibrancy or other reasons 2 SIM card inserted after module power on Set OK AT GTSIMRST It returns OK only if the address book of SIM card is ok G620 GPRS Module AT Command User Manual ADD Page 142 of 142
89. ing table shows FFC parameters lt Parameter gt Description lt vrc gt vrc vertical resolution format codes may be 0 ignored enabled enabled for 1 D data enabled for 2 D data dfc dfc data format codes may be 0 ignored checking enabled conversion Inc Inc page length format codes may be 0 ignored checking enabled conversion for 1 D data G620 GPRS Module AT Command User Manual ADD Page 80 of 142 Bs FIBOCOM conversion enabled for 2 D data wdc wdc page with format codes may be 0 ignored checking enabled conversion enabled 3 1 18 FHS Call Termination Status This command indicates the cause of a hang up FHS is set by the DS at the conclusion of a FAX session The DCE resets this value to 0 at the beginning of phase A Command Type Syntax Response FHS Read AT FHS lt value gt The following table shows FHS parameters lt Parameter gt Description lt value gt lt value gt may be in range 0 FFH 3 1 19 FIE Procedure Interrupt Enable This command allows either station to initiate interrupts the other station may ignore or accept the requests Command Type Syntax Set AT FIE lt value gt The following table shows FIE parameters lt Parameter gt Description lt value gt lt value gt only value 0 is allowed
90. ive TCPIP GPRS Not Attach TCPIP Another Operation going TCPIP PDP Active TCPIP Not Support In Multi Mode TCPIP Not Support In Single Mode TCPIP Index Invalid TCPIP Del Mode Invalid TCPIP This Command Is Forbidden Now G620 GPRS Module AT Command User Manual ADD Page 118 of 142 Bs FIBOCOM 29 TCPIP TX Window Full 30 TCPIP In Audio Call Retry Later 31 TCPIP Unknown 7 2 FTP Error Code Parameter Description lt Err gt 100 unknown 4 operation not supported 25 Invalid characters in text string 34 numeric parameter instead of text parameter 36 numeric parameter out of bounds 301 PDP Inactive 302 FTP session is active 303 FTP session is inactive 304 FTP command in progress 305 MIPODM mode in progress 7 3 MMSError Code Parameter Description lt Err gt 3000 ok 3001 no network 3002 PDP is activated 3003 PDP active fail 3004 socket create fail 3005 socket connect fail 3006 WSP create fail 3007 WSP connect fail 3008 WTP create fail 3009 header pack fail 3010 PDU pack fail 3011 PDU unpack fail G620 GPRS Module AT Command User Manual ADD Page 119 of 142 Bs FIBOCOM 3012 data receive fail 3013 receive result error 3014 PDP is break 3015 param error 3016 no content 3017 malloc error 3018 http bad request 3019 other err
91. l port number 1 65535 Can leave it empty for random number type Link type TCP UDP lt link_num gt Link number 1 3 Example AT96IPOPENX IPOPENX 1 G620 GPRS Module AT Command User Manual ADD Page 36 of 142 Bs FIBOCOM 2 3 OK AT IPOPENX IPOPENX 1 3 TCP UDP OK AT IPOPENX 1 TCP SZGPS XICP NET 3000 CONNECT AT96IPOPENX IPOPENX 1 TCP 61 144 175 231 3000 4099 2 3 OK 2 4 4 IOMODE Set the working mode of protocol stack which can only be used when all links are not activated Command Syntax Response Action Remarks Set 96J OMODE n OK Set the working mode of protocol link_flag gt lt buffer ap stack which can only be used _flag gt when all links are not activated ERROR Read IOMODE IOMODE Query the current working mode lt n gt lt link_flag gt lt buffer_flag of protocol stack gt OK Test IOMODE IOMODE list of lt n gt list Query the available working of link flag list of mode parameter for protocol buffer flag stack OK Detail parameter instruction Parameter Description n 0 no conversion on importing and outputting data G620 GPRS Module AT Command User Manual ADD Page 37 of 142 Bs FIBOCOM 1 Convert the import and output data default link flag 1 Single link mode default 2 Multiple links m
92. lective polling address string gt lt selective polling address string gt 20 digit string valid values 0 9 space 3 1 33 FPI Local Polling ID String This command allows the DCE to send the ID frame if FPI is not a zero string Polling is not supported Command Type Syntax Set AT FLI lt local polling ID string The following table shows FPI parameters Parameter Description local polling ID string local polling ID string only zero string polling is not supported 3 1 34 FPP Packet Protocol Control This command allows controlling the packet protocol The packet protocol is not supported Command Type Syntax Set AT FPP lt value gt The following table shows FPP parameters lt Parameter gt Description lt value gt lt value gt only value 0 allowed 3 1 35 FPS Page Status This parameter contains a value representing the post age response including copy quality and related end of page status Command Type Syntax Set AT FPS lt value gt G620 GPRS Module AT Command User Manual ADD Page 86 of 142 Bs FIBOCOM The following table shows FPS parameters lt Parameter gt Description lt value gt lt value gt may be MCF page good RTN page bad retrain requested RTP page good retrain requested PIN page bad i
93. ll as the directory path optional The command execution result return to the user as an unsolicited response 0 operation fails 1 operation success Read FTPRMD ERROR Not supported Test FTPRMD FTPRMD lt directory Returns command format name gt OK The following table shows the FTPRMD parameters lt Parameter gt Description Range Directory name Name of directory to be removed on the remote side String max length is 255 octets Example The first example illustrates remove directory success case AT FTPRMD somedir OK FTPRMD 1 The second example illustrates remove directory fail case because the directory name was not found on the remote server FTP unsolicited indication enabled AT FTPINFO 1 OK AT FTPRMD somedir G620 GPRS Module AT Command User Manual ADD Page 60 of 142 Bs FIBOCOM OK FTPINFO RMD 1 FTPINFO 550 1 No such file or directory FTPRMD 0 2 6 7 FTPPWD Print Working Directory This command causes G600 to request the remote FTP server to return the working directory name Command Syntax Response Action Remarks Set FTPPWD OK FTPPWD lt directory_name gt parameter consists of result directory na the directory name as well as the me gt or ERROR directory path optional The command lt error_code gt execution result return to the user as an unsolicited response 0
94. lt default text gt lt icon_id gt G620 GPRS Module AT Command User Manual ADD Page 89 of 142 Bs FIBOCOM STKPRO 36 type alpha item id total items item text next action default item icon id icon id list element STKPRO 37 type alpha item id total items item text next action icon id icon id list el ement gt STKPRO 38 lt type gt STKPRO 52 lt dcs gt lt hex string gt lt icon_id gt STKPRO 53 lt language gt The unsolicited result codes and initiative commands are one to one corresponding It should deal with the unsolicited result code with corresponding initiative command and related parameter and feed back with AT STKTR commands For example below unsolicited result code is received STKPRO 36 lt type gt lt alpha gt lt item_id gt lt total_items gt lt item_text gt lt next_action gt lt default_item gt lt icon_id gt icon id list element Initiative command 36 indicates selecting sub menu and other parameter indicates related information like item ID total items item name etc It can display sub menu if needed And feed back with AT STKTR commands to return to previous menu or select one of the sub menus Details as below alpha alpha 1 alpha 2 item text default text dtmf string text string dcs data coding scheme default item defaultitem s item id event list may be 04 User activity e
95. lt reference_number gt send SMS STKTR 20 lt result gt lt add_result gt send DTMF STKTR 21 lt result gt launch browser STKTR 32 lt result gt lt add_result gt play tone STKTR 33 lt result gt lt add_result gt display text STKTR 34 lt result gt lt add_result gt 0 lt dcs gt lt hex_string gt get inkey STKTR 35 lt result gt lt add_result gt 0 lt dcs gt lt hex_string gt get input STKTR 36 lt result gt lt add_result gt 0 lt dcs gt lt hex_string gt select item Note the 0 stands for the parameter lt last_cmd gt which is obsolete but not removed so far STKTR 37 lt result gt lt add_result gt set up menu STKTR 38 lt type gt lt language as integer e g 28261 gt language setting STKTR 40 lt result gt lt add_result gt set up idle mode text Parameter meaning lt add_result gt Additional result lt dcs gt Data encoding rules lt hex_string gt 16 band data string It usually uses GSM format for phone number such as 3132 for 12 and Unicode format for SMS such as 00310032 for 12 last cmd The last command and usually is 0 proactice cmd Initiative command shown in decimal refer to STKPRO reference number Integer including the numbers returned to initiative command It is used in SMS SS and USSD for inputting phone number or SMS content result It is usually decimal and has different meaning with different value 0 Succeed to command 1 Resolve part of the
96. mand is 38 4 1 3 STKENV This command can send package command of SIM APPL TK to MS which is used to select main menu and download events Its format is AT STKENV lt envelope_cmd gt lt optional_ENV_data gt G620 GPRS Module AT Command User Manual ADD Page 99 of 142 Bs FIBOCOM In detail AT STKENV 214 7 lt language gt AT STKENV 214 8 lt cause gt AT STKENVZ211 item id help request Command Syntax Response Action Remarks Set AT STKENV 21 OK Select the first item of main menus 1 01 Or CME ERROR error Test AT STKENV OK Parameter meaning lt cause gt usually indicates 00 End by user 01 End by error lt envelope_cmd gt support package command code 211 select menu need lt item identifer gt code 214 download event only one event can be included in item list lt item id gt menu item id lt help requested gt help request or not 1 yes 0 no lt language gt language used in DTE lt optional_ENV_data gt command code related to indication and parameter for code 211 item id for code 214 event list 4 1 4 STKPROF This command is used to read and modify the configuration data of terminals Such kind of data is sent by STK external customer And he will also indicate related SIM services Command Syntax Response Action Remarks Set AT STKPROF lt OK Receive data length gt lt data gt Or G620 GPRS Module AT Comman
97. me to New name of file to be renamed on String max length is 255 octets the remote side Example The first example illustrates rename file success case AT FTPREN somefile name anotherfile name OK FTPREN 1 The second example illustrates rename file fail case because the file name was not found on the remote server FTP unsolicited indication enabled AT FTPINFO 1 OK AT FTPREN somefile name anotherfile name OK FTPINFO RNFR somefile name FTPINFO 550 somefile name No such file or directory FTPREN 0 2 6 11 FTPLIST Request List This command causes the G600 to request the remote FTP server to send a list in accordance to a given parameter Notes e Parameter is optional When FTPLIST command without a parameter is entered G600 requests the remote side to return the last requested list e The command execution result returns to the user as an unsolicited response command mode as well as a list in data mode e When FTPLIST command is executed a requested list is being sent to the user when G600 is in data mode immediately after FTPLIST 2 unsolicited response but before FTPLIST 1 unsolicited response G620 GPRS Module AT Command User Manual ADD Page 63 of 142 Bs FIBOCOM Command Syntax Response Action Remarks Set FTPLIST OK FTPLIST lt result gt Parameter consists of the file directory lt file directory list of directory files gt name as well as the
98. mote FTP server unable to establish data connection to some port IDs Following example shown how to use AT FTPOPEN command in various situations To open a FTP connection with a remote FTP server use the following settings destination URL someftpsite com mandatory user anonymous mandatory password qwerty email com mandatory account optional default value source control port id 21 optional default value destination control port 21 optional default value id source data port id 20 optional default value AT FTPOPEN someftpsite com anonymous qwerty8somemail com To open a FTP connection with a remote FTP server use the same mandatory settings but customize source control and data ports id source control port id 1300 optional default value destination control port 21 optional default value id source data port id 1302 optional default value G620 GPRS Module AT Command User Manual ADD Page 52 of 142 Bs FIBOCOM AT FTPOPEN someftpsite com anonymous qwerty somemail com 1300 1302 When FTP connection establish G600 remains in command mode This mode used for performing most of FTP AT commands Only AT FTPLIST AT FTPSTOR and AT FTPRETR commands switch G600 to online data mode Generally G600 returns to command mode after the data mode caused command execution finished but user be able to interrupt online data mode and close actual FTP connection by chang
99. nterrupt requested PIP page good interrupt requested 3 1 36 FPW Password Parameter This parameter sets the password The DCE sends the numeric string contained in FPW at the times specified in T 30 if the corresponding parameter is not zero string Command Type Syntax Set AT FPW lt password string gt The following table shows FPW parameters lt Parameter gt Description lt password string gt lt password string gt valid values 0 9 space 3 1 37 FRQ Receive Quality Thresholds This command allows making the Copy Quality OK decision using the command parameter The command has no effect Command Type Syntax Set AT FRQ lt pgl gt lt cbl gt The following table shows FRQ parameters Parameter Description pgl pgl in range 0 64H cbl cbl in range 0 FFH G620 GPRS Module AT Command User Manual ADD Page 87 of 142 Bs FIBOCOM 3 1 38 FRY Error Correction Mode Retry Count Command Type Syntax Set AT FRY lt value gt The following table shows FRY parameters lt Parameter gt Description lt value gt value in range 0 FFH 3 1 39 FSA SubAddress Parameter This command sets the Subaddress The DCE sends the numeric string contained in FSA at the times specified in T 30 if the corresponding parameter is not zero string
100. ntrols copy quality checking and correction of image data received from the DTE and sent to the remote station 3 1 13 FCR Capability to Receive Data This command sets the capability to receive message data Command Type Syntax Set AT FCR lt value gt The following table shows FCR parameters lt Parameter gt Description lt value gt value only value 1 allowed it means that the DCE can receive message data Bit 10 in the DIS or DTC frame will be set 3 1 14 FCS Current Session Results This command allows displaying the current session results either as response to the read syntax or spontaneously during execution of FDR Command Type Syntax Response FCS Read AT FCS lt vr gt lt br gt lt wd gt lt In gt lt df gt lt ec gt lt bf gt lt st gt lt jp gt G620 GPRS Module AT Command User Manual ADD Page 78 of 142 Bs FIBOCOM The following table shows FCS parameters lt Parameter gt Description vr vr resolution in range 0 1 br br bit rate in range 0 3 wd wd page width in pixels only 0 value In In page length in range 0 2 df df data compression format only 0 value ec ec error correction only 0 value bf bf file transfer only 0 value st st scan time line in range 0 7 jp jp JPEG for color
101. ode buffer flag 0 buffer on 1 buffer off default 2 4 5 IPSEND Send data in single link mode Command Syntax Response Action Remarks Set IPSEND lt data gt IPSEND lt link_num gt lt tx_w Send data via opened No 1 link in indow gt single link mode OK In non conversion mode the T largest length of DATA is 1024 l bytes which cannot contain the ERROR conflict characters with AT command like and etc In conversion mode the largest length of DATA is 2048 bytes Read IPSEND IPSEND lt link_num gt lt tx_w In single link mode query the indow gt available buffer block quantity of OK No 1 link or ERROR Detail parameter instruction lt Parameter gt Description lt Dest_ip gt Target IP lt Link_num gt Opened link number here is 1 lt Ix window gt Size of sending window It indicates how many packets that user can sent continuously 0 16 Example AT IOMODE 1 1 1 G620 GPRS Module AT Command User Manual ADD Page 38 of 142 Bs FIBOCOM OK AT IPOPEN TCP SZGPS XICP NET 3000 CONNECT AT IPSEND 313131 OK IPSEND 1 16 Y IPDATA 3 313131 AT IPSEND IPSEND 1 16 OK AT IPCLOSE 1 IPCLOSE 1 OK AT IOMODE 0 1 1 OK AT IPOPEN TCP SZGPS XICP NET 3000 CONNECT AT IPSEND 313131 OK IPSEND 1 16 IPDATA 6 313131 2 4 6 IPSENDX Send data in multiple links mode Command Synta
102. ommand User Manual ADD Page 114 of 142 Bs FIBOCOM Host G600 DISC Frame to release DLC1 F9 OB 53 01 B8 F9 UA Confirm F9 OB 73 01 92 F9 5 3 4 2 Release Control Channel Release DLCO After release the DLCO G600 G610 will close the multiplexer service and back to AT command mode Host G600 DISC Frame to release DLCO F9 03 53 01 FD F9 UA Confirm F9 03 7301 D7 F9 5 4 Reference DOC 07 10 ts pdf G620 GPRS Module AT Command User Manual ADD Page 115 of 142 Bs FIBOCOM 6 Additional Command 6 1 1 VTA This command enable disable play DTMF tone at local side when send DTMF to the network by VTS Command Syntax Response Action Remarks Set VTA lt para gt OK Enable Disable plays DTMF at local an side ERROR Read VTA VTA lt para gt Query status OK or ERROR Test VTA VTA lt para gt Query the range of parameters OK or ERROR The following table shows the VTA parameters lt Parameter gt Description lt para gt 0 Disable play DTMF tone at local side 1 Enable play DTMF tone at local side Default value Example AT VTA VTA 1 OK AT VTA VTA 0 1 OK G620 GPRS Module AT Command User Manual ADD Page 116 of 142 Bs FIBOCOM 6 1 2 PPP Configuration For any special PPP client G600 must do any special work to compatible with them Note This command must be used base on GHT suggestion according to customer p
103. on AT FTPSYST OK FTPSYST 2 UNIX Type L8 FTPSYST 1 2 6 14 FTPNOOP No Operation This command causes the G600 to request the remote FTP server to do nothing possible use for PING Command Syntax Response Action Remarks Set FTPNOOP OK FTPNOOP The command execution result return to lt result gt or ERROR the user as an unsolicited response SENTO Todes 0 operation fails 1 operation success Read FTPNOOP ERROR Not supported Test FTPNOOP ERROR Not supported Example The example illustrates the command execution AT FTPNOOP OK FTPNOOP 1 2 6 15 FTPSTOR Store File on Remote FTP Server This command causes the G600 to request the remote FTP server to store a file sent by the G600 Notes e The user can send a file to the G600 only when the G600 returns result 2 In this case the G600 switches to Online Data Mode and all data sent to RS232 transfers as is to the remote server e Before transferring to the remote side data file is converted encoded see FTP Connection on page 1 1 When end of file is reached G600 switches back to Command Mode and return result 1 success case e Anerror may occur in any stage of file transferring In this case G600 switches to Command Mode and result 0 return to the user Command Syntax Response Action Remarks Set FTPSTOR lt file_ name gt lt file_type gt OK FTPSTOR
104. or G620 GPRS Module AT Command User Manual ADD Page 120 of 142 Bs FIBOCOM 8 AT Command Instruction of Cell Lock The functions below are only supported by VOB 03 16 G600 or above 8 1 GTBCCH BCCH Channel Lock Note If one of the channels is locked BCCH channel will not be able to lock AT GTBCCH lt mode gt lt bcch gt AT GTBCCH G620 GPRS Module AT Command User Manual ADD Response Action BCCH LOCK SUCCESS OK or BCCH LOCKED OK or BCCH UNLOCK SUCCESS or BCCH UNLOCKED or BCCH lt bcch1 gt lt bcchn gt BA num lt BA list BCCH bcch mcc mnc lac gt lt cell id gt Remarks Mode 1 amp 2 has the same meaning It locks the corresponding BCCH cell channel if lt bcch gt is NULL It locks the desired BCCH channel as lt bcch gt set Mode 0 unlock Mode 32 list the 7 BCCH channels with strongest signal and BA list maximum in 32 1 Module must be unlocked before channel lock 2 Channels in BCCH list are priority when locking channel If a channel is lock it returns BCCH channel number location number MNO code and cell ID It returns UNLOCKED if no channel lock Page 121 of 142 Bs FIBOCOM BCCH UNLOCKED Test AT GTBCCH BCCH lt mode It returns mode list and the 7 Parameter instruction list gt lt bcch1 gt lt bcchn gt BCCH channels number with strongest signal if unlocked It ret
105. or not may be 0 disabled not send URC 1 enabled automatically send URC and check the URC of lt chr_state gt lt chr_event gt lt chr_alarm gt lt chr_capacity gt in real time An unsolicited response lt chr_state gt will be sent initially to report the current charging state The value of the lt chr_event gt parameter will be undefined for this case Likewise an unsolicited response lt chr_event gt will be sent when the status of charging event is changed Additionally an unsolicited response lt chr_alarm gt will be sent in case an alarm is active lt chr_state gt lt chr_state gt integer value indicating the resulting charging state of the battery driver may be 0 CHARGER_NOT_CONNECTED no connected 1 CHARGER_CONNECTED_NOT_CHARGING connected charge but not start charging G620 GPRS Module AT Command User Manual ADD Page 10 of 142 Bs FIBOCOM 2 CHARGER CONNECTED CHARGING in charging processing chr event O CHR CHARGE UNDEFINED ND NO defined charge event 1 CHARGE END ND Battery is full Note please give the value of voltage when the battery is full 2 CHARGE STOP IND battery is not full but charge is stopped chr alarm chr alarm integer value indicating the type of battery driver alarm issued may be 0 CHR LOW BATT ALARM low battery level reached Note please give the voltage value of low battery level 1 CHR BATT SHUT
106. ory in accordance to a given name Command Syntax Response Action Remarks Set FTPCWD lt direc OK FTPCWD result directory name parameter consists of tory name Or ERROR error code the directory name as well as the directory path optional The command execution result return to the user as an unsolicited response 0 operation fails 1 operation success Read FTPCWD ERROR Not supported Test FTPCWD FTPCWD lt directory Returns command format name gt OK The following table shows the FTPCWD parameters lt Parameter gt Description Range Directory name Name of directory to be changed on String max length is 255 octets the remote side Example The first example illustrates change in working directory success case G620 GPRS Module AT Command User Manual ADD Page 58 of 142 Bs FIBOCOM AT FTPCWD data OK FTPCWD 1 The second example illustrates change working directory fail case because the given directory name was not found on the remote server AT FTPCWD user OK FTPCWD 0 The third example illustrates change working directory fail case because no FTP connection was opened The AT CMEE 2 command enables verbose error report AT CMEE 2 OK AT FTPCWD data CME ERROR FTP session is inactive 2 6 5 FTPMKD Make Directory This command causes the G600 to request the remote FTP server to create a new directory in accordance
107. owing table shows the GTGPSPOWER parameters lt Parameter gt Description lt mode gt Working mode of GPS module 0 power off 1 power on 2 sleep 3 wake up lt antena_state gt Condition of GPS antenna 0 without GPS antenna 1 with GPS antenna Example AT GTGPSPOWER 0 G620 GPRS Module AT Command User Manual ADD Page 136 of 142 Bs FIBOCOM OK AT GTGPSPOWER 1 OK AT GTGPSPOWER 4 ERROR AT GTGPSPOWER GTGPSPOWER 1 1 First number indicates GPS working mode while the second indicates GPS antenna condition OK AT GTGPSPOWER GTGPSPOWER 0 1 2 3 OK 11 2 GTGPS Output GPS Data via Series GPS must be in power on or wake up mode to use this command otherwise it returns ERROR Command Syntax Response Action Remarks Set GTGPS lt inte Set interval period and data type of output rvl gt lt type gt OK or ERROR Read GTGPS GTGPS Read interval period and data type of GPS intervl type SHIDUE OK Test GTGPS GTGPS Test the setting format and range of this 0 60 0 15 command The following table shows the GTGPS parameters G620 GPRS Module AT Command User Manual ADD Page 137 of 142 Bs FIBOCOM Parameter Description intervl GPS output interval period User query GPS data type and return data only once Interval period 1 60 Output GPS data every time
108. pabilities Parameters This command allows the DTE to sense and constrain the capabilities of the facsimile DCE from the choices defined in table 2 T 30 When FCC is modified by the DTE the DCE shall copy FCC into FIS Command Type Syntax Set AT FCC lt vr gt lt br gt lt wd gt lt In gt lt df gt lt ec gt lt bf gt lt st gt lt jp gt or T DCC The following table shows FCC parameters lt Parameter gt Description vr vr resolution in range 0 1 br br bit rate in range 0 3 wd wd page width in pixels only 0 value In In page length in range 0 2 df df data compression format only 0 value ec ec error correction only 0 value bf bf file transfer only 0 value st st scan time line in range 0 7 jp jp JPEG for color and B amp W only 0 value G620 GPRS Module AT Command User Manual ADD Page 77 of 142 Bs FIBOCOM 3 1 12 FCQ Copy Quality Checking This command allows controlling copy quality checking and correction by a facsimile DCE Command Type Syntax Set AT FCQ lt rq gt lt tq gt The following table shows FCQ parameters lt Parameter gt Description lt rq gt lt rq gt controls copy quality checking and correction of data received from the remote station and delivered to DTE lt tq gt lt tq gt co
109. ription Range IP address in dotted decimal notation destination_ip url1 IP or URL of remote FTP site form XXX XXX XXX XXX URL ASCII chars max length is 255 G620 GPRS Module AT Command User Manual ADD Page 55 of 142 Bs FIBOCOM octets username2 Username for FTP login procedure ASCII chars max length is 255 octets password3 Password for FTP login procedure ASCII chars max length is 255 octets account4 User Account for FTP login procedure ASCII chars max length is 255 octets source control port5 Port for FTP control connection on source side Number in 0 65535 range destination control port5 Port for FTP control connection on remote side Number in 0 65535 range source data port6 Port for FTP data connection on source side Number in 0 65535 range Example The first example illustrates FTP connection open success case AT FTPOPEN someftpsite com anonymous qwerty somemail com OK FTPOPEN 1 The second example illustrates FTP connection open error case because another FTP connection is already opens The AT CMEE 2 command enables verbose error report AT CMEE 2 OK AT FTPOPEN someftpsite com anonymous qwerty somemail com OK FTPOPEN 1 AT FTPOPEN anotherftpsite com anonymous qwerty somemail com CME ERROR FTP session is active 2 6 2 FTPCLOSE Close Established FTP Connection between
110. roblem Command Syntax Response Action Remarks Set GTSET lt pname gt lt value OK Make any special setting gt or ERROR The following table shows the GTSET parameters 0 1 lt Parameter gt Description lt pname gt PPPAUTH negotiate the authentication mode when LCP process value Range from 0 to 3 default is 0 0 donot negotiate the authentication mode 1 PAP 2 CHAP 3 PAP amp CHAP lt future gt PPPMODE set any special parameter when perform PPP value Range 0 255 default is O Every bit represents a parameter Normal PPP client is porting from LWIP IPCP Frame Error PPP client cannot support Magic Number PPP client do not negotiate IP when IPCP G620 GPRS Module AT Command User Manual ADD Page 117 of 142 Bs FIBOCOM 7 Error Code 7 1 New TCP IP Stack Error Code Parameter Description lt Err gt TCPIP Param wrong TCPIP Internal ERROR TCPIP IP PORT Reused TCPIP Memory Used up TCPIP Operation Not Supported TCPIP Connect Failed TCPIP Connect Refsed TCPIP Connect Timeout TCPIP Connection Exist TCPIP Host Not Found TCPIP DNS Failed Retry Later TCPIP DNS ERROR TCPIP DNS Got An Invalid IP TCPIP Connection Doesn t Exist TCPIP Data Too Long TCPIP Connection Reset TCPIP Connection Error TCPIP Buffer Full TCPIP Bad Network TCPIP PDP Not Act
111. ry Option format 2 11 Supper mode use GSM Cell Information for GIS query 12 Supper mode use Option for GIS query Option format 1 13 Supper mode use Option for GIS query Option format 2 Language 1 English default value is 1 2 Chinese G620 GPRS Module AT Command User Manual ADD Page 127 of 142 Bs FIBOCOM Option A String for describing both of latitude and longitude It supports 2 formats now For example latitude 22 5385 longitude 113 9379 should be described In Option format 1 as 22 5385 113 9379 In Option format 2 as 2232 3143 N 11356 2741 E GIS Information A Simple string says the GIS Information For example latitude 22 5384 longitude 113 9383 country China country code CN 7re gion Guangdong Province city Shenzhen street Shennan Road street_number No 1 ERROR Information A Simple string says the ERROR occur during GIS query For example SERVER ERROR NETWORK ERROR PDP TIMEOUT 9 2 GTSET Super Mode Configuration This AT command will set the destination server port for GTGIS super mode With different destination server port the super mode of GTGIS command will return the result in different format Command Syntax Response Action Set GTSET lt future gt lt value gt OK or ERROR The following table shows the GTSET parameters related GTGIS super mode lt Parameter gt De
112. scription lt future gt GISSUPERPORT Set the GIS destination port for super mode lt value gt 1000 30000 The default value is 5555 G620 GPRS Module AT Command User Manual ADD Page 128 of 142 Bs FIBOCOM Before you set this parameter please refer to GHT and make sure the port is already supported GHT will support more and more super server port in future future GISSUPERSERVER Set the GIS destination Server for super mode value Hostname The string length should less than 63 bytes Default set to szgps xicp net Before you set this parameter please refer to GHT and make sure Host is available 9 3 Query Command without Longitude amp Latitude Data This command supposed to use in the scene where GPS module is unavailable It gets longitude amp latitude data and GIS information via base station The command and parameter are shown as below Command and parameter AT GTGIS 1 1 Return English longitude amp latitude data and rough GIS address AT GTGIS 1 2 Return Chinese longitude amp latitude data and rough GIS address AT GTSET GISSUPERPORT 5 100 Set strengthen mode AT GTGIS 11 1 Return English longitude amp latitude data and accurate GIS address AT GTGIS 11 2 Return Chinese longitude amp latitude data and accurate GIS address Command amp parameter example Terminal sends AT command AT GTGIS 1 1 Server returns OK GTGIS latitude 22 53
113. secssnescesnsecsssseceesueecssnseessnseeessneeeses 84 3 1 26 FMM Request Model Identification sssscssssscsssssccsseeccssscesssseccsneescsssescssseccsssesessnseeesaseesessecessneeessneeessas 84 3 1 27 FMR Request Revision Identification 0 ssssscssssscsssseccsssscesssseccsnsecsssseccsssesesssesessnsceessseeessueeeesneeessuseesses 84 3 1 28 FMS Minimum Phase C Speed cssssssssscsssecsseecsseccsseccssecsssecsssecssscessscesusecsseecsneccsseessneesaseessseesueeesneeesneeess 84 3 1 29 amp FNR Negotiation Reporting ssssssssssssssssesssessessseesssesssesscesssesssesssessccsssesseessecsssesseesseesseesseesseesseesseesseeste 85 3 1 30 amp FNS Non standard Frame FIF Octet String sesssscssssscseecsseeesseecsseccsseecsseccsuscesseecsseessseessseesseesneeesneess 85 3 1 31 FND NSF Message Data Indication uu ssssssescssescsseccsseecssecsnsecssscessscessecsucecsneecsseessseessseesuseesuseesneeesneeess 85 3 1 32 FPA Selective Polling ACCreSS essssssssssscsssecsseccsssecsseccsseccssecsnsecsssesssscesuscssneecsnecessecssseessnsesuseesnseesneessneeess 86 3 1 33 FPI Local Polling ID String oe essssssssecssssecsseecssecsssecsusccssscessecsnsessneccssecssnecessecssseessnsessseesusessnsessnessunecsnsecs 86 3 1 34 FPP Packet Protocol Control oe seesssssccsseecsseecssecssscesssccsucesseccsnseecssccsseccssecesseessssessnseecsseeseeesueesueeesunsesssees 86 341 35 AFPS Page SAUS cessccsscessceitcosapasceosaevesed veaeosceoscbi
114. selected item lt icon_id gt Optional icon id see GSM11 14 6 5 4 icon id list element See GSM11 14 12 32 Response format STKTR 37 result add result result See G600 AT Command Set User Manual STK ENG V1 0 0 do 1 1 2 add result Not used 4 1 2 STKTR This command is used to response unsolicited result code STKPRO And the response of initiative command SIM APPL TK is shown by using unsolicited result code STKPRO Structured as below AT STKTR lt proactive_cmd gt type lt result gt lt add_result gt lt reference_mumber gt lt last_cmd gt lt dcs gt lt he x string gt Command Syntax Response Action Remarks Set AT STKTR 1 0 OK Illustrate with initiative command 4 Or CME ERROR error Test AT STKTR STKTR 01 05 16 17 18 19 20 21 32 All supported initiative command 33 34 35 36 37 38 40 53 OK It lists all parameters of this command above but for the parameter formats please see below G620 GPRS Module AT Command User Manual ADD Page 97 of 142 Bs FIBOCOM STKPR 01 lt result gt lt add_result gt refresh STKPR 05 lt result gt set up event list STKTR 16 lt result gt lt add_result gt set up call STKTR 17 lt result gt lt add_result gt lt reference_number gt send SS STKTR 18 lt result gt lt add_result gt lt reference_number gt send USSD STKTR 19 lt result gt lt add_result gt
115. seosctacate PES HERECH THREE P PER E HEU HENEERE EORR RES 86 3 1 36 FPW Password Parametel secssssscsssscssescssecssseccsseccsseccssecsssessnscesuseesusccsueeesnecesneecssecssneecsseecasecssseesnseessseessees 87 3 1 37 FRQ Receive Quality Thresholds uu esssssssscsssesssescsseecssescssecesseccsseccsseccsseesssecssseesueeesueeesuceesueeesueeesseesseees 87 3 1 38 amp FRY Error Correction Mode Retry COUNt esssssssssccseccssecsseecsseecsseecsuecesseecsseccsseecsseessseessseesueeesneeesneeess 88 3 1 39 FSA SubAddress Parameter ssscsssscsssecssescssescsseecsseccsseccssecssseesseesseesssecsuecessescsuecesseessseessseessseesueeesueeesueeess 88 3 1 40 FSP Request to Poll sssssssssccsssccnesccnseccnesccnseccseccssscsssecsssscensesenssesnssecnesessecesseesssscesseessssessseesnesesnseeeneeseneeess 88 4 SIKRelated Functionalities ee eesssescsssscsssecsnecsseecsseecssecesseccsneccsseecssecssseesssecsuseesuseesuecsusecsuecessecesnecesseecssecsaseessseesueesneeesueess 89 4 1 Senate 89 4 1 1 IMID duope EE E 89 4 1 2 SSTKTR eiecit etetelo beatles tentes etn nes bet ntu aaaeei 97 4 1 3 E STKENW eicredeedesi tete bateau ent atro D nentur T EE ERAS dee EE 99 4 1 4 SOSTKPROB i enisettteleenbuonbuvtaenbesnbue ttn ne besote het aea LOT 100 4 1 5 piger EUM 101 4 1 6 SS IKGNE iecoris etre tetele beetle nass nbuet teen nhe cbr tenet e dud 102 4 1 7 ox 4Rlncm e
116. sescsseecsseecsseecsseecsseecsseecsseceseesseees 54 AT Commands Reference for FTP sssssssssssscssssscssssssssssscessssccssusecssusecssuseesssseccsssecessuscessusecesnsecesnseceesueesssueeessuseessaees 55 2 6 1 FTPOPEN Open FTP Connection between G600 FTP client and Remote FTP Server 55 2 6 2 FTPCLOSE Close Established FTP Connection between G600 FTP client and Remote FTP Server 56 2 6 3 FTPINFO FTP Unsolicited Indication Enable Disable eene 57 2 6 4 FTPCWD Change Working Directory sessescsssccsseecsecsseecnsecsssecssesesseecsseecsueecssescsneccsseecssecsnseessseesnseess 58 2 6 5 FTPMKD Make Dire ctory sessssscssescssescsescssecssssccssscsssecsssecssseesuecesuseesueecsueccssecsssecsssecsssecsuseesseessueeesneeesseeess 59 G620 GPRS Module AT Command User Manual ADD Page 4 of 142 Bs FIBOCOM 2 6 6 2 6 7 2 6 8 2 6 9 2 6 10 2 6 11 2 6 12 2 6 13 2 6 14 2 6 15 2 6 16 2 6 17 2 6 18 2 6 19 FFTPRMD Remove Directory eese tenente tenttnnttnntnntnnten ttn tento tttn tento ttn ttn tnn nennnts 60 FTPPWD Print Working Directory un sessssccssescsssecsseecsscecsseccsecssseesseecsscesseecsuecesseecsueccsseessseessseessseessseess 61 FTPCDUP Change Directory Up esessssescssscsssscssecssecsseecsssscssescsusecssescsueccsseecsseccsseccsseesseesssesueeesneeesneeess 61 FFTPDEL Delete File cccsssscacsassssncsesessasscssnvecanveseasscsaveacuesessvdsrsbsonce
117. sessedoadsstasectaseadsctenvatenveseniscdavencnesenebecrabertavenne 62 FTPREN Rename File escssssccsssscsesccsseccsecccsscessecessscensecsssscessecsnsscenssseneseensesenessenscessecessseessecsssseenseesseseeneeees 62 FE TPEISTREQUESE LISE e 63 FFTPSTAT Request Status essessssscssscsessseecssesscesseesseesssesseesseesscesssesseesseesseesssesseesseesseesseesseesseesseesseesseesseesees 64 FTPSYST Request Remote FTP Server Operating System Type see 66 FFTPNOOP No Operation ow esssesssescseecseecseecseecseecsscsscsscesseesscessscssscssccsseesscessesseesseesseesseesseesseesseesseesseenseesees 67 FTPSTOR Store File on Remote FTP Serveta ssessssssccsssccssecsssecsssecssesesssecsseecsueccsseecsuecesseecsneesaseecsseesnseess 67 FTPRETR Retrieve a File from a Remote FTP Server ssssssssssscssssscssssscssnsecsssecessseecssueeessuseessnseeeseneeses 68 FTPREST Set the Offset of the Download File sessssssssscsssesesssecccsseccssneccesssecessseeessueeessneessnseeesaneeeses 69 FTPGET Enter the File Download Mode uu eessssscsssscssseesssecsseccsssecsseccsneccsseccssecesseecsseessseessseesneeesneeesneesse 70 FTPRECV Read Data through the Serial Port sssssssscssescsssecsseecsseecsseccsseecssecssscessseessseesseeesneeesneeess 72 M M ES 74 FCLASS Select Mode cessssesssssscsssecsseccsssecsse
118. sseccsseecsseccsseesusecsuseesuseesusessusecsuecesuesesueeesseecsneesaseecsseessseess 20 2 2 7 MSTI Unsolicited Response new MMS alarmed by PUSH message ss 21 2 2 8 MMSRDPUSH Read the Content of PUSH Message ssssssscsssssccssssscsssescssuesessssecessscecsseeeesueeessnseeseas 22 2 2 9 MMSRECYV Download MMS from Server essssssscssssscessssccssseccessscccsnscecsssecesssecessueecssnseessssecessseeessueeeesneeessae 23 2 2 10 MMSVIEW Display the MMS Content Stored in Current Module sss 25 2 2 11 MMSREAD Read Current Stored MMS Conte nt sesssssccssccseecsecsseeesseecsssecsseecsueccsseecsnecssseecsseesnseess 26 2 2 12 Corresponding Value of MMS Data Type ssssscssssscssssssccsecessuseccsusesesssescssseecssnesessussessnseeessneeessueeessnseessas 27 2 3 Procedure Of MMS Command sssini eissai a EEs i A ERR 28 2 3 1 MMS Sending Command sitet becteeene testetur eee eese perat ette EAEE 28 2 3 2 Set MMS Accessing Point Server and Gateway sssssscsssscssescsssecsseecsseecsseccsseecsseccssecssseesseeesseessneeesneeese 28 2 33 Edit MMS Subject optional o tese rentes ets EE eve s 28 2 3 4 Edit MMS Text Content Optional sessssssccsssccsssccssescsscssssesssecesssesssscenessensesenessenecesneescnecseneesensessneesseses 29 2 3 5 Edit MMS Image Content optional 0 sesssssscssescsseecsseccsssecsseccsseecsseessseesssesssseesueeesuseesuecessecesneessneeesnees 29 2 3 6 Edit MMS
119. sseecsuecesseecssecesseessseess 130 9 5 Procedure of LBS Functions ssssssssccsssssccssseccsscccssseccssseccssusccssnsccesssecessuecssusecesuscessnsesessuecessuseeesuseessnseesesseesssues 131 eipmeenuic p 134 10 1 Command of GTCODE for Code Conve rsion sscssssscssssscsssescessseccsusecssusecssnsesesssecesssecessueeessnseessaseesenseeessusees 134 10 2 Send Chinese SMS in Textual sesssssscsssecssescsssecssescsueccssescsseccsseecsnecssseesssecsusesssseesueessueecsueeessecesseecaseeesseceaseesaseess 135 Related AT Commands amp Instruction of GPS FUNCTIONS ssssssssescesssccsssececssecessneccssssecesssecessueeessnseessnseesssneeessuee 136 11 1 GTGPSPOWER GPS Power Manageme nt sescsescsscssesesessecssecsseessecssecssecsssesscesseessecssecsseesnecsseeaseesseesseesees 136 11 2 GTGPS Output GPS Data via Series ecesssesssesssseseesseesseesseessecsnsesnscsnseensesueesseesseessecsnseesseesscensesseesseessersees 137 Other FUNCIONS 1er errem netter RGE EA aiee etri tee ie reve teer eE Eeee EEEE e 141 12 1 B rines c 141 122 Reset SIM Card by AT COMMands ssessssscsssscsseecssssessescsseccssescssecssseesssscssseessecesuseesueccsueecsseccsseessseessseesseeesneeessees 142 G620 GPRS Module AT Command User Manual ADD Page 8 of 142 Bs FIBOCOM 1 Hardware Related Functionalities 1 1 WRIM RI Pulse Width
120. ssescssessssescssescsseccsseccssecsssecssseesusecsusecsuecesseccsuecesseecssecessecsssecsuseesuseesueeesneecsueeesneessee 9 1 1 WRIM RI Pulse Width Control ceessssscsssscsssecssscessscesusecsscccsseccsueccsneecsseessseccsseessseesssessusessuseesuecesseessneeesneessneeessees 9 1 2 MCHARGE Charge Managemennh ssscsssscssescsusecsseecssescsseecsseecsseccsseessseessscessseesuseesusessueecsueecsnecesseesssecenseesnsessees 10 2 Related Functionalities of Internal Protocol Stack essssssscsssescsssesccsssccsssecccsseccesnsccessscecssuecessuseessusceesnseesssueeessneeessneeeesee 12 2 1 New Added AT Command essssssscsssscseecsseccsssecsseccsseecssessnseessseesussesusessuscesseecsseccsseessseccssecsssecsaseesssessuseesnseesneeesneeess 12 2 1 1 MIPKPAL TCP Keepalive Functionality oe esssescssesccseecsssecssecessecessecesseccsnecesseesssecsssecssseessseesneeesueeesneeess 12 2 2 MERE EIn aTa GAA PEPE REEE A E EA E AEE 13 2 2 1 MMSSERVER Setting the APN MMS Server Gateway and Port Number ss 13 222 MMSSUB Import the MMS Title into Module by Series eene 14 2 2 3 MMSTXT Input the MMS Text Data to Module via Series eee 15 224 MMSIMG Input the MMS Image Data to Module via Series ss 17 2 2 5 MMSAUD Input the MMS Voice Data to Module via Series ss 18 2 2 6 MMSSEND Send a MMS esssssssssescsssecsseecsseccssecc
121. sted file type is binary AT FTPRETR somefile name 1 FTPRETR 2 ETX FTPRETR 1 2 6 17 FTPREST Set the Offset of the Download File This command sets the offset of the download file The following command FTPRETR or FTPGET will download data from the file specified location instead of download the entire file Notes The offset must be less than the length of the downloaded file Command Syntax Response Action Remarks Set FTPREST lt start OK position gt Set the offset OK or ERROR will be return ERROR G620 GPRS Module AT Command User Manual ADD Page 69 of 142 Bs FIBOCOM Read FTPREST FTPREST lt u startposition Returns the size of the original set no set return 0 OK Test FTPREST Return OK only OK Example AT FTPREST 3400000 OK AT FTPREST FTPREST 3400000 OK AT FTPREST OK 2 6 18 FTPGET Enter the File Download Mode set the offset After connected FTP server successfully FTPGET command will make a data connection and download file from the FTP server The command mode will be kept until all data downloaded or send FTPCLOSE command In the command mode only FTPRECV and FTPCLOSE command will be responded All other FTP commands will return ERROR The data received by the module will be store in the buffer and don t output from the serial port directly User must read data by FTPRECV command
122. t Data G620 GPRS Module AT Command User Manual ADD Page 49 of 142 Bs FIBOCOM lt link_num gt Link number lt index gt SN saved in buffer 2 4 18 Unsolicited Result Code IPCLOSE Report the disconnect information IPCLOSE lt cid gt Detail parameter instruction lt Parameter gt Description lt cid gt Link number 2 4 19 Working Examples in Multiple Links Mode AT CGDCONT 1 IP CMNET need to set CGDCONT OK AT ETCPIP ETCPIP 0 1 OK AT ETCPIP OK AT ETCPIP PDP activation ETCPIP 1 10 111 119 188 120 196 165 7 221 179 38 7 OK AT IOMODE 1 2 1 set the multiple links mode The second parameter 2 indicates the links number If it is set as 1 it indicates single link mode OK AT IPOPENX 1 TCP SZGPS XICP NET 3000 open SOCKET1 by TCP Changing TCP to UDP indicates open SOCKET by UDP CONNECT AT IPSENDX 1 AdBFcc03 SOCKET1 sends data G620 GPRS Module AT Command User Manual ADD Page 50 of 142 Bs FIBOCOM IPSENDX 1 15 OK IPDATA 1 4 ADBFCCO3 AT IPOPENX 2 TCP SZGPS XICP NET 3000 CONNECT AT IPSENDX 2 0d7d190a IPSENDX 2 15 OK IPDATA 2 4 0D7D190A AT IPOPENX 3 TCP SZGPS XICP NET 3000 CONNECT AT IPSENDX 3 5C90E1 15 IPSENDX 3 15 OK IPDATA 3 4 5C90E115 AT IPCLOSE 3 IPCLOSE 3 OK AT IPCLOSE 2 IPCLOSE 2 OK AT IPCLOSE 1 IPCLOSE 1
123. t band gt _ BAND LOCK SUCCESS Lock specific channel G620 GPRS Module AT Command User Manual ADD Page 123 of 142 Bs FIBOCOM AT GTBAND BAND lt band gt Query locked channel Test AT GTBAND BAND lt band list gt Return band list OK or ERROR Parameter instruction lt Parameter gt Description lt band gt 0 auto select channel 1 lock GSM900MHZ 2 lock DCS1800MHZ Example AT GTBAND 1 BAND LOCK SUCCESS OK AT GTBAND BAND 1 OK AT GTBAND BAND 0 2 0 auto 1 gsm900 2 dcs1800 OK G620 GPRS Module AT Command User Manual ADD Page 124 of 142 Bs FIBOCOM 8 3 GTOPT Lock network operator Need to reboot module AT GTOPT lt opt gt NET STATE lt state gt Lock specific operator AT GTOPT OPT opt Query locked operator Test AT GTOPT OPT lt opt list gt Return to operator list OK or ERROR Parameter instruction lt opt gt 0 automatic 1 CMMC 2 Unicom lt state gt Network register situation 0 Unregistered ME doesn t select network to register yet 1 Registered Register to the local network 2 Unregistered ME is selecting network to register 3 Register denial 4 Register unknown error 5 Registered Register to roaming network G620 GPRS Module AT Command User Manual ADD Page 125 of 142 Bs FIBOCOM Example AT GTOPT 1 NET STATE 1 OK AT GTOPT OPT 1 OK Reboot Module AT CREG CREG 0 0 OK AT G
124. urns mode list and LOCKED if locked OK or BCCH mode list gt LOCKED OK or ERROR lt Parameter gt Description lt mode gt 0 unlock 1 It locks the corresponding BCCH cell channel if lt bcch gt is NULL It locks the desired BCCH channel as lt bcch gt set The set lt bcch gt will be saved in module and keep the lock after powering on 2 same as 1 compatible in the previous version 32 list BA list Note AT GTSET BCCHSAVE 1 default is 0 must be set It must use AT GTBCCH 2 XX to lock channel for power out save If BCCH is not available or with weak signal network will be disconnected or cannot register network after power on Return BCCH numbers of BA list No more than 32 Example G620 GPRS Module AT Command User Manual ADD Page 122 of 142 Bs FIBOCOM AT GTBCCH BCCH 0 1 2 115 113 111 123 OK AT GTBCCH 1 BCCH LOCK SUCCESS OK AT GTBCCH BCCH 115 MCC 460 MNC 01 LAC 2540 CELL ID 79BB OK AT GTBCCH BCCH 0 1 2 LOCKED OK AT GTBCCH 0 BCCH UNLOCK SUCCESS OK AT GTBCCH 2 111 BCCH LOCK SUCCESS OK AT GTBCCH GTBCCH 111 MCC 460 MNC 01 LAC 2540 CELL ID 79BA OK AT GTBCCH 32 BCCH 88 68 70 50 52 80 596 BA 32 13 28 31 46 50 52 56 58 64 68 70 72 76 80 82 84 5 12 516 536 540 542 544 588 590 592 594 596 605 43 48 54 57 8 2 GTBAND Lock GSM Channel Note If BCCH channel is locked other channel will not be able to lock AT GTBAND l
125. ve ID 1 4 lt Mode gt Keepalive connection setting 0 turn off default 1 turn on lt Time gt Sending period of keepalive 1000 600000 unit ms G620 GPRS Module AT Command User Manual ADD Page 12 of 142 Bs FIBOCOM 2 2 MMS Command 2 2 1 MMSSERVER Setting the APN MMS Server Gateway and Port Number This command is used to set and read the current sending address of MMS server gateway and port number Command Syntax Response Action Remarks Set MMSSERVER lt a OK Set the MMS sending server IP address pn gt lt server ip ois gateway and port number Not saved address without power The server IP address ERROR gateway and port number are defined gateway port x by operators The wrong address will cause the failure of MMS sending Read MMSSERVER MMSSERVER lt Return the preset server IP address apn Server ip gateway and port number Return OK if address gt lt nocontent gateway port OK or ERROR Test MMSSERVER MMSSERVER apn name gt lt server ip address gt Test the format and range of server IP gateway address address gateway and port number port number OK Below shows MMSSERVER Command parameter Parameter Description apn gt Network APN lt server ip address gt Server IP address lt gateway gt Gateway lt port gt
126. vent 05 Idle screen available event 07 Language selection 08 BrOWSer Terminstion event format mode format model format mode2 formatting mode value alignment font size style coded as following Bit7 Bit6 Bits Bit4 Bit3 BitZ Bitl BitO alignment Bitl Bito O left 1 center 2 right 3 language dependent default font size Bit3 Bit2 0 normal 1 large 2 small G620 GPRS Module AT Command User Manual ADD Page 90 of 142 Bs FIBOCOM 3 reserved Style bold Bit4 0 bold off 1 bold on style italic Bit5 O italic off 1 italic on Style underlined Bit6 0 underlined off 1 underlined on style strikethrough Bit7 0 strikethrough off 1 strikethrough on lt exists gt lt exists1 gt lt exists2 gt 0 text format is deactivated 1 text format is activated lt hex_string gt sting containing data in hexadecimal format lt icon_id gt lt icon_id1 gt lt icon_id2 gt icon id list element icon identifier list object list containing icon id s Example icon id1 icon id2 lt interval gt time duration in number of units item id item identifier Identifier of item chosen s GSM11 14 lt items gt lt items1 gt lt items2 gt number of items in text formatting lt language gt 2bytes string indicating the language length lenghl length2 text formatting length Gives the number of formatted character or sets a d
127. x Response Action Remarks Set IPSENDX lt data gt IPSENDX lt link_num gt lt tx_ Send data via opened No 1 link in window gt OK or ERROR multiple links mode In non conversion mode the largest length of DATA is 1024 bytes which cannot contain the conflict characters with AT command like and etc In conversion mode the largest G620 GPRS Module AT Command User Manual ADD Page 39 of 142 Bs FIBOCOM length of DATA is 2048 bytes Read IPSENDX IPSENDXv lt link_num1 gt lt tx _window gt IPSENDX lt link_num2 gt lt tx _window gt IPSENDX lt link_num3 gt lt tx _window gt In multiple links mode query the available buffer block quantity of link OK or ERROR Detail parameter instruction lt Parameter gt Description lt Dest_ip gt Target IP lt Link_num gt Opened link number here is 1 Tx window Size of sending window It indicates how many packets that user can sent continuously 0 16 Example AT IOMODE 0 2 1 OK AT IPOPENX 1 TCP SZGPS XICP NET 3000 CONNECT AT IPSENDX 1 313131 OK Y IPSENDX 1 16 IPDATA 1 6 313131 AT IPSENDX IPSEND 1 16 IPSEND 2 16 IPSEND 3 16 OK AT IPCLOSE 1 G620 GPRS Module AT Command User Manual ADD Page 40 of 142 Bs FIBOCOM IPCLOSE 1 OK AT IOMODE 1 2 1 OK AT IPOPENX 1 TCP SZGPS XICP NET 3000 CONNECT AT IPSEN

Download Pdf Manuals

image

Related Search

Related Contents

D EXCAVATRICE  Manual de instruções ESV__SMV frequency inverter  Barco MFGD 3621 Projector Accessories User Manual  Manuale Utente - Alfa Alert Antifurto  Using a Database with Legitronic 36x  

Copyright © All rights reserved.
Failed to retrieve file