Home
G5-Family AT Commands User Manual - Premier
Contents
1. Command Syntax Response Action Remarks Set CRC lt n gt OK The Set command enables disables the extended format of an incoming call indication When enabled an incoming call is indicated to the terminal with an unsolicited result code CRING lt type gt instead of the normal RING Read CRC The Read command queries the CRC lt n gt current settings for the cellular result OK code Test CRC CRC list of supported The Test command returns the possible lt n gt s lt n gt values RING CRING Indication CRING lt type gt or RING The following table shows the CRC parameters lt Parameter gt Description lt n gt 0 Extended format disabled 1 Extended format enabled The default value is 0 lt type gt Type of incoming call ASYNCCSD asynchronous transparent REL ASYNCCSD asynchronous non transparent VOICE Normal voice Example G5 Family AT Command User Manual Page 41 of 203 Bs FIBOCOM AT CRC CRC 0 OK AT CRC CRC 0 1 OK Example RING CRING indication Incoming Call RING RING RING AT CRC 1 Enable extended ring format OK CRING VOICE CRING VOICE ath NO CARRIER OK 5 1 7 CLIP Calling Line Identification This command controls the Calling Line Identity CLI presentation indication to the terminal when an incoming call is detected by the G5xx This command allows the user to query the provisioning status of the CLI by
2. lt Parameter gt Description lt toda toda gt Type of origination address destination address lt fo gt First octet of the SM lt mr gt Message Reference lt ra gt Recipient Address lt tora gt Type of Recipient address lt scts gt Service center time stamp lt ct gt Command type lt sn gt Message serial number lt mid gt Message ID lt page gt Current page number lt pages gt Total number of pages lt dt gt Discharge Time lt st gt Status Example AT CMGL CMGL REC UNREAD REC READ STO UNSENT STO SENT ALL OK AT CPMS SM _ read messages from SIM CPMS 2 20 11 61 2 20 OK AT CMGL read rec unread messages with changing message stat CMGL 1 REC UNREAD 972544565034 05 01 01 09 21 22 08 message text OK AT CMGL OK the message stat was changed No rec unread messages AT CPMS ME CPMS 11 61 11 61 2 20 OK AT CMGL sto sent CMGL 142 STO SENT 054565034 message text OK AT CSDH 1 G5 Family AT Command User Manual Page 94 of 203 Bs FIBOCOM OK AT CMGL STO SENT CMGL 142 STO SENT 054565034 81 lt message length gt message text OK AT CMGS 18_ send to myself gt 079179521201009511000c91 7952446505430004AA0441424344 CMGS 68 OK AT CPMS sm CPMS 2 20 11 61 2 20 OK 7 1 11 change to SIM to read the incoming messages CMGR MMGR Read Message These commands handle the reading of SMs Th
3. Read AT amp F lt current profile number gt Test The Test command for amp F is not defined by ITU and therefore is not supported by the G5xx The G5xx returns an error G5 Family AT Command User Manual Page 25 of 203 Bs FIBOCOM The following table shows the amp F parameters lt Parameter gt Description lt value gt 0 Factory default configuration profile This is the only value supported Example AT amp F amp F 0 OK 4 1 7 Z Reset to Default Configuration This command drops the current call and resets the values to default configuration Command Syntax Response Action Remarks Set ATZ lt value gt OK or CMS ERROR lt err gt Read The Read command for Z is not defined and therefore is not supported by the G5xx The G5xx returns an error Test The Test command for Z is not defined and therefore is not supported by the G5xx The G5xx returns an error The following table shows the Z parameters lt Parameter gt Description lt value gt 0 Set to user profile 0 The default value is 0 Example ATZO OK 4 1 8 amp W Store User Profile This command saved the active profile to one of two user profiles Note The user must power off the module in regular process Otherwise this command cannot be in G5 Family AT Command User Manual Page 26 of 203 Bs FIBOCOM effect Command Sy
4. Line feed character specified by the value of the 4 register Name enclosed in angle brackets is a syntax element The brackets themselves do not appear in the command line Optional sub parameter of a command or an optional part of terminal information response enclosed in square brackets The brackets themselves do not appear in the command line When the sub parameter is not provided in the parameter type commands the new value equals its previous value In action type commands the action should be performed on the basis of the recommended default setting of the sub parameter Denotes a comment and should not be included in the command 2 4 2 Command Structure Each AT command has the AT or at prefix string except the commands A and Each AT command has the suffix lt CR gt except the commands A and Example G5 Family AT Command User Manual Page 12 of 203 Bs FIBOCOM AT CSQ lt CR gt ATS24 lt CR gt An AT command line may contain one or more commands Delimiters are used to separate the commands from each other The delimiter is either a semicolon or none meaning space basic commands Example ATSO 1V1QOE0 lt CR gt AT IFC 0 0 ICF 3 4 CNMI 2 1 0 0 0 lt CR gt 2 4 3 Results Code Structure By default the G5xx responds with verbose response codes The results code prefix is lt CR gt lt LF gt The results code suffix is lt CR gt lt LF
5. 18 079179521201009511000C917952428650290004AA044 1424344 OK AT CMGW 19 gt 079179521201009511000c917952428650290004AA0441 424344 Invalid length 19 CMS ERROR invalid PDU mode parameter AT CMGW 19 gt 079179521201009511000c917952428650290004AA044142434477 UDL is not equal to UD length CMS ERROR invalid PDU mode parameter AT CMGW 17 gt 079179521201009501000c91 79524286502900040441424344 No VP in PDU message CMGW 131 OK AT CMGR 131 CMGR 2 17 079179521201009501000C917952428650290004044 1424344 OK AT CMGW 14 gt 07917952140230F212000000000c91 79524286502900 SMS Command CMGW 132 OK AT CMGR 132 CMGR 2 14 07917952140230F212000000000C9179524286502900 OK AT CMGF 1 OK AT CMGR 132 CMGR STO UNSENT 18 0 0 0 972524680592 145 0 OK 7 1 14 CMGD Delete Message This command handles deletion of a single message from memory location lt index gt or multiple messages according to lt delflag gt If the optional parameter lt delflag gt is entered and is greater than 0 the lt index gt parameter is practically ignored If deletion fails result code CMS ERROR lt err gt is returned Note The deletion of multiple commands is a time consuming process that may require more than 60 G5 Family AT Command User Manual Page 107 of 203 Bs FIBOCOM seconds Command Syntax Response Action Remarks Set CMGD lt inde OK x gt lt delflag gt or CMS ERROR lt err
6. 9 Network 9 1 Network Commands 9 1 1 CSQ Signal Strength This command displays the received signal strength indication lt rssi gt and channel bit error rate lt ber gt from the G5xx Command Syntax Response Action Execute Read AT CSQ CSQ lt rssi gt lt ber gt AT CSQ OK Test AT CSQ CSQ list of supported lt rssi gt s list of supported lt ber gt s OK The following table shows the CSQ parameters lt Parameter gt Description lt rssi gt 0 through 31 covers the range of 113 dbm or less to 5 1dbm or greater lt ber gt Channel bit error rate in percent 0 7 RXQUAL values in the GSM 05 08 table 99 Unknown or not detectable Example AT CSQ CSQ 23 99 OK AT CSQ CSQ 0 31 99 0 7 99 OK G5 Family AT Command User Manual Page 120 of 203 Bs FIBOCOM 9 1 2 CREG Network Registration Status Command Syntax Response Action Remarks Set AT CREG OK The Set command controls the lt n gt or presentation of an unsolicited result code CME ERROR lt err and the result of the Read operation Read AT CREG CREG The Read command returns the status of lt n gt lt stat gt lt lac gt the result code presentation and shows lt ci gt whether the network has currently OK indicated the registration of the G5xx Location information elements lt lac gt and lt ci gt are returned only when lt n gt 2 and the
7. AT VTD Page 34 of 203 Bs FIBOCOM 4 3 2 CEER Extended Error Report This execution command returns an extended error report containing one or more lines of information text lt report gt determined by the manufacturer providing reasons for the following errors Failure in the last unsuccessful call setup originating or answering or the in call modification Last call release Typically the text consists of a single line containing the reason for the error according to information given by GSM network in textual format Command Syntax Response Action Execute AT CEER CEER lt report gt OK Test AT CEER OK G5 Family AT Command User Manual Page 35 of 203 Bs FIBOCOM 5 Call Control 5 1 Call Control AT Commands 5 1 1 D Dial Command This command places a VOICE call on the current network Call type is a voice call For more information about call failure should use the AT CEER command Note If there is an active voice call and the terminal sends another ATD voice call command to the G5xx the active call is put on hold and the new number is called Command Response Action ATD lt number gt VOICE CALL 1st response Voice call place begins OK 2nd response Voice call connected OK When MO call fails 1 Connection Failure NO CARRIER or BUSY or NO ANSWER 2 General Failure ERROR 3 Security reason such as SIM not present OPERATION NOT ALLOWED
8. CGREG The Read command returns the status of lt n gt lt stat gt lt lac gt lt ci gt the result code presentation and shows OK whether the network has currently indicated the GPRS registration of the G5xx Location information elements lt lac gt and lt ci gt are returned only when lt n gt 2 and the G5xx is registered in the network Test AT CGREG CGREG list of supported The Test command displays the supported lt n gt s values of lt n gt OK G5 Family AT Command User Manual Page 122 of 203 Bs FIBOCOM The following table shows the CGREG parameters lt Parameter gt Description lt n gt 0 Disables the network registration unsolicited result code 1 Enables the network registration unsolicited result code CGREG lt stat gt 2 Enables the network registration and location information in unsolicited result code and Read command CGREG lt stat gt lt lac gt lt ci gt The default value is 0 lt stat gt 0 Not registered and the ME is not currently searching for a new operator to which to register 1 Registered home network 2 Not registered but the ME is currently searching for a new operator to which to register 3 Registration denied 4 Unknown 5 Registered roaming lt lac gt Two byte location area code in hexadecimal format lt ci gt Two byte cell ID in hexadecimal format Example AT CGREG CGREG 000 002 OK AT CGREG 2 OK AT C
9. OK 3 10 CLAC List of All Available AT Commands Command Execute Syntax Response Action Remarks CLAC List of available AT The Execute command displays a list of all commands the AT commands supported by the G5xx G5 Family AT Command User Manual Page 20 of 203 Bs FIBOCOM 4 Modem Control and Status 4 1 Modem Register Commands The G5xx holds certain data items in selected memory space named Software Registers S registers and Modem Registers Some of these registers are used as bitmaps where one register holds more than one data item All S registers can be accessed using the S command described in S Bit Map Registers Some registers can also be accessed using dedicated commands detailed below 4 1 1 V G5xx Response Format This command determines the response format of the data adapter and the contents of the header and trailer transmitted with the result codes and information responses This command also determines whether the result codes are transmitted in a numeric or an alphabetic verbose form The text portion of information responses is not affected by this setting The following table shows the effect that setting this parameter has on the format of information text and result codes vo Vi Information Responses lt ATVO gt lt cr gt lt lf gt lt ATV1 gt lt cr gt lt lf gt 0 OK lt numeric code gt lt cr gt lt verbose 1 CONN
10. OK MIPCALL 10 170 4 111 AT MPING 1 10 170 4 11 2 Ping remote computer using default parameters OK MPING 10 170 4 112 0 0 400 Echo Reply message received RTT is 400 ms MPING 10 170 4 112 0 0 420 MPING 10 170 4 112 0 0 440 MPING 10 170 4 112 0 0 410 Ping request execution is completed Four Echo Request messages were sent and four Echo Reply messages were received Average RTT is 417 milliseconds MPINGSTAT 0 10 170 4 112 4 4 417 13 1 14 MPINGSTAT Status Update for MPING Execution This is the unsolicited response that the G5xx sends to the terminal to inform of ping execution status update and provides summary statistics of ping request when ping request execution is completed Command Syntax Response Action Remarks Unsolicited MPINGSTAT The unsolicited response that the G5xx Response lt status gt lt Destination_IP gt lt Sen sends to the terminal to inform it with tMessages gt lt ReceivedMessages gt ping execution status update This lt AverageRTT gt response also provides a statistics summary of ping request when ping request execution is completed G5 Family AT Command User Manual Page 186 of 203 Bs FIBOCOM The following table shows the MPINGSTAT unsolicited response parameters lt Parameter gt Description lt status gt Specifies a status of ping request execution Defined values 0 The unsolicited response with th
11. The address gt may be static or dynamic For a static address it will be the one assigned during the last PDP context activation that used the context definition referred to by lt cid gt lt PDP_address gt is omitted if none is available Example AT CGPADDR CGPADDR 1 2 OK AT CGPADDR 1 CGPADDR 1 0 0 0 0 OK G5 Family AT Command User Manual Page 166 of 203 Bs FIBOCOM 13TCP IP 13 1 Basic Mode 13 1 1 MIPCALL Create a Wireless Link This command sets up a PPP Point to Point Protocol connection with the GGSN Gate GPRS Support Node and returns a valid dynamic IP for the G5xx Note G5xx can t support TCP IP stack AT command mixed with another AT command which can active the PPP or GPRS in parallel G5xx can t support TCP IP stack AT command when voice call established Command Syntax Response Action Set MIPCALL lt Operation gt lt APN gt lt phon OK e number gt lt User name gt lt Password gt MIPCALL lt local IP address gt or ERROR lt err gt MIPCALL 0 Read MIPCALL MIPCALL lt status gt lt IP gt Test MIPCALL MIPCALL list of supported lt operation gt s Notes The MIPCALL command does not return the prompt to the terminal until the IP is received from the provider or time out has occurred therefore no other commands can be issued in the meantime The MIPCALL command does not have a general ABORT mechanism theref
12. e The TP RP and TP UDHI settings will be taken from the incoming message s first octet e lt vp gt will be set to the default value 167 as defined in 03 40 e lt sca gt lt tosca gt lt pid gt and lt dcs gt will be set according the incoming message parameters e If lt da gt and or lt toda gt are not given by the command the lt oa gt and lt tooa gt will be set instead G5 Family AT Command User Manual Page 101 of 203 Bs FIBOCOM Command Syntax Response Action Remarks Set CMSS lt in CMSS lt mr gt The Set command sends a message dex gt lt da gt or from storage to the network lt toda gt CMS ERROR lt err gt The following table shows the CMSS parameters lt Parameter gt Description lt index gt 1 352 Index in storage of the message to be sent Destination address in quoted string This field contains a single phone lt da gt number lt toda gt Type of DA Value range is 128 255 according to GSM 03 40 9 1 2 5 If this field is not given and first character of lt da gt is lt toda gt will be 145 otherwise 129 lt mr gt Sent message reference number Example AT CMSS 7 CMSS 12 OK AT CMSS 7 054565 132 129 CMSS 13 OK Note Any character sent by TE to G5xx before G5xx has reported a result of AT CMSS operation will abort AT CMSS command execution However if SMS was already sent to network
13. primary secondary for each socket If the user doesn t specify DNS servers by AT MSDNS G5xx will use default DNS from NW The defined value s will be saved during disconnect PDP context can be used in next PDP context but will reset after power cycle Command Syntax Response Action Set AT MSDNS lt Socket_ID gt OK lt Primary_DNS_server_IP gt or lt Secondary_DNS_server_IP CME ERROR lt err gt gt Read AT MSDNS MSDNS 1 lt Primary_DNS_server_IP gt lt Secondary_DNS_server_IP gt lt CR gt lt LF gt MSDNS 2 lt Primary_DNS_server_IP gt lt Secondary_DNS_server_IP gt lt CR gt lt LF gt MSDNS 3 lt Primary_DNS_server_IP gt lt Secondary_DNS_server_IP gt lt CR gt lt LF gt MSDNS 4 lt Primary_DNS_server_IP gt lt Secondary_DNS_server_IP gt G5 Family AT Command User Manual Page 188 of 203 Bs FIBOCOM lt CR gt lt LF gt lt CR gt lt LF gt OK Test AT MSDNS MSDNS List of supported lt Socket_id gt s lt IP gt lt IP gt OK The following table shows the MSDNS parameters lt Parameter gt Description lt Socket_ID gt A unique number that identifies a connection provided by the terminal application 0 Invalid socket number 1 2 3 4 Valid socket number 5 Valid socket number dedicated to MPING lt Primary_DNS_server_IP gt lt Seco IP of the destination site in the format AAA BBB CCC DDD
14. 0524680592 gt HELLO CMGS 168 OK CDS 6 168 972524680592 145 05 08 02 15 20 12 08 05 08 02 15 20 14 08 0 AT CNMI 1 0 0 2 OK AT CMSS 296 CMSS 185 OK 7 1 7 CMTI Unsolicited Response New SMS DELIVER Receipt Indication The CMTI unsolicited response is sent to the TE upon receipt of a new SMS DELIVER SM if the CNMI parameter lt mt gt is set to 1 Refer to CNMI New Message Indications to Terminal This unsolicited message indicates that a new SMS DELIVER message was received and is stored in location lt index gt CMTI lt mem gt lt index gt The following table shows the CMTI parameters lt Parameter gt Description lt mem gt Message memory space SM SIM memory storage lt index gt Location of the new message G5 Family AT Command User Manual Page 88 of 203 Bs FIBOCOM Example AT CNMI 1 2 OK AT CMGS 1 8 send to my self gt 079179521201009511000c91 7952428650290004AA0441424344 CMGS 69 OK CMTI SM 4 7 1 8 CMT Unsolicited Response New SMS DELIVER Receipt The CMT unsolicited response is sent to the TE upon receipt of a new SMS DELIVER SM if the CNMI parameter lt mt gt is set to 2 Refer to CNMI New Message Indications to Terminal This unsolicited message displays the received SMS DELIVER message In text mode CMGF 1 CMT lt oa gt lt alpha gt lt scts gt lt tooa gt lt fo gt lt pid g
15. 1 16 MIPODM Open a Socket UDP or TCP in Online Data Mode essssssssssecssssssecsssssssesseeses 190 13 1 17 MIPXOFF Flow Control XOff sssssssssssccssssccsssscccssecccsnsccssusccesssccessnecessusceesuscessuseessaneccesneeesueceesnseess 192 13 1 18 MIPXON Flow Control XON LQ ssessssescsseccsseecsseccssecssscesssccssecessecsuecesseecsneessseecssecssseesseesueeesneeesueeese 192 13 1 19 MIPDNS Resolve Domain Name uuu sssscssssscseessecsseesseecssecesseecsseccssecesneessseccsseecsseesnseesseeesneeesneeess 193 HEX MOG cscs sascscssssdevescovcstavencsesconbectasschasssonsosdusecobsscoosetayessosesedssossscoasedossvensdeceuseebocevavesecbesuadecoazecbasvessssesesssevssenss 193 13 2 1 MIPSEND Ctrl Z ss ccsscascccsasssscsassccunssvseaccutspvceuasenscasesctanstavaveceaunsancsnsccavasavestvcsteosbccabassecsabeschavesosebectbansaees 193 13 2 2 MIPSEND Timeout 00 essssssssssccsssccnsscenseccnsscenececnscsssecssscesseesssscenseesnsscenssssnesesssessseessssessseesnssesseeeeaes 194 13 2 3 MIPSEND Data length uu eesssscssseecsscesneecsssccsnsecsscccsseccsseccsseessseesusecsuseesueesuessuecesseesssecsssecsssessaes 195 13 2 4 GTSET HEX mode Configuration csssccssssccsssscccsseecsssescessseccsssecessueecsessecesnsecesssececsueceeesnseseenseesee 195 KERE olo a A E EEEN E E AA E E E 197 CME E Ofisonusssusduusasuo nT usn n RVU nN UG ATAS nN RN USE NUSA nT EGUS ENUS NESNA 197 Aed e E E E E E E E E E E E E E E E E S
16. 199 TOPP ENO egarinucenana rarena na aa a a a N A NN 202 G5 Family AT Command User Manual Page 9 of 203 Bs FIBOCOM 1 Preface 1 1 Manual Scope This manual introduces the G5xx AT command set and describes how software developers can use these commands to communicate with the G5xx device and to create software applications that communicate with the G5xx using these commands Note The integrator should read the corresponding SW release notes for the G5xx version he is using to get information about differences from this manual 1 2 Target Audience This manual is intended for software developers who communicate with the G5xx device using the AT commands and create applications to communicate with the G5xx device using the AT commands G5 Family AT Command User Manual Page 10 of 203 Bs FIBOCOM 2 Introduction to AT Commands 2 1 AT Commands Overview AT commands are sets of commands used for communication with the G5xx cellular modem AT commands are comprised of assemblies of ASCII characters which start with the AT prefix except the commands A and The AT prefix is derived from the word Attention which asks the modem to pay attention to the current request command AT commands are used to request services from the G5xx cellular modem such as e Call services dial answer and hang up e Cellular utilities send receive SMS e Modem profiles Auto Answer e Cellular Network queries GSM signal quality 2
17. 2013 03 08 1 To modify att cgmm example 2 Modify D gt mem lt n gt to D gt mem lt n gt 3 Modify CLCK ERROR to CLCK ERROR 4 Add chapter 15 V1 0 3 2013 04 27 1 change number type 129 to 161 and 128 to 129 2 Change CDS to ODM 3 Add UART2 configuration 4 Add ERROR CODE 5 Update IPR baud rate G5 Family AT Commands User Manual Page 2 of 203 Bs FIBOCOM V1 0 4 2013 05 09 Some content is transferred to supplementary document V1 0 5 2013 08 01 1 Add AT MSMPD 2 Add AT GTWD 3 Add atiO 4 Update Error Code 5 Update the default value of AT amp D 6 Add MMGR and MMGL 7 Add GTSET MIPDSETS MIPDNS G5 Family AT Commands User Manual Page 3 of 203 Bs FIBOCOM Applicability Table No Type Note 1 G510 2 G510S 3 G520 G5 Family AT Commands User Manual Page 4 of 203 Bs FIBOCOM Contents My REACER E 10 1 1 Manual S COPD Cs scceseczssceczccsescscvcscessrtossscosssetasecesssecucedvsacestsetessendstecaancedaserssedessstavaataessntaseranatezsetouactosssaaaaeeuacteearetete 10 1 2 Target AUC SI Cenisia i AOAIE 10 2 Introduction to AT Commands esseesssssscsseecsseecsseecsseccsseccsseccssecsssecsssecsssecsuscessscesuecesueccsneccssecsssecsuseesssessuseesueeesueeesseecsneessee 11 2 1 AT Commands OVErViICW seesssseccsssecsseccsseccsseccsseccsseccsscessscesuscesusessucesncssnecssseccssecssseesssessusessssecsuscesneecsn
18. 210 742D4C656E6774683A203231370D0A446174653A205468752C203233204A756E20323030 352030383 MIPRTCP 2 130 484541443E3C5449544C453E333032204D6F 7665643C2F5449544C453E3C2F484541443E3 C424F44593E0A3C483 13E333032204D6F7665643C2F48313E0A54686520646F 63 756D656E74206861 73206D MIPRTCP 2 50 6F7665640A3C4 120485245463 D22687474703A2F2F7777772E6 6F6F676C652E636F 2E696C 2F63786665723F633D505245462533443A544D253344313131393531343833323A5325334467384A6 37631 MIPRTCP 2 0 426A5458472D30636A5926616D703B707265763D2F223E686572653C2F413E2EODOA3C2F42 4F44593E3C2F48544D4C3EODOA MIPSTAT 2 1 40 13 1 13 MPING Start Ping Execution ICMP Protocol This command allows verifying IP connectivity to another remote machine computer by sending one or more Internet Control Message Protocol ICMP Echo Request messages The receipt of corresponding Echo Reply messages are displayed along with round trip times Valid IP address must be obtained using AT MIPCALL command prior to starting ping execution Only one ping request execution will be allowed at any given moment Command Syntax Response Action Remarks Set MPING lt mo OK The set command shall send a lt count gt de gt lt Destina or Internet Control Message Protocol ICMP tion_IP hostna CME ERROR lt err gt Echo Request messages to a target node me gt lt count gt defined by lt Destination IP hostname gt L lt size gt lt TTL parameter If lt mode
19. 5 1 13 CLIR Calling Line Identification Restriction This command instructs the G5xx to query enable or disable the presentation of the CLI calling line ID of a MO call to the called party The restriction of the CLI disable presentation is dependent both on the G5xx and on the network The network enables three possible provisions of CLIR e Not provisioned CLIR Off presentation allowed e Provisioned permanently e Provisioned with Temporary mode The provision is fixed and cannot be changed by an AT command Temporary Mode Temporary mode can be in one of two states A Presentation restricted CLIR On as default B Presentation allowed CLIR Off as default A subscriber to Temporary mode always has a default subscription to state A or B Temporary mode provisioning means that the terminal can request the G5xx to G5 Family AT Command User Manual Page 51 of 203 Bs FIBOCOM switch the default mode from A to B and vice versa Note When a service is in state A and the terminal wants to enable the CLI presentation turn CLIR off for a single call it can do so using the ATD command This does not change the Temporary mode state This can also be done when the service is in state B and the terminal wants to disable the CLI presentation turn CLIR on for a single call Command Syntax Response Action Remarks Set CLIR lt n OK The Set command instructs the G5xx gt or to enable disable CLI
20. Data Protocol context Command Syntax Response Action Remarks Set AT CGDCONT lt cid gt OK The Set command specifies the lt PDP_type gt lt APN gt or context identification parameter lt PDP_addr gt L lt d_com CME ERROR lt err gt values for a PDP context A p gt L lt h_comp gt special form of the Set command CGDCONT lt cid gt causes the values for context number lt cid gt to become undefined Read AT CGDCONT CGDCONT The read command returns the lt cid gt lt PDP_type gt lt APN gt current settings for each defined lt PDP_addr gt lt data_comp gt context lt head_comp gt lt CR gt lt LF gt It will be read only OK without CGDCONT any set command lt cid gt lt PDP_type gt lt APN gt lt PDP_addr gt lt data_comp gt lt head_comp gt OK Test AT CGDCONT CGDCONT range of The Test command returns the supported lt cid gt s values supported as a lt PDP_type gt list of compound value If the ME supported lt d_comp gt s supports several PDP types list of supported lt PDP_type gt the parameter lt h_comp gt s value ranges for each OK lt PDP_type gt are returned on a separate line G5 Family AT Command User Manual Page 156 of 203 Bs FIBOCOM The following table shows the CGDCONT parameters lt Parameter gt Description lt cid gt Numeric parameter specifying a particular PDP context definition PDP Contex
21. Enable Value Description G5xx Support 0 Unconditional call forwarding is active Yes 1 Some conditional call forwarding is active Yes 2 Call has been forwarded Yes 3 Call is waiting Yes GSM only 4 CUG call lt index gt is present Yes 5 Outgoing calls are barred Yes 6 Incoming calls are barred Yes 7 CLIR suppression rejected Yes 8 Call has been deflected No G5 Family AT Command User Manual Page 61 of 203 Bs FIBOCOM Value Description G5xx Support 0 This is a forwarded call Yes Mobile terminated call setup 1 CUG call lt index gt is present mobile terminated call setup Yes 2 Call has been put on hold during a voice call Yes 3 Call has been retrieved during a voice call Yes 4 Multiparty call has been entered during a voice call Yes 5 Call on hold has been released during a voice call not a supplementary Yes service notification 6 Forward check supplementary service message received can be received at Yes any time 7 Call is being connected with the remote party in an alerted state using an Yes explicit call transfer operation during a voice call 8 Call has been connected with the other remote party using an explicit call Yes transfer operation during a voice call or during mobile terminated call setup Number and subaddress parameters may be present lt number gt String type phone number of format defined by lt type gt lt type
22. FIBOCOM The following table shows the VTS parameters lt Parameter gt Description lt DTMF gt String of ASCII characters 0 9 A D String length is up to 32 characters long lt duration gt A DTMF tone of different duration from that set by the VTD command 1 255 200mS to 1S adjustable Note The duration defined by VTS is specific to the DTMF string in this command only It does not erase the duration defined by the VTD command and is erased when the G5xx is powered down If lt duration gt is not defined the VTD value is used 11 2 9 MAPATH Audio Path This command sets requests the active input accessory and the output accessory for each feature For example you can choose the headset mic to be active the voice and keypad feedbacks to go to the speaker and the alerts and rings to go to the alert speaker On power up the default path mic speaker and alert speaker are restored Command Syntax Response Action Remarks Set MAPATH OK The Set command sets the audio mode lt channel gt or The mode indicates which I O CME ERROR lt err gt accessories are now active for the different audio channel The lt channel gt field is only used audio path Read MAPATH MAPATH channel The Read command returns the active OK input audio accessory and the output accessory for channel Test MAPATH MAPATH supported The Test command returns the audio channel supported au
23. Family AT Command User Manual Page 37 of 203 Bs FIBOCOM Example AT CPBS SM OK AT CSCS IRA OK AT CPBW 1 035659090 129 VoiceMail OK AT CPBR 1 CPBR 001 035659090 129 VoiceMail OK atd gt VoiceMail Phonebook by name OK OK ath NO CARRIER OK 5 1 3 DL Dial Last Number The DL command places a voice call to the last number dialed The call progress information success failure is reported in the same way as for the Dial command Command Detailed Description ATDL Initial Response Last Number retrieved ATDL lt DIAL DIGITS gt 1st response Voice call placement begins OK 2nd response Voice call connected OK The following table shows the DL parameters Note When ATDL is issued after a dialed number with comma digit ATDL dials the exact number that was last dialed including the DTMF tones sent If ATDLis sent before any Dial command was issued mainly after Power On when the last number is an empty field the G5xx will return NO CARRIER as mentioned in the ITU V 25 ter standard CCFC 21 CCWA 43 CLIP 30 CLIR 31 COLP 76 will be treat as call number and dail it again G5 Family AT Command User Manual Page 38 of 203 Bs FIBOCOM Example atdl ATDL 035658278 OK OK NOICE call 5 1 4 H Hang up Call This command hangs up a call The G5xx terminates the call whether it is a voice call and whether it is an incomi
24. G5xx is registered in the network Test AT CREG CREG list of supported lt n gt s OK The following table shows the CREG parameters lt Parameter gt Description lt n gt 0 Disables the network registration unsolicited result code 1 Enables the network registration unsolicited result code CREG lt stat gt 2 Enables the network registration and location information in unsolicited reports and Read command CREG lt stat gt lt lac gt lt ci gt The default value is 0 lt stat gt 0 Not registered and the ME is not currently searching for a new operator to which to register 1 Registered home network 2 Not registered but the ME is currently searching for a new operator to which to register 3 Registration denied 4 Unknown 5 Registered roaming lt lac gt Two byte location area code in hexadecimal format lt ci gt Two byte cell ID in hexadecimal format Example AT CREG G5 Family AT Command User Manual Page 121 of 203 Bs FIBOCOM CREG 0 2 OK AT CREG CREG 0 1 OK AT CREG 2 OK AT CREG CREG 2 1 27A0 0DE1 OK AT CREG 1 OK AT CREG CREG 1 1 OK AT CREG 0 OK 9 1 3 CGREG GPRS Network Registration Command Syntax Response Action Remarks Set AT CGREG OK The Set command controls the presentation lt n gt or of an unsolicited result code CGREG CME ERROR lt err gt and the result of the Read operation Read AT CGREG
25. Manual Page 202 of 203 Bs FIBOCOM 634 TCPIP operation not allow 635 TCPIP memory not exist 636 Start timer error G5 Family AT Command User Manual Page 203 of 203
26. ReceivedMessages gt value is greater than zero Calculation of this value comprises of accumulating all RTT values and dividing total accumulated RTT by lt ReceivedMessages gt value Only an integral part of a result will be reported and any digits of a fraction part will be truncated Example AT MIPCALL 1 internet OK MIPCALL 10 170 4 111 Ping host www sohu com 3 times with lt TTL gt 255 All other parameters are default AT MPING 1 www sohu com 3 255 OK CMP Echo Reply message received RTT is 522 ms G5 Family AT Command User Manual Page 187 of 203 Bs FIBOCOM MPING 121 14 0 17 0 0 522 MPINGSTAT 1 No corresponding reply within timeout MPINGSTAT 3 Flow Control OFF MPINGSTAT 4 Flow Control ON a new Echo Request message is sent immediately MPING 121 14 0 17 0 0 638 Ping request execution is completed Statistics displayed to terminal Three Echo Request messages were sent and two Echo Reply messages were received Average RTT is 580 milliseconds MPINGSTAT 0 121 14 0 17 3 2 580 Ping host www sohu com 1 time with lt TTL gt 1 and lt size gt 1372 AT MPING 1 www sohu com 1 1372 1 OK CMP Time Exceeded message received TTL expired in transit MPING 192 168 252 65 11 0 Ping request execution is completed MPINGSTAT 0 121 14 0 17 1 0 13 1 15 MSDNS Set DNS IP Address This command set read DNS Domain Name Server IP address
27. SIM EF SMSp Short message service parameters lt tosca gt is optional parameter default value is 129 local number When lt sca gt is prefixed with it indicates that lt tosca gt is set to 145 International number Read CSCA CSCA lt sca gt lt tosca gt Read command displays lt sca gt and OK lt tosca gt stored in SIM EF SMSp Test The Test command for CSCA is not defined by ETSI G5 Family AT Command User Manual Page 79 of 203 Bs FIBOCOM The following table shows the CSCA parameters lt Parameter gt Description lt sca gt am Service Center Address character prefix of lt sca gt indicates lt tosca gt of 145 Minimum 1 and up to 20 characters where each character is represented by semi octets excluding character If lt sca gt contains an odd number of digits bits 4 to 7 of the last octet shall be filled with an end mark coded s 111 lt tosca gt Type of service center address lt tosca gt of 129 is mostly use for local number and 145 for International lt tosca gt of 129 is default value lt tosca gt values areinrangeof 0 255 Valid values are defined according to GSMO03 40 v7 4 0 section 9 1 2 5 as follow Bit 7 is 1 Bits 6 5 4 Present Type of number as follow Bits654 000Unknown 00 1 International number 0 1 0 National number 01 1 Network specific number 1 0 0 Subscriber num
28. The ndary_DNS_server_IP gt range of each octant is 0 255 The value can be written in 1 2 or 3 digits Example AT MSDNS MSDNS 1 5 lt IP gt lt IP gt OK AT MSDNS read when MIPCALL is disconnected MSDNS 1 0 0 0 0 0 0 0 0 MSDNS 2 0 0 0 0 0 0 0 0 MSDNS 3 0 0 0 0 0 0 0 0 MSDNS 4 0 0 0 0 0 0 0 0 MSDNS 5 0 0 0 0 0 0 0 0 OK AT MSDNS 2 212 150 49 10 206 49 94 234 set socket 2 prim amp sec DNS OK AT MSDNS 4 62 120 55 10 set socket 4 prim DNS only OK AT MSDNS 5 212 150 49 10 206 49 94 234 set socket 5 prim amp sec DNS OK AT MSDNS read when MIPCALL is disconnected MSDNS 1 0 0 0 0 0 0 0 0 G5 Family AT Command User Manual Page 189 of 203 Bs FIBOCOM MSDNS 2 212 150 49 10 206 49 94 234 MSDNS 3 0 0 0 0 0 0 0 0 MSDNS 4 62 120 55 10 0 0 0 0 MSDNS 5 212 150 49 10 206 49 94 234 OK 13 1 16 MIPODM Open a Socket UDP or TCP in Online Data Mode This command causes the G5xx to initialize a new socket that waits for a connection from a remote machine or opens a common or TCP connection with a remote side according to received parameters and switch it to Online raw data transfer Data Mode and open a connection with a remote side Notes MIPxxx is a complete set of GPRS commands This set should not be used with other GPRS commands such as CGATT CGACT and so on Online Data Mode allows the user to transfer raw data from ter
29. allowed in this location area 132 Service option not supported 133 Requested service option not subscribed 134 Service option temporarily out of order 149 PDP authentication failure 150 Invalid mobile class 148 Unspecified GPRS error 14 2 CMS Error Parameter Description lt Err gt 1 Unassigned unallocated number 8 10 21 27 28 29 30 38 41 42 47 50 69 81 95 96 Operator determined barring Call barred Short message transfer rejected Destination out of service Unidentified subscriber Facility rejected Unknown subscriber Network out of order Temporary failure Congestion Resources unavailable unspecified Requested facility not subscribed Requested facility not implemented Invalid short message transfer reference value Invalid message unspecified Invalid mandatory information G5 Family AT Command User Manual Page 199 of 203 Bs FIBOCOM 97 98 99 111 127 128 129 130 143 144 145 159 160 161 175 176 192 193 194 195 196 197 198 199 208 209 210 211 212 213 255 300 301 302 303 304 Message type non existent or not implemented Message not compatible with short message protocol state Information element non existent or not implemented Protocol error unspecified Interworking unspecified Telematic interworking not supported Short message Type 0 not supported Cannot replace short message Unspecif
30. already G5 Family AT Command User Manual Page 193 of 203 Bs FIBOCOM AT MIPSEND 2 gt gt This is the data in HEX lt CTRL Z gt lt CTRL Z gt ends the prompt HEX mode and returns to regular AT command mode OK MIPPUSH 2 0 MIPSEND 2 0 2048 OK 13 2 2 MIPSEND Timeout Response Action Remarks Command Syntax Set MIPSEND lt So cket_ID gt Example Opening socket 2 already AT MIPSEND 2 MIPPUSH lt Socket_ID gt lt Status gt MIPSEND lt Socket_ID gt lt Status gt lt FreeSize gt or ERROR gt gt This is the data in HEX lt timeout gt OK MIPPUSH 2 0 MIPSEND 2 0 2048 OK G5 Family AT Command User Manual After command received G5xx will respond gt lt CR gt lt LF gt Send any data without incode The data buffer range is 0 lt buffer lt 1400 bytes After timeout the data will be push automatic and returns to regular AT command mode The default timeout is 12s Page 194 of 203 Bs FIBOCOM 13 2 3 MIPSEND Data length Command Syntax Response Action Remarks Set MIPSEND MIPPUSH After command received G5xx will respond lt Socket_l lt Socket_ID gt lt Status gt gt lt CR gt lt LF gt D gt lt Data_l MIPSEND Send any data in HEX The data buffer range en gt lt Socket_ID gt lt Status gt lt Fr is 0 lt data_len lt 1400 bytes eeSize gt When G5xx receive the corresponding or len
31. book define a group of permitted numbers Call indications related to a fixed dialing entry containing wild cards or only a prefix of anumber do not display any lt alpha gt identifier Command Syntax Response Action Remarks Set AT CPBW lt index gt OK lt number gt lt type gt lt or text gt CME ERROR lt err gt Test AT CPBW CPBW list of This command supported lt index gt s lt nlength gt li queries the allowable st of command field and supported lt type gt s lt tlength gt sizes OK The following table shows the CPBW parameters lt Parameter gt Description lt index gt Index for a given phone book entry lt number gt Phone number of a given entry lt type gt The address type of a phone number 161 Use for local call 145 Use for international access code 129 Unknown Note 128 is used to represent an email address or a mailing list In this case lt ph_type gt can be used to further differentiate between the two lt text gt Text identifier for a phone book entry according to the character set as specified by command CSCS lt nlength gt The maximum size of a phone number in digits There is a limited number of PB records that can be stored with this length The number of long PB records depends on the G5 Family AT Command User Manual Page 74 of 203 Bs FIBOCOM size of the SIM card EX
32. call CME ERROR lt err gt G5 Family AT Command User Manual Page 54 of 203 Bs FIBOCOM 5 1 16 MDC Selection of Desired Message to Be Displayed Upon Connection of a Voice Call This AT command enables you to select the desired messages to be displayed upon connection of a voice call with a remote party The OK and CONNECT messages are available G5 Family AT Command User Manual Command Syntax Response Action Remarks Set MDC lt OK The Set command selects which of the mode gt or supported messages will be displayed upon CME ERROR connection of a voice call lt err gt lt mode gt Command Parameters 0 Display OK on voice call connection 1 Display CONNECT on voice call connection Default Values Power Up As previously saved in NVM FLEX bit 0 Before Set command is first used Read MDC MDC lt mode gt The Read command should return the OK current selection of lt mode gt Test MDC MDC list of The Test command returns the possible supported lt mode gt values lt mode gt s OK Example AT MDC MDC 0 1 OK AT MDC 1 OK ATD lt number gt OK CONNECT AT MDC MDC 1 OK AT MDC 0 Page 55 of 203 Bs FIBOCOM OK ATD lt number gt OK OK AT MDC MDC 0 OK 5 1 17 MHUP G5xx Hung UP call This command hung up a specific call or all calls and reports a specific disconnect cause to the NW Command Syntax Respon
33. containing manufacturer identification information Command Response Action AT CGMI CGMI lt manufacturer_ID gt AT CGMI OK AT GMI GMI lt manufacturer_ID gt AT GMI OK AT FMI FMI lt manufacturer_ID gt AT FMI OK Example AT CGMI CGMI Fibocom OK 3 2 CGMM GMM FMM Request Model ID These commands request the model identification The G5xx outputs a string containing information about the specific model including a list of the supported technology used and the particular model number Command Response Action AT CGMM CGMM lt list of supported technologies gt lt model gt AT CGMM OK AT GMM GMM lt list of supported technologies gt lt model gt AT GMM OK AT FMM FMM lt list of supported technologies gt lt model gt AT FMM OK Example AT CGMM G5 Family AT Command User Manual Page 15 of 203 Bs FIBOCOM CGMM GSM850 900 1800 1900 G510 OK The following table shows the CGMM string parameters String Description GSM900 EGSM at 900 MHz GSM1800 DCS at 1800 MHz 3 3 CGMR GMR FMR Request Revision These commands request the revision identification The G5xx outputs a string containing the revision identification information of the software version contained within the device Command Response Action AT CGMR AT CGMR CGMR lt revision gt OK AT GMR AT GMR GMR lt revisi
34. end Changing the parameters will take effect immediately in both the command and online command states The DCD line is an output line that indicates the following In Circuit Switch Data mode an active low indicates that a valid carrier data signal was detected by the G5xx CONNECT message is received and inactive high indicates idle The AT amp C command always puts the DCD command ON when set to 0 If the AT amp C command is set to 1 then the escape command sets the DCD signal to an inactive state and the ATO command is set to active The AT amp C set to 2 sets the DCD signal OFF In GPRS mode the DCD line indicates the PDP context status PDP context active sets the DCD to active low PDP context inactive sets the DCD to inactive high The DCD is activated only when the PDP context is achieved The DCD is de activated when the PDP context is off In Local Link mode the DCD line indicates the Local Link data status When AT amp C is set to 0 the DCD signal is always ON When AT amp C is set to 1 DCD signal is set to ON when MDLC command has been launched DCD signal is set to OFF when Local link has been stopped When AT amp C is set to 2 the DCD signal is always OFF When AT amp C is set to 0 the DCD signal is always ON When AT amp C is set to 1 the DCD is activated in online mode When AT amp C is set to 2 the DCD is activated only when the PDP context is achieved temporary IP address is received Note If
35. for send receive user data Command Syntax Response Action Remarks Set GTSET UARTM OK Set UART2 work mode ODE lt mode gt or ERROR The following table shows the UARTMODE parameters lt Parameter gt Description lt mode gt 0 Uart2 use for AT command default 1 Uart2 use for sending receiving data 2 Uart1 use for sending receiving data 10 2 2 GTSET UARTREV report data mode The GTSET UARTREV command set UART2 report data mode for data length or for all data The UART1 output data len or all data Command Syntax Response Action Remarks Set GTSET UARTR OK Set UART2 report data mode EV lt mode gt or ERROR The following table shows the UARTREV parameters lt Parameter gt Description lt mode gt 0 When receive data do not report default 1 When receive data only report data length 2 When receive data report all data 10 2 3 UARTSEND Send data to UART2 This command intends to send data to UART2 This command can be used in UART1 ports to send data to UART2 The data format is in hex As the input command can only be character so here use two characters to indicate one hex number E g 35 means 0x35 Module will change the format internally G5 Family AT Command User Manual Page 143 of 203 Bs FIBOCOM lt source gt lt data gt OK or ERROR Command Sy
36. gt corresponding to the entry found in the phonebook The character set is defined by CSCS Refer to CSCS Select Terminal Character Set page 3 4 G5 Family AT C ommand User Manual Page 67 of 203 Bs FIBOCOM Example AT COLP 0 OK AT COLP 2 CME ERROR operation not supported G5 Family AT Command User Manual Page 68 of 203 Bs FIBOCOM 6 Phone and Date Books and Clock 6 1 Directory Access Commands Phone Book This set of commands enables read write access to the phone book contained within the G5xx including both the numeric and the alpha information contained in the location The presentation is according to GSM 07 07 In some cases it may be possible to use these commands to access the dialed and received call stacks However as these phone books cannot be edited the CPBW command does not work on them 6 1 1 CPBS Select Phone Book Memory This command handles the selection of the memory to be used for reading and writing entries in the G5xx s phone books memory Command Syntax Response Action Remarks Set AT CPBS lt st OK The Set command selects the phone orage gt L lt pin2 or book memory storage which is to be gt CME ERROR lt err gt used by other phone book lt pin2 gt is commands optional while lt storage gt FD only Read CPBS CPBS The Read command returns the lt storage gt currently selected phone book lt used gt lt
37. gt is equal 0 no gt L lt TOS gt L lt Ti parameters trailing lt mode gt parameter are meOut gt allowed otherwise ERROR message will be reported to DTE If lt mode gt is equal 0 MS will abort sending Echo Request messages if ping request is in process otherwise ERROR message will be reported to DTE Unsolicited MPING The receipt of corresponding ICMP Echo Reply G5 Family AT Command User Manual Page 183 of 203 Bs FIBOCOM Response lt Destination_IP gt lt ty messages will be displayed within unsolicited pe gt lt code gt lt RTT gt responses along with round trip times Read MPING MPING The read command displays currently lt count gt lt size gt lt TTL gt selected parameters values for MPING set lt TOS gt lt TimeOut gt command If ping sending procedure is OK currently in process then user selected parameters for AT MPING command will be displayed otherwise default parameter values will be displayed Test MPING MPING The test command displays all supported lt count gt lt size gt lt TTL gt parameters values for MPING set command lt TOS gt lt TimeOut gt OK The following table shows the MPING command parameters lt Parameter gt Description lt mode gt 0 Abort current ping request execution 1 Launch new ping request There is no default value appropriate ERROR will be displayed if parameter is not supplied lt
38. in both Basic and Advanced audio modes CRTT VTD VTS CALM MMICG 11 2 1 CRSL Call Ringer Level This command handles the selection of the incoming call ringer sound level on the current speaker of the G5xx The new value remains after power cycle Command Syntax Response Action Remarks Set CRSL lt level gt OK The Set command sets the call or ringer and alert SMS level CME ERROR lt err gt Read CRSL CRSL lt level gt The Read command displays the OK current ringer alert SMS sound level setting Test CRSL CRSL list of The Test command displays the list supported lt level gt s of supported sound level settings OK The following table shows the CRSL parameters lt Parameter gt Description lt level gt 1 7 Manufacturer specific volume range The default value is 6 G5 Family AT Command User Manual Page 145 of 203 Bs FIBOCOM 11 2 2 CLVL Loudspeaker Volume This command sets the volume of the internal loudspeaker which also affects the key feedback tone of the G5xx Note In this command the new value remains after power cycle The CLVL command can be used even when the SIM is not inserted Command Syntax Response Action Remarks Set CLVL lt level gt OK The Set command sets the internal or loudspeaker volume level CME ERROR lt err gt Read CLVL CLVL lt level gt The Read command displays the OK cur
39. is sent to the terminal and a low state indicates that more data can be sent to the G5xx The RTS and CTS together make up what is called RTS CTS or hardware flow control Both lines are used when hardware flow control is enabled in both the terminal and the G5xx devices When the terminal is ready and able to receive data it puts the RTS line in an active low condition to indicate this to the G5xx If the terminal is not able to receive data typically because its receive buffer is almost full it puts the RTS line in an inactive high condition as a signal to the G5xx to stop sending data When the terminal is ready to receive more data for example after data has been removed from its receive buffer it places this line back in the active condition The RTS line complements the CTS line The G5xx puts the CTS line in an active condition to tell the terminal that it is ready to receive the data Likewise if the G5xx is unable to receive data it places the CTS line in an inactive condition Command Syntax Response Action Set AT amp K lt param gt OK or CME ERROR lt err gt Read AT amp K amp K lt param gt OK Test AT amp K amp K list of supported lt param gt s OK G5 Family AT Command User Manual Page 133 of 203 Bs FIBOCOM The following table shows the amp K parameters lt Parameter gt Description lt param gt 0 Disable all terminal G5xx flow control 3 Enable C
40. lt CR returns current gt lt LF gt settings of TCP MIPCONF stack 2 lt retr_num gt lt min_TO gt lt max_TO gt lt m parameters G5 Family AT Command User Manual Page 180 of 203 Bs FIBOCOM ax_close_delay gt lt is_nack_ind_req gt lt CR gt lt LF gt MIPCONF 3 lt retr_num gt lt min_TO gt lt max_TO gt lt m ax_close_delay gt lt is_nack_ind_req gt lt CR gt lt LF gt MIPCONF 4 lt retr_num gt lt min_TO gt lt max_TO gt lt m ax_close_delay gt lt is_nack_ind_req gt lt CR gt lt LF gt OK Test MIPCONF MIPCONF The Test 1 4 1 12 1 10 10 600 1 75 0 2 command OK returns the possible parameters values Time values can be inserted with resolution of 100 milliseconds Parameter Description lt socket_ID gt Number of configured TCP socket 1 to 4 lt retr_num gt Number of retransmissions 1 to 12 Default 5 lt min_TO gt Bottom limit to retransmit timeout 100 ms to 1 sec Default 5 100mS lt max_TO gt Upper limit to retransmit timeout 1 sec to 60 sec Default 60 lt max_close_delay gt Closing delay required by RFC 793 100 ms to 7500 ms Default 75 100mS lt is_nack_ind_req gt NACK ACK TCP indication feature Activating this parameter enables G5xx to report the user in case of losing a TCP connection what data was received by the remote TCP layer 0 feature inactive 1 NACK ind
41. lt status gt 0 Disable the SIM card hot plug feature 1 Enable the SIM card hot plug feature The default value is 0 Notes This feature need HW support Example AT MSMPD MSMPD 0 1 OK G5 Family AT Command User Manual Page 141 of 203 Bs FIBOCOM AT MSMPD 1 OK AT MSMPD MSMPD 1 OK 10 1 13 GTWD Enable Disable Watchdog This command can Enable Disable watchdog feature The default status is disable this feature Command Syntax Response Action Remarks Set AT GTWD lt status gt OK Enable Disable Or watchdog CME ERROR lt err gt Read AT GTWD GTWD lt status gt Read the current status OK Test AT GTWD GTWD 0 1 OK The following table shows the GTWD parameters lt Parameter gt Description lt status gt Example AT GTWD GTWD 0 1 OK AT GTWD 1 OK AT GTWD GTWD 1 OK G5 Family AT Command User Manual 0 Disable the watchdog feature 1 Enable the watchdog feature The default value is 0 Page 142 of 203 Bs FIBOCOM 10 2 UART2 Configuration There are two UARTs in G5xx module The primary one is called UART1 and the secondary called UART2 UART2 have two types of work mode One is for AT command the other is for sending receiving user data The default mode is for AT command 10 2 1 GTSET UARTMODE switch UART2 work mode The GTSET UARTMODE command set UART2 work mode for AT command or
42. of failure a broken logical connection or a broken physical connection Syntax MIPSTAT lt socket_ID gt lt n gt lt number_of_acknowl d_bytes gt The following table shows the MIP STAT parameters lt Parameter gt Description lt Socket_ID gt A unique number that identifies a connection Valid socket numbers 1 2 3 and 4 lt e lt s st _ o ACKindiation o 1 Broken protocol stack 2 Connection closed automatically due to non fatal alert lt number_of_acknowl d_bytes gt Total number of bytes that were acknowledged Example MIPSTAT 1 2 13 1 12 MIPCONF Configure Internal TCP IP Stack This command allows configuring TCP stack parameters such as retransmissions number upper and bottoming limits of retransmission timeout close delay It can be used to configure TCP socket parameters before socket activation Configuration values will be stored in G5xx G5xx until power circle This command must used under MIPCALL is enabled Command Syntax Response Action Remarks Set AT MIPCONF lt socket_ID OK The Set updates gt L lt retr_num gt lt min_T or TCP stack O gt L lt max_TO gt lt max_cl CME ERROR lt err gt configuration ose_delay gt parameters L lt is_nack_ind_req gt Read MIPCONF MIPCONF The read 1 lt retr_num gt lt min_TO gt lt max_TO gt lt m_ command ax_close_delay gt lt is_nack_ind_req gt
43. on the terminal RING CLIP 054565006 129 128 0 RING CLIP 054565006 129 128 0 ath NO CARRIER OK 5 1 14 O Return to Online Data State This command returns the G5xx from the Command mode to the Online Data mode and issues a CONNECT or CONNECT lt text gt result code After dialing or answering atd ata commands and connect the phone enters the Online Data mode where it is able to transfer data but not to enter AT commands The ESC command transfers the phone to the Command mode The O command returns the phone to the fully online Data mode as it was before using the ESC command Note The escape character can be changed using the S2 register The time delay between consecutive escape characters is configured using the S 12 register G5 Family AT Command User Manual Page 53 of 203 Bs FIBOCOM Command Syntax Response Action Execute ATO CONNECT CME ERROR lt err gt If phone is not in Data Call NO CARRIER If connection is not successfully resumed Example AT MIPODM Calling a remote modem data mode CONNECT G5xx is in Data mode Escaping back to Command mode using the sequence OK AT G5xx is in Command mode OK ATO Returning to Data mode CONNECT 5 1 15 CHUP Hang up Call This command causes the G5xx to hang up the current GSM call Command Syntax Response Action Remarks Set CHUP OK The Set command hangs up the current or GSM
44. range of volume levels features accessories and features combinations supported volume levels G5 Family AT Command User Manual Page 151 of 203 Bs FIBOCOM The following table shows the MAVOL parameters lt Parameter gt Description lt accy gt 1 1 channel SPK SPK 1 3 2 2 4 channel AUXO AUXO 3 1and2 6 lt feature gt 1 Voice 1 7 2 Tone 3 1and2 4 Audio 5 1and 4 6 2and 4 7 1and 2 and 4 lt vol gt Volume level 0 7 Tone volume 0 3 Example AT MAVOL MAVOL 1 1 4 MAVOL 1 2 1 MAVOL 1 4 4 OK AT MAVOL MAVOL 1 3 1 7 0 7 OK AT MAVOL 1 7 3 Modified all the features in the 1st channel OK AT MAVOL MAVOL 1 1 3 MAVOL 1 2 3 MAVOL 1 4 3 OK AT MAVOL 3 7 3 Modified all the features within the 1st channel and 2nd channel OK G5 Family AT Command User Manual Page 152 of 203 Bs FIBOCOM 11 2 11 MMICG Microphone Gain Value This command handles the selection of microphone gain values of MIC handsets and MlC headsets The new value remains after power cycle Command Syntax Response Action Remarks Set MMICG lt gai OK The Set command sets the n gt or microphone gain value CME ERROR lt err gt Read MMICG MMICG lt gain gt The Read command displays the OK current microphone gain Test MMICG MMICG list of The Test command displays the list supported lt gain gt s of suppo
45. reserved for operating systems G5 Family AT Command User Manual Page 191 of 203 Bs FIBOCOM Example Opening socket 1 in Online Data Mode using TCP protocol from port 1104 designation IP 123 245 213 012 designation port 1124 AT MIPODM 1 172 90 237 21 1124 0 OK MIPODM 1 1 Enter invalid command format AT MIPODM ERROR Check opened in Online Data Mode socket state when G5xx is pseudo command mode AT MIPODM MIPODM 1 1 OK Listen socket over TCP AT MIPODM 1 1104 0 0 0 0 0 0 Source port must confirmed in TCP mode OK MIPODM 1 1 122 221 32 64 1200 Remote side connected to the listen socket 13 1 17 MIPXOFF Flow Control Xoff This command is the unsolicited response that the G5xx sends to the terminal to stop sending data when it does not have enough memory to process new MIPSEND requests The G5xx uses the accumulating buffer prior to pushing data into the protocol stack This memory resource is protected by a Xoff_upper watermark Event MIPXOFF lt Socket ID gt Example MIPXOFF The G5xx detects that the accumulating buffer 1 has reached its Xoff watermark From this point the terminal is not allowed to send data until it receives the MIPXON command 13 1 18 MIPXON Flow Control Xon This command is the unsolicited event that the G5xx sends to the terminal when it detects that it has free memory in the accumulating buffer and can process new MIPSEND requests after the MIPXO
46. restriction for CME ERROR lt err gt all MO calls Read CLIR CLIR lt n gt lt m gt The Read command returns the OK current setting of CLIR on the network lt m gt and on the G5xx lt n gt Test CLIR CLIR list of The Test command returns lt n gt supported lt n gt s values supported by the G5xx The following table shows the CLIR parameters lt Parameter gt Description lt n gt Adjustment for outgoing calls 0 Presentation indicator is used according to the subscription of the CLIR service 1 CLIR invocation 2 CLIR suppression The default value is 2 lt m gt Subscriber CLIR service status in the network 0 CLIR not provisioned 1 CLIR provisioned in permanent mode 2 Unknown for example no network and so on 3 CLIR Temporary mode presentation restricted can be the default 4 CLIR Temporary mode presentation allowed can be the default Example AT CLIR CLIR 0 2 OK AT CLIR CLIR 0 0 G5 Family AT Command User Manual Page 52 of 203 Bs FIBOCOM OK AT CLIR 2 OK atd054565195 MO voice call OK calling a G5xx that has 054565195 SIM and is CLIP enabled will receive the following on the terminal RING CLIP 128 128 1 RING CLIP 128 128 1 ath NO CARRIER OK AT CLIR 0 OK atd054565195 MO voice call OK calling a G5xx that has 054565195 SIM and is CLIP enabled will receive the following
47. s important to define the module s status in works This command shuts down the phone functionality of smart phones and PDAs with phone capabilities in order to prevent interference from a nearby environment This enables other functionality to continue to be used in environments where phone use is either impractical or not permitted For example on airplanes the use of cellular phones is forbidden during the entire flight but the use of computers is allowed during much of the flight This command enables other functionality to continue while preventing use of phone functionality Command Syntax Response Action Remarks Set CFUN lt fun gt OK The Set command selects the level of CME ERROR lt err gt functionality lt fun gt in the smart phone or PDA incorporating the G5xx Read CFUN CFUN lt fun gt lt STK_mode gt The Read command displays the OK current level of functionality Test CFUN CFUN list of supported The Test command displays the list of lt fun gt s supported functionality settings OK The following table shows the AT CFUN parameters G5 Family AT Command User Manual Page 137 of 203 Bs FIBOCOM lt Parameter gt Description lt fun gt Functionality levels 0 Turn off With logging out network 1 Full functionality meaning start up MS from offline mode 4 Disables phone transmit amp receive RF circuits 15 Hardware reset Need re turn on the mo
48. subaddr gt lt satype gt lt time gt l CCFC list of supported lt reason gt s subscriber current call forwarding status Test CCFC CCFC lt reason gt The Test command OK returns lt reason gt values supported by the G5xx to the terminal G5 Family AT Command User Manual Page 49 of 203 Bs FIBOCOM The following table shows the CCFC parameters lt Parameter gt Description lt reason gt 0 Unconditional 1 Mobile busy 2 No reply 3 Not reachable 4 All call forwarding 5 All conditional call forwarding lt mode gt 0 Disable 1 Enable 2 Query status 3 Registration 4 Erasure lt number gt Calling line number The number format is specified by lt type gt lt type gt Type of address octet in integer format 145 Default when dialing string includes international access code character 161 Default when making a local call lt subaddr gt NULL field not used String type subaddress of format specified by lt satype gt lt satype gt Field not used Value is always 129 unknown type of sub address octet in integer format lt classx gt The sum of integers representing a class of information 1 Voice The default value is 1 lt time gt 1 30 The number of seconds to wait before calls are forwarded when no reply is enabled or queried The default value is
49. to OFF during the online data state The DTR is an input line that indicates that the terminal is ready The DTR line must be active low in order for the G5xx to recognize the terminal This signal is raised by the terminal when a process activates the serial port If the DTR is not used by the application it should connect this line to ground DTR active The default value is active low In case of local link during initial PPP retries DTR change will be ignored Command Syntax Response Action Set AT amp D lt param gt OK Read AT amp D amp D lt param gt Test AT amp D amp D list of supported lt param gt s G5 Family AT Command User Manual Page 136 of 203 Bs FIBOCOM The following table shows the amp D parameters lt Parameter gt Description lt param gt The G5xx s reaction when the DTR status is changed from ON to OFF In ODM 0 4 Ignores DTR changes 1 Switches the ODM to asynchronous command mode the ODM remains connected 2 3 Disconnects the ODM and returns to the command mode In GPRS calls 0 4 Ignores DTR changes 1 Switches the GPRS session to asynchronous command mode the session remains connected 2 3 Deactivates the GPRS and returns to command mode In MUX and MUX_INIT state 0 3 Ignores DTE changes 4 Drops the MUX application and returns to PRE_MUxX state The default value is 1 10 1 8 CFUN Shut Down Phone Functionality It
50. when the last executed command resulted in PUK2 authentication failure SIM PIN AT CPIN lt pin gt SIM PUK AT CPIN lt puk gt lt newpin gt SIM PUK2 AT CPIN lt puk2 gt lt newpin2 gt SIM PIN 2 AT CPIN lt pin2 gt Example AT CPIN OK AT CLCK SC 1 lt correct PIN gt Not case sensitive OK The facility is enabled by the CLCK command Refer to CLCK Facility Lock AT CPIN CPIN SIM PIN OK AT CPIN lt correct PIN gt OK AT CPIN CPIN READY OK The status of the SIM is still enabled but the PIN is READY for this session The SIM is enabled per session After power up SIM must be unlocked again by using the CLCK command The following case shows an example of three unsuccessful attempts at entering the PIN AT CPIN CPIN SIM PIN G5 Family AT Command User Manual Page 113 of 203 Bs FIBOCOM OK AT CPIN lt wrong pin gt CME ERROR incorrect password AT CPIN lt wrong pin gt CME ERROR incorrect password AT CPIN lt wrong pin gt CME ERROR SIM PUK required AT CPIN CPIN SIM PUK PIN is blocked The PUK is needed for unblocking OK AT CPIN lt PUK gt lt NEW PIN gt Enter PUK and new PIN OK AT CLCK FD 1 lt wrong PIN2 gt CME ERROR incorrect password AT CLCK FD 1 lt wrong PIN2 gt CME ERROR incorrect password AT CLCK FD 1 lt wrong PIN2 gt CME ERROR SIM PUK2 required AT CPIN CPIN SIM PUK2 PIN2 is blocked The PUK2 is nee
51. whether the TP VP field is present and in which rmat format 0 OTP VP field not present 1 OTP VP field present relative format 0 1 TP VP field present enhanced format valid only in PDU mode 1 1 TP VP field present absolute format 5 TP Status Report Re Parameter indicating if a status report is requested by the MS 0 A status report is not requested 1 Astatus report is requested G5 Family AT Command User Manual Page 104 of 203 Bs FIBOCOM Bit s Reference Description 6 TP User Data Heade Parameter indicating whether the beginning of the User Data field r Indicator contains a Header in addition to the short message or contains only the short message 0 The TP UD field contains only the short message 1 The beginning of the TP UD field contains a Header in addition to the short message 7 TP Reply Path Parameter indicating that Reply Path is set or not OTP Reply Path parameter is not set 1 TP Reply Path parameter is set Bit s Reference Description 0 1 Message Type Indicator Parameter describing the message type 1 0 SMS COMMAND in the direction MS to SC 5 TP Status Report Request Parameter indicating if a status report is requested by the MS 0 A status report is not requested 1 Astatus report is requested 6 TP User Data Header Indi Parameter indicating whether the beginning of the User Data field cator contains a Header in addition to the short message or contains only the shor
52. 123456789abc OK MIPPUSH 2 0 MIPSEND 2 0 2048 OK 0123456789 Only data without any information AT GTSET IPRFMT 2 OK AT MIPSEND 2 10 gt 0123456789abc OK MIPPUSH 2 0 MIPSEND 2 0 2048 OK lt CR gt lt LF gt MIPRTCP 2 10 0123456789 G5 Family AT Command User Manual Page 196 of 203 Bs FIBOCOM 14Error Code 14 1 CME Error Parameter Description lt Err gt 58 N OO WwW A U N 10 12 13 14 15 16 17 18 20 21 22 23 24 25 26 27 30 31 32 invalid command line phone failure no connection to phone phone adapter link reserved Operation not allowed Operation not supported PH SIM PIN required PH FSIM PIN required PH FSIM PUK required SIM not inserted SIM PIN required SIM PUK required SIM failure SIM busy SIM wrong Incorrect password SIM PIN2 required SIM PUK2 required Memory full invalid index not found Memory failure text string too long invalid characters in text string dial string too long invalid characters in dial string no network service Network timeout Network not allowed emergency calls only G5 Family AT Command User Manual Page 197 of 203 Bs FIBOCOM 40 41 42 43 44 45 46 47 48 Code For 49 50 51 52 53 54 55 56 57 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 Network personalization PIN required Network per
53. 2 General System Abbreviations The basic system configuration contains a modem and a terminal The G5xx is the modem and may be referred to as the DCE or TA such as the phone the mobile or the radio The terminal PC or MCU may be referred to as the DTE or the TE 2 3 AT Commands Protocol The AT commands interface is basically a Modem Services upon Request Communication almost always begins from the TE side This means that any service should be requested from the TE Thus a request is called a Command Each command must be answered by a Results code from the TA The results code reports the command status to the TE Some commands may include several Results code to send data back to the TE Some commands may initiate a mode in which when specified events are generated in the G5xx Indicator messages are sent data asynchronously The indicators can be called Unsolicited results code The G5xx can echo characters received from the TE commands back to the TE TE TA G5xx Command Results code G5 Family AT Command User Manual Page 11 of 203 Bs FIBOCOM TE TA G5xx Command Results code TE TA G5xx Unsolicited results code 2 4 AT Commands Structure 2 4 1 General Symbols Used in AT Commands Description The following syntax definitions apply in this chapter Syntax Definition lt CR gt lt LF gt Carriage returns character specified by the value of the S3 register
54. 20 Note The parameter must be a multiple of 5 for example 5 10 15 and so on If not the module of 5 will be ignored lt status gt 0 Not active 1 Active Note A forward to phone lt number gt and the optional fields lt type gt lt subaddr gt and lt satype gt are tied to a lt reason gt and a lt class gt This means that there can be a different lt number gt for the same lt reason gt because of a different lt class gt When registering without mentioning a lt class gt lt class gt 7 is selected A lt number gt field is mandatory when registering lt mode gt 3 and it is irrelevant ignored in all other lt mode gt s G5 Family AT Command User Manual Page 50 of 203 Bs FIBOCOM Example AT CCFC CCFC 0 5 OK AT CCFC 0 3 01256316830 129 1 OK AT CCFC 1 3 0545658278 129 1 Register UC forward to of all classes OK AT CCFC 1 1 Activate UC forward to of all classes OK AT CCFC 1 2 nterrogate reason not reachable of all classes CCFC 1 1 97254151200 145 OK For lt reason gt 3 forward only voice calls is activated AT CCFC 4 2 Interrogate reason all call forwarding for all classes CME ERROR no network service Interrogation of lt reason gt 30 is not supported by network AT CCFC 2 3 972545658278 OK AT CCFC 2 0 Disable call forwarding for reason no reply of all classes OK AT CCFC 2 2 CCFC 0 1 972545658278 145 25 OK
55. 21 22 23 08 97254120032 145 lt message length gt G5 Family AT Command User Manual message text OK AT CMGW 18 gt 079179521201009511000c91 7952428650290004AA0441424344 CMGW 143 OK AT CMGR 143 CMGR 2 23 0791795212010095040C91 7952428650290004502032110201800441424344 OK AT CPMS SM change to SM to read SMS DELIVER messages CPMS 2 20 11 61 2 20 Page 100 of 203 Bs FIBOCOM OK AT CMGR 1 CMGR REC READ 972544565034 05 02 23 11 20 10 08 145 4 0 4 97254120032 145 4 41424344 OK AT CMGF 0 OK AT CMGR 1 CMGR 0 23 0791 07917952140230F2040C91 7952446505430004502032110201800441424344 OK AT CMGR 14 CMGR 0 25 079179521201009506BC0B917952428600F0508030807512805080308075128046 SMS STATUS REPORT message in PDU mode OK AT CMGF 1 OK AT CMGR 14 SMS STATUS REPORT message in Text mode CMGR REC READ 6 188 97252468000 145 05 08 03 08 57 21 08 05 08 03 08 57 21 08 70 OK 7 1 12 CMSS Send Message from Storage This command sends a pre stored message written previously using the CMGW command The lt da gt lt toda gt parameters are optional If a DAis given the message is sent to that address Otherwise the message is sent to the DA it was stored with if any was entered If no DAis found an error occurs When the given index is an incoming message index the header settings will be as follows e lt first octet gt will be SMS SUBMIT and VPF relative
56. 4 Unknown reason UNKNOWN CALLING ERROR The following table shows the D parameters lt Parameter gt Description lt number gt Valid phone digits are 0123456789 The following characters are ignored AB C D and lt space gt semicolon When given after lt number string gt a voice call is originated to the given address otherwise a data call is originated The control of supplementary services through the Dial command is not supported as these are controlled through the specific supplementary service commands CCFC CLCK and so on Initiating a GPRS connection is done through ATD 99 as described in D 99 Example G5 Family AT Command User Manual Page 36 of 203 Bs FIBOCOM atd44345678 OK OK atd44345678 OK OK NOICE call with semicolon VOICE call with semicolon 5 1 2 D gt Direct Dialing from Phone Books This command places a VOICE call on the current network by dialing directly from the G5xx phone book Note e CME ERROR not found is returned when no match is found in an existing phone book e FD phone book supports the wild card character Telephone numbers containing this character cannot be dialed directly from the phone book e CME ERROR Invalid index is returned when entry lt n gt is out of the requested Phonebook range e When SM phonebook is searched and the given entry value is of the ME phoneb
57. 73 T3125 MIPSEND Send D ta siccscsssssscessccatscssssssssezcnsscosssctascetasseausscesacnassatesestansscusscvassaveasdesasecusscasarouearpatnanenests 174 13 1 6 MIPPUSH Push Data into Protocol StaCk ssssssssssssssssssssseeesseeeeesssssssssssensusssseseetseereeesssssrsroessss 176 13 1 7 MIPFLUSH Flush Data from Buffers sssssssscssssscssssecssseccsssecessussessuseecssseecssueecssnsecesnseeesaneessansess 177 13 1 8 MIPRUDP Receive Data from UDP Protocol Stack sssssscsssscccssssccsssecessseeessseccssneecesneeessnseees 178 13 1 9 MIPRTCP Receive Data from TCP Protocol Stack sssscsssssscsssseccsseccssseeesssesessnseesssscessseesssnsecs 178 13 1 10 MIPDSETS Set Size and Timeout for Output Received Data ssscssssscccssesccssesessneeessneeees 179 131 11 EMIPSTAT StAtUs RE POM ts n sc scesscssscesscessnessnsesnessnvesnosnsestessnesteeitoeshossnnesioetovetnoedsoedbesanoetboennoeabosdtostbosiooss 180 13 1 12 MIPCONF Configure Internal TCP IP Stack sssssssssscsssssccssecccsssscesssesessuecessuscessnseeessneecesneeees 180 13 1 13 MPING Start Ping Execution ICMP Protocol ou ssessssscssescsssecsseecssecsssecsseecssseesseecsueeesseeesneeeses 183 13 1 14 MPINGSTAT Status Update for MPING Execution ssscsssssccsssssccsseecesssecesssececsseecssneeessnseesens 186 13 1 15 MSDNS Set DNS IP Adres esssssssescseccsecssssessseesssecssccsssccsseccsneccsseccsseesssecssseesuseesseeesueeesseeesneessee 188 13
58. 888888 129 Linzhao CPBF 2 8613800138000 145 Voicemail CPBF 3 18888888 129 2 OK 6 1 4 CPBW Write Phone Book Entry This command enables the user to store a new entry in the phone book or edit delete an existing entry from the phone book A particular entry in the phone book can be stored or the next available entry is used This command writes the entry in the currently active phone book selected with the CPBS command G5 Family AT Command User Manual Page 73 of 203 Bs FIBOCOM Refer to CPBS Select Phone Book Memory The entry is selected by lt index gt the phone number is entered into the lt number gt field and text associated with the number is entered into the lt text gt field If these fields are omitted the phone book entry is deleted If the lt index gt field is omitted but a number is entered in the lt number gt field the phone number is entered into the first available entry in the phone book If the writing fails in a G5xx error CME ERROR lt err gt is returned The phone book and date book are share dynamic memory storage If the writing fail in a G5xx error in case of full memory error while the memory is not full by used field of CPBS command Refer to CPBS Select Phone Book Memory Note The FD phone book supports single wild card characters and prefixes of a number in the telephone number field In cases of fixed dialing these entries in the FD phone
59. Bs FIBOCOM Beyond Innovation 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 Transmittal reproduction dissemination and or editing of this document 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 Bo 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 12 10 Initial Version V1 0 1 2013 01 31 Modify AT amp V AT amp W ATS24 ATO AT CPAS AT CLCC AT CLCK AT CBAUD AT IP R AT CFUN Add AT GTGIS AT GTSET AT GTTS V1 0 2
60. CELED 69 PRE_EMPTION 70 OPERATION_NOT_ALLOWED 7 NO_FREE_BEARER_AVAILABLE 72 NBR_SN_EXCEEDED 73 NBR_USER_EXCEEDED 74 Call Control by SIM Causes NOT_ALLOWED_BY_CC 75 MODIFIED_TO_SS_BY_CC 76 MODIFIED_TO_CALL_BY_CC 7 CALL_MODIFIED_BY_CC 78 App Cause FDN_FAILURE 90 Example AT CUSD 1 00 0549598743 CUSD 0 Connecting 15 CUSD 0 Connected 15 CLCC 1 1 4 0 0 0545550099 129 gt Call from USSD server RING ATA gt answer to the server when answered the server call to 0549598743 OK CLCC 1 1 0 0 0 0545550099 129 NO CARRIER CLCC 1 1 6 0 0 0545550099 129 5 3 3 COLP Connected Line Identification Presentation This command relates to the GSM supplementary service called COLP Connected Line Identification Presentation which enables a calling subscriber to obtain the connected line identity COL of the called party after setting up a mobile originated call with the G5xx For example after setting up a G5 Family AT Command User Manual Page 66 of 203 Bs FIBOCOM mobile originated call to one number that is forwarded to another number the calling party will see the number of that third party When this command is enabled and the called subscriber permits it the following intermediate result code is returned COLP lt number gt lt type gt lt subaddr gt lt satype gt lt alpha gt Note This command is activated when COLP is supported by the network Command Synt
61. Connecting the provider Orange and getting an OK MIPCALL 1 123 145 167 230 AT MIPCALL 0 The terminal hangs up the link OK 13 1 2 MIPOPEN Open a Socket UDP or TCP This command causes the G5xx module to initialize a new socket that waits for a connection from a remote machine or opens a common connection with a remote side according to received parameters Each socket allocates an accumulating buffer whose size is 1372 bytes for TCP connection and 1024 bytes for UDP connection Note MIPxxx is a complete set of GPRS commands This set should not be used with other GPRS commands such as CGATT CGACT and so on The MIPOPEN command returns a MIPSTAT unsolicited event if it fails for example if it was rejected by the remote side This command will return in 60 sec when DNS is error G5 Family AT Command User Manual Page 168 of 203 Bs FIBOCOM Command Syntax Response Action Remarks Set AT MIPOPEN lt Socket OK The Set command returns _ID gt lt Source_Port gt lt or lt Remote IP gt and Remote_IP gt lt Remote_ MIPOPEN lt Remote Port gt Port gt lt Protocol gt lt Socket_ID gt lt State gt lt Remote_ parameters only for P gt lt RemotePort gt sockets opened in Listen or mode MIPSTAT lt Socket_ID gt lt Status gt or ERROR lt err gt Read AT MIPOPEN MIPOPEN lt Socket_ID gt The Read command for each socket that can be returns the numbers of opened th
62. Destination_IP hos tname gt Specifies the target machine computer which is identified either by IP address 4 octets long in dotted decimal notation or by host name of maximum 255 not including double quotes characters long in dotted notation Each octet of IP address has valid value range of 0 to 255 Host names are not case sensitive and can contain alphabetic or numeric letters or the hyphen There is no default value appropriate ERROR will be displayed if parameter is not supplied lt count gt Specifies a number of Internet Control Message Protocol ICMP Echo Request messages to send Valid value range is from 1 to 255 The default value is 4 lt size gt Specifies the length in bytes of the Data field in the Echo Request messages sent The minimum size is 0 The maximum size is 1372 The default value is 32 lt TTL gt Time To Live TTL Specifies number of hops hop is one step from one router to the next on the path of a datagram on an IP network which the Echo Request message may be routed over The value is set by using TTL field in IP header Valid value range is from 1 to 255 The default value is 64 G5 Family AT Command User Manual Page 184 of 203 Bs FIBOCOM lt TOS gt The Type Of Service TO S is for internet service quality selection The type of service is specified along the abstract parameters precedence delay throughput and reliability These abstra
63. E ERROR or SIM PUK If there is no PIN request pending no lt pin gt L lt n lt err gt action is taken towards the G5xx and an error ewpin gt message CME ERROR is returned to the terminal The Set command issued gives the code SIM PIN or SIM PUK corresponding to the error code required or returned as the result of the Read command For example if the SIM PIN is blocked the error code 11 or SIM PIN required is returned The user must then issue the Set command with the SIM PIN Read AT CPIN CPIN lt code gt The Read command returns an alphanumeric string OK indicating the status of the SIM card and whether a or password is required or not This is an independent CME ERROR SIM card lock status check only and does not check lt err gt the phone lock status Test AT CPIN OK G5 Family AT Command User Manual Page 112 of 203 Bs FIBOCOM The following table shows the CPIN parameters lt Parameter gt Description lt puk gt PUK code for unblocking a blocked phone lt pin gt Current PIN for unlocking a locked phone lt newpin gt New PIN after changing or after entering PUK 4 8 digits lt code gt READY Not waiting for a password SIM PIN Waiting for SIM PIN SIM PUK Waiting for SIM PUK SIM PIN2 Waiting for SIM PIN this response is given when the last executed command resulted in PIN2 authentication failure SIM PUK2 Waiting for SIM PUK2 this response is given
64. ECT code gt lt cr gt lt lf gt 2 RING 3 NO CARRIER 4 ERROR 5 NO DIALTONE 6 BUSY 7 NO ANSWER 8 NOT SUPPORT 9 INVALLID COMMAND LINE 10 r n Command Syntax Response Action Remarks Set ATV lt value gt OK The Set command sets the format or of information responses and result CME ERROR lt err gt codes G5 Family AT Command User Manual Page 21 of 203 Bs FIBOCOM The following table shows the V parameters lt Parameter gt Description lt value gt 0 Transmits limited headers and trailers and numeric text 1 Transmits full headers and trailers and verbose response text The default value is 1 Example ATVO 0 ATV1 OK 4 1 2 Q Result Code Suppression This command determines whether to output the result codes Information text transmitted in response to commands is not affected by the setting of this parameter Command Syntax Response Action Remarks Set ATQ lt value gt OK The set commands sets whether or or not to output result codes CME ERROR lt err gt Read ATQ Q lt value gt OK The following table shows the parameters lt Parameter gt Description lt value gt 0 Transmit result codes 1 Suppress result codes The default value is 0 Example ATQO OK ATQ Q 0 OK G5 Family AT Command User Manual Page 22 of 203 Bs FIBOCOM ATQ4 ERROR ATQ1 No response b
65. ETA 77 7 1 SMS Command Ssesenirenen a E E E E EE E iS 77 7 1 1 CPMS Preferred Message Storage ssssccssssscssssssssssssssssscesssecessuseessuseesssseeesssecessseeessnseessnseceeaseeseanseeees 77 7 1 2 CMGE Message Format uuscruncnnesnnini n GENGE N ONEN ONENE 78 7 1 3 CSCA Service Center AddreSS ssssssssssssssessssssssssssseesssssssssssseeeeessessssssseeeeeeessnsssssetttteeesssssssssttteeeessss 79 7 1 4 CSMP Set Text Mode Pararmeters ssssccsssccsesccsesscnssccneeccnseccnececsecsssecessecsssecssssesssecssssesssscenesesneesenees 83 7 15 CSDH Show Text Mode Parameters cessssscsssecssescsssscssescsssecssescsseccsseccsnecesseccsseessseessseessseessseesueeessees 85 7 1 6 CNMI New Message Indications to Termimal ssesssssscsssescsseesseecsssecsseessnseecsseccssecessesneesseeeestes 86 7 1 7 CMTI Unsolicited Response New SMS DELIVER Receipt Indication ssssssssssssssssssssss 88 7 18 CMT Unsolicited Response New SMS DELIVER Receipt sesssescsescseccseecsseecseecsseeesseeessees 89 7 1 9 CDS Unsolicited Response New SMS STATUS REPORT Receipt ssssssssssssssssssssssssssssssssssssssss 90 7 1 10 CMGL MMGL List MessageS esesesesososososorosorororororororororororororororororororororororororororororororororororororeroresor 92 7 1 11 CMGR MMGR Read Message essssccsssccssecsssscsseesssecssseessseesueccsusessuecesueecsneccsneecssecessecssseessseesnseesses 95 7 1 12 CMSS Send Me
66. FF event Event MIPXON lt Socket ID gt Example G5 Family AT Command User Manual Page 192 of 203 Bs FIBOCOM MIPXON 1 The G5xx pushed the data into the protocol stack on socket 1 and is able to handle more data from the terminal 13 1 19 MIPDNS Resolve Domain name This command is used to resolve the domain name Command Syntax Response Action Remarks Set MIPDNS MIPDNS lt domain The set command can resolve the domain lt domain name gt lt IP gt name specified by the user If success It will name gt OK return the corresponding IP ERROR otherwise or ERROR Example AT MIPDNS aidu com MIPDNS baidu com 220 181 111 186 OK 13 2 HEX Mode Base on the basic mode G5xx achieve the TCP IP stack by AT command In additional G5xx support another mechanism to complete the TCP IP stack in HEX mode The data will be sending in HEX when we use MIPSEND command 13 2 1 MIPSEND Ctrl Z lt Socket_ID gt lt Status gt lt FreeSize gt or ERROR Command Syntax Response Action Remarks Set MIPSEND lt Socke MIPPUSH After command received G5xx t_ID gt lt Socket_ID gt lt Status gt will respond gt lt CR gt lt LF gt MIPSEND Send any data in HEX The data buffer range is 0 lt buffer lt 1400 bytes lt CTRL Z gt ends the prompt HEX mode and returns to regular AT command mode Example Opening socket 2
67. G5xx to operate according to the specified GPRS mobile class If the requested class is not supported an ERROR or CME ERROR response is returned Extended error responses G5 Family AT Command User Manual Page 154 of 203 Bs FIBOCOM are enabled by the CMEE command Command Syntax Response Action Remarks Set AT OK Set GPRS mobile class CGCLASS lt cla or ss gt CME ERROR lt err gt Read AT CGCLASS CGCLASS lt class gt The Read command returns the OK current GPRS mobile class Test AT CGCLASS CGCLASS list of The Test command is used for supported lt class gt s requesting information on the OK supported GPRS mobile classes Note Issuing GPRS actions over a poor quality connection may cause protocol errors and harm data validity To prevent these problems G5xx is equipped with a protection mechanism that confirms GPRS signal strength before issuing GPRS network related commands The following table shows the CGCLASS parameters lt Parameter gt Description lt class gt String parameter that indicates the GPRS mobile class B meaning mobile class B Example AT CGCLASS CGCLASS B OK Note If a SIM card without GPRS allowance is used AT CGCLASS CGCLASS CC Note that CC is a not supported value G5 Family AT Command User Manual Page 155 of 203 Bs FIBOCOM 12 2 2 CGDCONT Define PDP Context This command specifies the PDP Packet
68. GREG CGREG 002 001 2648 988b OK AT CGREG 1 OK AT CGREG CGREG 001 001 OK AT CGREG 0 OK G5 Family AT Command User Manual Page 123 of 203 Bs FIBOCOM 9 1 4 COPS Operator Selection This command enables accessories to access the network registration information and the selection and registration of the GSM network operator The G5xx is registered in the Home network The Enhanced Operator Name String EONS feature enables the G5xx to return the operator name displayed on the handset This feature allows the SIM card to store a mapping of MCC MNC code pairs to the displayed operator name As a result several operators can share a single network while having their handsets display their own name as the network operator Testing the enhanced ONS feature requires a SIM ONS SIM card Command Syntax Response Action Remarks Set AT COPS lt m OK The Set command can force an attempt to select 0 or and register a specific GSM network operator de gt lt format gt CME ERROR The lt mode gt selects whether this is done L lt oper gt lt err gt automatically by the G5xx or whether the selection is forced to an operator lt oper gt given in format lt format gt If the selected operator is not available no other operator is selected except when the lt mode gt is set to 4 lt mode gt 2 forces an attempt to deregister from the network lt mode gt 3 sets the operator fo
69. IO Reports version build 20130620Thu1600 time ATII Reserve ATI2 Reserve ATI3 Reports product G510 GPRS Module description ATI4 Reserve ATI5 Reserve ATI6 Reserve ATI7 Reports product GSM900 1800 850 1 900 description ATI8 Reports software version G510_V0D 00 XX ATI9 Reports hardware version G510 Q50_V1 0X 3 9 CNUM Request MSISDN s This command displays up to 2 strings of text information that identify the G5xx The output string contains double quotes On SIM cards that have EFmsisdn file the string s returned are the MSISDN numbers and their associated data On SIM cards that don t have EFmsisdn file the strings returned are the MSISDN numbers and their associated data stored in G5xx NVM Command Response Action CNUM CNUM CNUM lt MSISDN1_string gt lt MSISDN1 gt lt MSISDN1_type gt lt CR gt lt LF gt MSISDN supported CNUM lt MSISDN2_string gt lt MSISDN2 gt lt MSISDN2_type gt lt CR gt lt LF gt OK CNUM CNUM lt phone_number gt CNUM OK MSISDN not supported G5 Family AT Command User Manual Page 19 of 203 Bs FIBOCOM The following table shows the CNUM parameters lt Parameter gt Description lt MSISDN type gt Phone number type 161 Use for local call 145 Use for international access code 129 Unknown Example AT CNUM CNUM VoiceMail 098765432109876543210987654321 129
70. K 5 1 5 A Answer Incoming Call This command answers an incoming VOICE call after a RING CRING indication is sent to the terminal If the incoming call is answered connected the G5xx sends a CONNECT notification to the terminal If the MT call fails the possible notifications are e NO CARRIER Connection Failure e ERROR General Failure Note Awaiting call an incoming call while a call is in progress is announced by CCWA rather than RING Awaiting call can be answered only if it is a voice call The waiting voice call should be answered using the ATA command which will put the active call on hold and will connect the waiting call making it the active call This ATA action is the same action as AT CHLD 2 Example Example Answering a voice call AT CRC 1 OK CRING VOICE CRING VOICE ata OK VOICE call connected G5xx is in Command mode ath NO CARRIER G5 Family AT Command User Manual Page 40 of 203 Bs FIBOCOM OK 5 1 6 CRC Cellular Result Codes and RING CRING Incoming Call Indication This command controls whether or not to present the extended format of an incoming call indication The RING CRING indication is sent from the G5xx to the terminal when the G5xx is alerted by an incoming call from the network Once this indication is sent information is available on the calling line via CLIP When CRC is disabled the indication is RING and when CRC is enabled the indication is CRING
71. LIP service status in the network 0 CLIP not provisioned 1 CLIP provisioned 2 Unknown for example no network and so on lt number gt Calling line number The number format is specified by lt type gt lt type gt Type of address octet in integer format 145 Default when the dialing string includes the international access code character 161 Default when making a local call 129 Type of number is unknown usually the output when the number itself is unknown lt subaddr gt NULL field not used String type subaddress of format specified by lt satype gt lt satype gt Field not used Value is always 128 unknown type of sub address octet in integer format lt alpha gt Name of the calling party if provided by the network or if the number is found in the G5xx phone books lt CLI validity gt The Validity of the Calling Line Identity presentation o CLI valid 1 CLI has been withheld by the originator 2CLI is not available due to networking problems or limitations of the originating network Example AT CLIP CLIP 0 1 CLI presentation is disabled by the G5xx 0 and is enabled by the network 1 OK AT CLIP 1 G5 Family AT Command User Manual Page 43 of 203 Bs FIBOCOM OK Example CLIP indication incoming call RING CLIP 13510503472 161 0 Example CLIP indication with restricted CLI AT CRC 1 OK incoming call c
72. SCS lt supported character sets gt OK The following table shows the CSCS parameter optional values lt chset gt Character Set IRA International Reference Alphabet ITU TT 50 GSM GSM default alphabet GSM 03 38 subclause 6 2 1 UCS2 2 byte Universal Character Set Unicode ISO IEC 10646 32 HEX Character strings consist only of hexadecimal numbers from 00 to FF G5 Family AT Command User Manual Page 17 of 203 Bs FIBOCOM 3 6 CIMI Request IMSI This command displays the International Mobile Subscriber Identity number Command Response Action AT CIMI CIMI lt imsi gt AT CIMI OK or CME ERROR lt err gt Example AT CIMI CIMI 314566320021400 OK 3 7 CFSN Read Factory Serial Number This command is used to query the factory serial number Command Response Action AT CFSN AT CFSN CFSN lt fsn gt OK Example AT CFSN CFSN 000000000 OK 3 8 Request Identification Information This command displays various G5xx information items Command Response Action ATIn lt information item n gt or CME ERROR lt err gt G5 Family AT Command User Manual Page 18 of 203 Bs FIBOCOM The following table shows the information items that are supported by the G5xx ATin Description Output Reference ATI Reserve AT
73. SY PARAMETER_ERROR INVALID_NUMBER OUTGOING_CALL_BARRED TOO_MANY_CALLS_ON_HOLD NORMAL Oo MW A w N DROPPED 10 NETWORK 12 G5 Family AT Command User Manual Page 64 of 203 Bs FIBOCOM INVALID_CALL_ID 13 NORMAL_CLEARING 14 TOO_MANY_ACTIVE_CALLS 16 UNASSIGNED_NUMBER 17 NO_ROUTE_TO_DEST 18 RESOURCE_UNAVAILABLE 19 CALL_BARRED 20 USER_BUSY 21 NO_ANSWER 22 CALL_REJECTED 23 NUMBER_CHANGED 24 DEST_OUT_OF_ORDER 25 SIGNALING_ERROR 26 NETWORK_ERROR 7 NETWORK_BUSY 28 NOT_SUBSCRIBED 29 SERVICE_UNAVAILABLE 31 SERVICE_NOT_SUPPORTED 32 PREPAY_LIMIT_REACHED 33 INCOMPATIBLE_DEST 35 ACCESS_DENIED 43 FEATURE_NOT_AVAILABLE 45 WRONG_CALL_STATE 46 SIGNALING_TIMEOUT 47 MAX_MPTY_PARTICIPANTS_EXCEEDED 48 SYSTEM_FAILURE 49 DATA_MISSING 50 BASIC_SERVICE_NOT_PROVISIONED 51 ILLEGAL_SS_OPERATION 52 SS_INCOMPATIBILITY 53 SS_NOT_AVAILABLE 54 SS_SUBSCRIPTION_VIOLATION 55 INCORRECT_PASSWORD 56 TOO_MANY_PASSWORD_ATTEMPTS 57 PASSWORD_REGISTRATION_FAILURE 58 ILLEGAL_EQUIPMENT 59 UNKNOWN_SUBSCRIBER 60 G5 Family AT Command User Manual Page 65 of 203 Bs FIBOCOM ILLEGAL_SUBSCRIBER 61 ABSENT_SUBSCRIBER 62 USSD_BUSY 63 CANNOT_TRANSFER_MPTY_CALL 65 BUSY_WITH_UNANSWERED_CALL 66 UNANSWERED_CALL_PENDING 68 USSD_CAN
74. T1 extension file If the extension file is full an attempt to store a new record with more than 20 digits returns an error lt tlength gt The maximum number of characters in the lt text gt entry This applies to GSM standard characters only Non GSM standard character sets and extended GSM characters require additional space in storage In some cases when using such characters the text cannot be stored In this case the G5xx returns a text string too long error 6 2 System Date and Time Access Commands 6 2 1 CCLK Read Set System Date and Time This command reads and sets the G5xx current date time and time zone Command Syntax Response Action Remarks Set CCLK lt ti OK The Set command sets the date time and time zone me gt or of the system clock CME ERROR Note Set Command sets user defined system clock lt err gt values and saves them in the NVM memory These saved values are kept after power cycle as well Read CCLK CCLK lt time gt The Read command returns the current date time OK and time zone setting or By default lt time gt will represent the network CME ERROR Undated time Seg If the user has used the Set command once then lt time gt will represent the Set command setting Note If network operator does not support System Clock Update Message the initial date time and time zone displayed by CCLK Read Command could be invalid user s responsibilit
75. TE in case the sending operation has failed The numeric error code will be reported in format CMGS ERROR lt err gt e If after aborting AT CMGS command execution and before result of operation was reported by G5xx a second AT CMGS command is executed then the result of the second AT CMGS operation only will be reported by G5xx e If AT CSCS HEX the SMS cannot be sent CMGS G5 Family AT Command User Manual Page 110 of 203 Bs FIBOCOM 8 Access and Security 8 1 Access Control Commands When the phone or SIM card is locked or blocked the only accessory operations allowed are those found in the list of Core AT commands allowed while phone SIM card is locked shown in Core AT Commands All other AT commands are not executed for example accessing phone book entries However the phone is still capable of sending asynchronous message events via AT responses for example incoming call notification 8 1 1 A Repeat Last Command This command repeats the last command It is not necessary to press lt Enter gt after this command Note Only AT will not be repeated Command Syntax Response Action Repeats last command Execute A Command AT will ignore Example AT amp D amp D 1 OK A amp D 1 OK 8 1 2 AT Check AT Communication This command only returns OK Command Syntax Response Action Execute AT OK Example AT OK G5 Fa
76. TS RTS terminal G5xx flow control 6 Enable CTS RTS terminal G5xx flow control The default value is 0 10 1 5 IFC RTS CTS Flow Control This parameter controls the operation of the local flow control between the terminal and the G5xx during the data state when V 42 error control is used or when fallback to non error control mode is specified to include buffering and flow control It accepts two numeric subparameters e lt DCE_by_DTE gt Specifies the method to be used by the terminal to control the flow of received data from the G5xx e lt DTE_by_DCE gt Specifies the method to be used by the G5xx to control the flow of transmitted data from the terminal Command Syntax Response Action Set AT IFC lt DCE_by_DTE gt OK DTE_by_DCE or ERROR Read AT IFC IFC lt rate gt OK Test AT IFC IFC list of supported lt DCE_by_DTE gt s list of supported lt DTE_by_DCE gt s OK The following table shows lt DCE_by_DTE gt and lt DTE_by_DCE gt parameters lt Parameter gt Description lt DCE_by_DTE gt 0 None 2 Circuit 133 RTS lt DTE_by_DCE gt 0 None 2 Circuit 106 CTS Example AT IFC IFC 0 0 G5 Family AT Command User Manual Page 134 of 203 Bs FIBOCOM OK AT IFC 2 2 OK 10 1 6 amp C Circuit 109 Behavior This parameter determines how the state of the DCD line relates to the detection of the received line signal from the distant
77. TU and therefore is not supported by the G5xx The G5xx returns an error The following table shows the different S registers and their associated values Sn Description Min Value Max Value Default Value SO Sets gets number of rings before auto answer 0 255 0 3 Sets gets carriage return code character 0 127 13 S4 Sets gets line feed code character 0 127 10 S5 Sets gets command line editing character 0 127 8 backspace Note SO Auto Answer should work regardless of the DTR HW line state This is a deviation from the ITU V 25 ter standard Example ATSO 000 OK ATSO 3 OK ATSO 003 OK G5 Family AT Command User Manual Page 24 of 203 Bs FIBOCOM 4 1 5 amp V View Configuration This command reports the current S registers Command Syntax Response Action Remarks Execute amp V ACTIVE PROFILE The Execute command displays the current active configuration profile data STORED PROFILE 0 profile data OK or CME ERROR lt err gt Example AT amp V amp C1 amp D1 amp K3 E1 QO V1 XO YO 0 0 3 13 4 10 S5 8 CRC 0 OK 4 1 6 amp F Set to Factory Defined Configuration This command restores the factory default configuration profile The G5xx only supports one factory default profile 0 Command Syntax Response Action Remarks Set AT amp F lt value gt OK or CMS ERROR lt err gt
78. ables CME ERROR lt err gt unsolicited indications Execute AT CLCC CLCC lt idx gt lt dir gt lt call state gt The Execute command lt mode gt lt mpty gt lt number gt lt type gt enables the receiving of lt alpha gt lt CR gt lt LF gt data about current calls CLCC lt idx gt lt dir gt lt call state gt lt mode gt lt mpty gt lt number gt lt type gt lt alpha gt sal OK Read AT CLCC CLCC lt state gt The Read command OK returns the call status or CME ERROR lt err gt Test AT CLCC CLCC List of supported lt state gt s OK or CME ERROR lt err gt G5 Family AT Command User Manual Page 58 of 203 Bs FIBOCOM The following table shows the CLCC parameters lt Parameter gt Description lt state gt 0 Disable CLCC unsolicited indication 1 Enable CLCC unsolicited indication The default value is 0 lt idx gt Integer type call identification number lt dir gt 0 Mobile originated call MO 1 Mobile terminated call MT lt call state gt The state of the call 0 Active 1 Held 2 Dialing MO call 3 Alerting MO call 4 Incoming MT call 5 Waiting MT call 6 Released lt mode gt Bearer Teleservice 0 Voice Call lt mpty gt Multiparty status 0 Call is not part of a multiparty call 1 Call is one of multiparty call parties lt number gt Phone number in the format specified by lt type gt Contains a string of up to 32 characters l
79. al Page 178 of 203 Bs FIBOCOM MIPRTCP 3 0 7171 13 1 10 MIPDSETS Set Size and Timeout for Output Received Data This command causes the G5xx to set a max length and time span when send out data to user Command Syntax Response Action Remarks Set MIPDSETS lt Soc OK TimeSpan is ket_ID gt lt length gt or defined in lt TimeSpan gt ERROR milliseconds MIPDSETS lt err gt Read MIPDSETS MIPDSETS lt Socket_ID gt lt Current length Settings gt lt TimeSpan gt OK For all ACTIVE sockets Test MIPDSETS MIPDSETS 1 4 list of supported lt length gt s list of supported lt TimeSpan gt s OK The following table shows the MIPDSETS parameters lt Parameter gt Description length Max length when send out data 128 lt size lt 2048 The default value is 1372 TimeSpan 0 1000 mS 0 means no timeSpan is used default Example AT MIPDSETS 1 256 500 OK When received 512 bytes from network there are two MIPRUDP message report to user MIPRUDP 172 16 3 135 222 2 256 313233 373839 the first 256 bytes time span is 500ms MIPRUDP 172 16 3 135 222 2 0 313233 5 373839 the last 256 bytes G5 Family AT Command User Manual Page 179 of 203 Bs FIBOCOM 13 1 11 MIPSTAT Status Report This unsolicited event is sent to the terminal indicating a change in status Currently there are two possible sources
80. aller restricted the CLI presentation used AT CLIR CRING VOICE CLIP 128 128 51 longzhongyou 5 1 9 CCWA Call Waiting Command This command controls the Call Waiting supplementary service including the settings and the queries of the G5xx and the network When the Call Waiting indication is enabled by the G5xx and there is a waiting call a CCWA indication is sent from the G5xx to the terminal The indication will appear one time Note The G5xx supports only one of the services at a time Voice Multiparty is a voice only functionality A CCWA indication is sent to the terminal only during a voice call waiting event Command Syntax Response Remarks Set CCWA lt n gt OK The Set command enables disables the L lt mode gt lt cl If lt mode gt 2 and the Call Waiting indication in the G5xx and in ass gt command succeeds the network Activation deactivation and CCWA status query are supported lt status gt lt class1 gt lt CR gt lt L Note When the lt mode gt parameter is set F gt to 2 network query the lt n gt parameter CCWA lt status gt lt class2 gt is ignored This means that no dl enable disable action is performed while OK querying the network Read CCWA CCWA lt n gt The Read command returns the OK Enable disable status of the call waiting indication in the G5xx lt n gt Test CCWA CCWA list of The Test command returns lt n gt values suppo
81. ameters lt Parameter gt Description lt value gt Number of seconds 0 lt n lt 255 0 Disable Sleep mode gt 0 Enable Sleep mode The default value is 000 Example ATS24 000 OK ATS24 5 OK The G5xx enter Sleep Mode at once ATS24 005 OK If there are no radio and UART activities the G5xx will enter sleep mode in 5 seconds 4 3 Error Handling Commands 4 3 1 CMEE Report Mobile Equipment Error The Set command disables or enables the use of result code CME ERROR lt err gt as an indication of an error relating to the functionality of the G5xx When enabled G5xx related errors cause a CME ERROR lt err gt final result code instead of the regular ERROR final result code Usually ERROR is returned when the error is related to syntax invalid parameters or terminal functionality For all Accessory AT commands besides SMS commands the CMEE set command disables or enables the use of result code CME ERROR lt err gt as an indication of an error relating to the functionality of the G5xx When enabled G5xx related errors cause a CME ERROR lt err gt final result code instead of the regular ERROR result code For all SMS AT commands that are derived from GSM 07 05 the CMEE Set command disables or enables the use of result code CMS ERROR lt err gt as an indication of an error relating to the functionality of the G5xx When enabled G5xx related errors cause a CMS ERROR lt err gt fi
82. amily AT Command User Manual Page 28 of 203 Bs FIBOCOM lt P3 gt Length 0 255 UPDATE BINARY lt P1 gt Offset high 0 255 lt P2 gt Offset low 0 255 lt P3 gt Length 0 255 UPDATE RECORD lt P1 gt Rec No 0 255 lt P2 gt Mode 02 next record 03 previous record 04 absolute mode current mode the record number is given in P1 with P1 00 denoting the current record lt P3 gt Length 0 255 STATUS lt P1 gt 00 lt P2 gt 00 lt P3 gt Length 0 255 lt data gt Information which shall be written to the SIM hexadecimal character format Man datory for UPDATE BINARY and UPDATE RECORD lt sw1 gt lt sw2 gt Integer character format Information from the SIM about the execution of the actual command These parameters are delivered to the TE in both cases on successful or failed execution of the command Responses to commands which are correctly executed lt sw1 lt SW gt 2 gt Description 144 0 Normal ending of the command 145 XX Normal ending of the command with extra information from the proactive SIM containing a command for the ME Length XX of the response data 158 XX Length XX of the response data given in case of a SIM data download error 159 XX Length XX of the response data Responses to commands which are postponed lt sw lt sw o Error Description 1 gt 2 gt 147 0 SIM Ap
83. amp C is set to 2 when a CSD call is set DCD will always remain OFF Command Syntax Response Action Set AT amp C lt param gt OK Read AT amp C amp C lt param gt Test AT amp C amp C list of supported lt param gt s G5 Family AT Command User Manual Page 135 of 203 Bs FIBOCOM The following table shows th e amp C parameters lt Parameter gt Description lt param gt DCD signal ON 0 DCD is forced ON at all times 1 DCD is set to ON when a AODM carrier is detected b AGPRS external session is being established G5xx enters PPP mode TE is about to send an LCP configure request to the G5xx GPRS connection is not yet established DCD is set to OFF when a No ODM carrier is detected This can happen when a ODM call As been disconnected or when G5xx enters ODM online command mode switch operation b The G5xx has lost its GPRS connection with the network PDP context was deactivated and the IP address is cancelled 2 DCDis set to ON when G5xx establishes a GPRS connection with the network PDP context is activated and the IP address is received from the network DCD is set to OFF when G5xx has lost its GPRS connection with the network PDP context was deactivated and the IP address is cancelled The default value is 1 10 1 7 amp D Circuit 108 Behavior This command determines how the G5xx responds when the DTR Data Terminal Ready status is changed from ON
84. and lt dcs gt nor lt length gt lt toda gt or lt tooa gt in CMT CMGL CMGR result codes for SMS DELIVERs and SMS SUBMITs in text mode for SMS COMMANDs in CMGR result code do not show lt pid gt lt mn gt lt da gt lt toda gt lt length gt or lt cdata gt default 1 Means show the values in result codes Example AT CSDH CSDH 0 1 OK AT CSDH CSDH 0 OK AT CMGR 160 SMS SUBMIT CMGR STO UNSENT 0544565034 ABC OK AT CSDH 1 OK AT CMGR 160 CMGR STO UNSENT 0544565034 81 29 0 0 04 11 04 09 48 36 08 97254120032 145 3 ABC G5 Family AT Command User Manual Page 85 of 203 Bs FIBOCOM OK 7 1 6 CNMI New Message Indications to Terminal This command handles enabling of unsolicited notifications to the terminal when an SM is received by the G5xx After sending an unsolicited response to the TE the G5xx will expect a CNMA new message acknowledge from the TE within a predefined timeout of 60 seconds The G5xx will not send another unsolicited response to the TE before the previous one is acknowledged If acknowledged within the timeout the new SM is not saved in the message storage If not the new SM is saved in the message storage and CNMI parameters are set to 0 Command Syntax Response Action Set CNMl lt mode gt OK lt mt gt lt bm gt lt ds or gt lt bfr gt CMS ERROR lt err gt CNMI lt mode gt lt mt gt lt
85. and User Manual Page 70 of 203 Bs FIBOCOM 6 1 2 CPBR Read Phone Book Entries This command recalls phone book entries from a specific entry number or from a range of entries If only one entry is specified and that entry is empty OK is returned If a range of entries is requested all entries that contain data within that range are returned If a listing fails in a G5xx error CME ERROR lt err gt is returned This command can also be used to obtain information about the number of entries and the maximum size of a phone number and alpha tag fields in the phone book This command acts on the currently active phone book as selected with the CPBS command Command Syntax Response Action Remarks Set CPBR lt inde CPBR x1 gt L lt index2 lt index1 gt lt number gt lt type gt lt text gt lt CR gt lt LF gt The Set command returns phone book lt tlength gt OK gt CPBR lt index2 gt lt number gt lt type gt lt text gt entries OK or CME ERROR lt err gt Test CPBR CPBR list of supported lt index gt s lt nlength gt The Test command returns the entry range supported by the current storage as a compound value and the maximum lengths of the lt number gt and lt text gt fields The following table shows the CPBR parameters lt Parameter gt Description lt index1 gt Index for a given phone book entry lt i
86. and sending operation was successful the result of operation CMSS lt mr gt will be reported by G5xx If after aborting AT CMSS command execution and before result of operation was reported by G5xx a second AT CMSS command is executed then the result of the second AT CMSS operation only will be reported by G5xx 7 1 13 CMGW Write Message to Memory This command is used to write and save a message to lt mem2 gt The message is saved in memory and the message index is displayed to the user By default messages are saved with the status of STO UNSENT but status STO SENT can be applied using the lt stat gt parameter G5 Family AT Command User Manual Page 102 of 203 Bs FIBOCOM In TEXT mode the header parameters will be set according to CSMP settings Command Syntax Response Action Remarks Set If text mode CMGF 1 CMGW lt index gt CMGW lt da gt lt toda gt lt stat gt lt CR gt or text is entered lt ctrl Z ESC gt if PDU mode CMGF 0 CMGW lt length gt lt stat gt lt CR gt PDU is CMS ERROR lt err gt given lt ctrl Z ESC gt The Set command writes a message and stores it The following table shows the CMGW parameters Layout of SMS SUBMIT in PDU Mode according to GSMO03 40 lt Parameter gt Description lt da gt Destination address in quoted string This field contains a single p
87. ax Response Action Remarks Set COLP lt n gt OK The Set command enables disables the CME ERROR lt err gt display of the COL at the TE on the G5xx The value set by this command is not retained after a power cycle Read COLP COLP lt n gt lt m gt The Read command displays the status of OK lt n gt It also initiates a query of the COLP service provision status and displays lt m gt Test COLP COLP list of The Test command displays the supported supported lt n gt s values of lt n gt OK The following ta ble shows the COLP parameters lt Parameter gt Description lt n gt Sets displays the result code presentation status of the G5xx 0 Disable default 1 Enable lt m gt Displays the subscriber s COLP service status in the network 0 COLP not provisioned 1 COLP provisioned 2 Unknown for example no network and so on lt number gt Sets the phone number using the format specified by lt type gt lt type gt Sets the address octet type in integer format refer to GSM 04 08 8 subclause10 5 4 7 129 Unknown 145 International used when dialing string includes international access code character lt subaddr gt Sets the subaddress using the format specified by lt satype gt lt satype gt Sets the address octet type in integer format refer to GSM 04 08 8 subclause 10 5 4 8 lt alpha gt An optional string type alphanumeric representation of lt number
88. ber 1 0 1 Alphanumeric coded according to GSM TS 03 38 7 bit default alphabet 1 1 0 Abbreviated number 1 1 1 Reserved for extension Numbering plan identification applies for Type of number 000 001 010 Bits3210 0 0 0 0 Unknown 0001 ISDN telephone numbering plan E 164 E 163 001 1 Data numbering plan X 121 0 1 00 Telex numbering plan 1000 National numbering plan 1001 Private numbering plan 1010ERMES numbering plan ETSI DE PS 3 01 3 1111 Reserved for extension All other values are reserved G5 Family AT Command User Manual Page 80 of 203 Bs FIBOCOM CSCA lt SCA gt parameters Following table describes CSCA lt SCA gt valid parameters including the conversion when using stored lt SCA gt in SMS PDU mode editing SMS via CMGW or CMGS without SCA This is according to 24 008V031000P Table 10 5 118 GSM 24 008V031000P Called party BCD number lt SCA gt Character in SMS Text mode Mapped character for SMS PDU mode Digits 0 9 Digits 0 9 0x91 T N m r N ra rey D T E Example AT CSCA CSCA 97212356 145 Read SCA address and TOSCA stored in SIM EF smsp OK AT CSCA 97212356 OK AT CSCA CSCA 97212356 129 OK AT CSCA CSCA A C 129 OK AT CMGW 13 gt 0481ABCD1211640A8150224902450000A700 gt A A gt B B gt C gt D CMGW 15 OK AT CMGR 15 CMGR 2 13 G5 Family AT Command User Manual Pa
89. bm gt lt ds gt lt bfr gt Read CNMI OK Test CNMI CNMI list of supported lt mode gt s list of supported lt mt gt s list of supported lt bm gt s list of supported lt ds gt s list of supported lt bfr gt s OK The following table shows the CNMI parameters lt Parameter gt Description lt mode gt 0 Buffer unsolicited result codes in the TA if the TA buffer is full the oldest indication may be discarded and replaced with the new received indications ring buffer Discard indication and reject new received message unsolicited result codes when TA TE link is reserved otherwise forward them directly to the terminal buffer unsolicited result codes in the TA when the serial link is busy e g data transfer otherwise forward them directly to the terminal lt mt gt No SMS DELIVER indications are routed to the terminal default If SMS DELIVER is stored in the G5xx the memory location indication is routed to the terminal using the unsolicited result code CMTI lt mem gt lt index gt SMS DELIVER except class2 SMS are routed directly to the TE using the unsolicited result code G5 Family AT Command User Manual Page 86 of 203 Bs FIBOCOM CMT lt alpha lt length gt lt CR gt lt LF gt lt pdu gt in PDU mode or CMT lt oa gt lt alpha gt lt scts gt lt tooa gt lt fo gt lt pid gt lt dcs gt lt sca gt lt tosca gt l
90. cssszssssccasserssacesscacssecovssaaisecossseaveacatscossiatesnesastecsssertacatbantomeiautsionaacamanacanmcnnt 148 11 2 6 CALM Alert Sound Mode wu eeesesssssscsssscsssecsseccsseccsseccsseccssecsusessssecssseesssccsuecesseecsuecesseecsneeeaseesaseessseess 148 12 7 AVID TONE DuratOnscessarsrcroraro ndro nanona naano 149 11 2 8 VTS Command Specific Tone Duration ssssccsssssscssssccssseccssseccsssesessnecssnsecesssecessueeessneeessnseessas 149 11 2 9 MAPATH Audio Path sssssssssccsssseccenscccsssecssnsecsensscectsssecseusessnsccssuscessssuscesnscessuscesnsccessnsecestuesesenseees 150 11 2 10 MAVOL Volume Setting essesccsssccsssecssesnsecssesesssscenesesnsscenesscneceenecesssesssecssssesssscesssesneeseneseeneeseneeess 151 11 2 11 MMIGG Microphone Gain Value sesssescseccseecsecssseecssccsssecssscessecessecesuecesueecsnecessecessecesseessseess 153 E i e E E EEE AA 154 12 1 GPRS Functionality ssssssssssssssssssssssssssssssssssssssssseesessssssssseseeteeessusnssseseeeesesssssssssteteessssssssentttteeesssssnssstttereeessssnnntt 154 12 2 GPRS Commands ssernsrsrsenspaatana a aeni a h E E A E E Ei 154 12 2 1 CGCLASS GPRS Mobile Station ClaSS sssssssssssssssssssssssssseseesssssssssseseesssessussseseeeeeesssssssssseseeeesssss 154 12 2 2 CGDCONT Define PDP Conte xt esssssscssssecssnssccssssccsssscessueccssneccesnsecesssccessuecessuseessuseessnseeseaneesets 156 12 2 3 CGQMIN Quality of Service Profile Min Acce
91. csueccsnesessecssseecsseessseesies 45 5 1 11 CHLD Call Related Supplementary Services Command ou ssessssscsseeccseecssecesseecsseecsseecsseeeseees 47 5 1 12 CCFC Call Forwarding Number and Conditions sssssssescseccsseecsecsseeesneecsssecsseecsneeesseeessees 49 5 1 13 CLIR Calling Line Identification Restriction ssssscssssssscssseccsseeccssseccsssecessseecssnsecssnseeessseesesneesees 51 5 1 14 Return to Online Data State oc esssssssssscsssecsssecsseecsseecsseecsseccsseccsseecsscesssecsuseesuessueeesueessueeesneessee 53 5115 CHUP Hang Up Call iccsssccsscscssstccsessnssencdenscesetasisonsasoassncassstassaguascnvacsaneesossdtansasnsesnsbivsnssenaseegassbaseccienstaytdone 54 5 1 16 MDC Selection of Desired Message to Be Displayed Upon Connection of a Voice Call55 5 1 17 MHUP G5xx Hung UP Call ceesssssecsssecsssecsseecsusecsssecsseccsscecsseccsseccssecssseesssecsuseessseesueeesueecsueeesseecsneessee 56 5 2 Call Status MESSAGES nsien EE E E EE E i a 57 5 2 1 CPAS Phone Activity Status esescssescssescsseecssescsseccsseecsseecsseesssessseesseecsueeesuescsneessseecsseessseesseecsueeessees 57 5 2 2 FCLCC List Current Calls eesssescsssccsseecsseecsseecsscessseesssecsuecsucessnecesseccssecesseessseccsseesssecssseesssessnsessuseessees 58 5 3 SUp plementary Service Scsi san EEEE EER EES SE EEEE SEE KEEKEEKE NS 60 5 3 1 CSSN Supplementary Service Notifications ssscsssssccssseccsseccssseccsssecessseecssnsecsssseesssseeesssee
92. ct parameters are to be mapped into the actual service parameters of the particular networks the datagram traverses Minimum and maximum values for TOS are 0 and 255 respectively Refer to RFC 791 and RFC 2474 which obsoletes RFC 791 for TOS defined values The default value is 0 lt TimeOut gt Specifies the amount of time in milliseconds to wait for the Echo Reply message that corresponds to a sent Echo Request message measured after Echo Request message was sent If the Echo Reply message is not received within the time out MPINGSTAT The following table shows the MPING unsolicited response parameters lt Parameter gt Description lt Destination_IP gt Specifies the message sender machine computer which is identified by IP address 4 octets long in dotted decimal notation Each octet of IP address has valid value range of 0 to 255 The message sender machine computer may be either the target of Echo Request message if a response was an Echo Reply message or a gateway router in a path of Echo Request message passage for any other ICMP response message lt type gt The first octet of the ICMP header is a ICMP type field which specifies the format of the ICMP message Referto IETF RFC 792 for lt type gt valid values lt code gt The reasons for the non delivery of a packet are described by code field value of ICMP header Every lt type gt has its own defined lt code g
93. d by the network or if the number is found in the G5xx phone books lt CLI validity gt The Validity of the Calling Line Identity presentation 0 CLI valid 1 CLI has been withheld by the originator 2 CLl is not available due to networking problems or limitations of the originating network G5 Family AT Command User Manual Page 45 of 203 Bs FIBOCOM Note When the parameter lt mode gt is 2 Query status the first parameter is ignored and the third parameter is always treated as class 1 unless it was set in Set Mode Example AT CCWA 1 Enable call waiting on G5xx OK AT CCWA CCWA 0 1 OK AT CCWA CCWA 1 OK Examples of CCWA set command network interrogation AT CCWA 1 2 Class parameter is considered as 7 CCWA 1 1 Call waiting is active for class 1 voice OK AT CCWA 1 2 2 Class parameter is 2 CCWA 0 2 Call waiting is not active for class 2 data OK AT CCWA 1 1 OK Enable the call waiting feature in the network and in the G5xx Example CCWA indication atd93 11234567 Originate a voice call OK OK Noice call connected conversation call waiting indication received by the G5xx CCWA 358317654321 145 1 Bob AT CHLD 0 Release the waiting call OK NO CARRIER AT CRC 1 RING indication is not relevant to CCWA indication OK waiting call caller restricted to its CLI presentation used AT CLIR CCWA 128 1 1 CLI is r
94. d2 gt lt total2 gt the memory storage gt L lt mem3 gt lt used3 gt lt total3 gt OK or CMS ERROR lt err gt Read CPMS CPMS The Read command lt mem1 gt lt used1 gt lt total1 gt lt mem2 displays the selected gt lt used2 gt lt total2 gt lt mem3 gt lt used memory storage type 3 gt lt total3 gt for the three memory OK areas or CMS ERROR lt err gt Test CPMS CPMS list of The Test command supported lt mem1 gt s list of lists the supported supported lt mem2 gt s list of memory storage for supported lt mem3 gt s lt mem1 gt lt mem2 gt OK and lt mem3 gt or CMS ERROR lt err gt G5 Family AT Command User Manual Page 77 of 203 Bs FIBOCOM The following table shows the CPMS parameters lt Parameter gt Description lt mem1 gt Memory from which messages are read and deleted Supported values are SM The default value at power up is SM lt mem2 gt Memory to which writing operation is made Supported value is SM The default value at power up is SM lt mem3 gt Memory to which received SMS are stored unless forwarded directly to TE Supported value is SM The default value at power up is SM SM SIM message storage Example AT CPMS SM CPMS 5 50 5 50 5 50 OK AT CPMS CPMS SM 5 50 SM 5 50 SM 5 50 OK 7 1 2 CMGF Message Format This command is a basic command The Set command handles the selecti
95. ded for unlocking OK AT CPIN lt PUK2 gt lt NEW PIN2 gt Enter PUK2 and new PIN2 OK 8 1 4 TPIN Query Number of Remaining SIM PIN PUK Entering Attempts This command returns the number of remaining attempts of entering the PIN and PUK for the SIM card in use The command returns the number of remaining attempts for PIN1 CHV1 PIN2 CHV2 PUK1 unblock CHV1 and PUK2 unblock CHV2 Number of available attempts is provider dependant Typically it is 3 attempts for PIN 10 attempts for PUK This command will return error if SIM is not inserted Command Syntax Response Action Remarks Read AT TPIN TPIN lt chv1 gt lt unb1_chv1 gt lt chv2 gt lt unb1_chv2 gt or CME ERROR lt err gt G5 Family AT Command User Manual Page 114 of 203 Bs FIBOCOM The following table shows the TPIN parameters lt Parameter gt Description lt chv1 gt Number of remaining PIN attempts lt chv2 gt Number of remaining PIN2 attempts lt unbl_chv1 gt Number of remaining PUK attempts lt unbl_chv2 gt Number of remaining PUK2 attempts Example AT TPIN TPIN 3 10 3 10 OK AT CPIN 7777 CME ERROR incorrect password AT TPIN TPIN 2 10 3 10 OK 8 1 5 CPWD Change Password This command sets a new password for the facility lock The password can only be changed once the required facility is enabled by the CLCK command A password can be changed o
96. definition Example AT CGACT CGACT 0 1 OK AT CGACT OK AT CGACT 1 ERROR GPRS network not present G5 Family AT Command User Manual Page 165 of 203 Bs FIBOCOM Note e In some GPRS networks CGACT is not supported The ATD 99 command can be used to establish a connection e Activating a context can take up to 150 seconds e Deactivating a context can take up to 40 seconds e When aborting a CGACT Set command the context is closed This can take up to 40 seconds 12 2 8 CGPADDR GPRS ADDResses This command reads the allocated PDP addresses for the specified context identifiers Command Syntax Response Action Remarks Set AT CGPADDR _ CGPADDR The Set command returns a list lt cid gt lt cid gt L lt cid gt lt PDP_addr gt lt CR gt lt LF gt of PDP addresses for the CGPADDR specified context identifiers lt cid gt lt PDP_addr gt OK or CME ERROR lt err Test AT CGPADDR CGPADDR list of defined lt cid gt s The Test command returns the OK list of defined lt cid gt s The following table shows the CGPADDR parameters lt Parameter gt Description lt cid gt Anumeric parameter that specifies a particular PDP context definition If no lt cid gt is specified the addresses for all defined context are returned lt PDP_address Astring that identifies the MT in the address space applicable to the PDP
97. described in GSM03 40 lt TP UDL gt User data length 1 BYTE lt TP UD gt User data 0 140 BYTES Note Any unused bits will be set to zero and shall be ignored by the receiving entity G5 Family AT Command User Manual Page 97 of 203 Bs FIBOCOM Bit s Reference Description 0 1 Message Type Indicator Parameter describing the message type 0 0 SMS DELIVER in the direction SC to MS 2 TP More Message To Send Parameter indicating whether or not more messages is waiting to the MS in the SC 0 More messages are waiting for the MS in this SC 1 No more messages are waiting for the MS in this SC 5 TP Status Report Indication Parameter indicating if a status report is requested by the MS 0 A status report is not requested 1 Astatus report is requested 6 TP User Data Header Indicato Parameter indicating whether or not a status report will be r returned to the SME 0 A status report will not be returned to the SME 1 A status report will be returned to the SME 7 TP Reply Path Parameter indicating that Reply Path is set or not 0 TP Reply Path parameter is not set 1 TP Reply Path parameter is set Reference Description Length lt sca gt Mandatory 1 3 12 BYTES Service Center address When length is 1 length BYTE 1 BYTE length number of followed octets 0 Mandatory 1 BYTE lt tosca gt value Between 128 255 lt fo gt Mandatory First Octet 1 BYTE lt mr gt Mandatory 1 BYTE Message R
98. dio channel OK The following table shows the MAPATH parameters lt Parameter gt Description lt channel gt 1 Audio channel 1 2 Audio channel 2 3 PCM G520 only Example G5 Family AT Command User Manual Page 150 of 203 Bs FIBOCOM at mapath MAPATH 1 OK at mapath 2 OK Swith to 2 audio channel 11 2 10 MAVOL Volume Setting This command enables you to determine a volume level for a particular feature via a particular accessory The gain levels are saved in flex Therefore upon power up the path active mic speaker and alert speaker will have these saved gain levels Note The SMS MT volume is adjusted using the MAVOL command with type ring The RING value is related to the SMS alert the MT call and so on Command Syntax Response Action Remarks Set MAVOL lt accy gt OK The Set command sets the volume lt feature gt lt vol gt or level lt n gt to a certain lt feature gt CME ERROR lt err gt through a certain lt accy gt Read MAVOL Current path volume The Read command returns the MAVOL volume level of all the features in lt accy gt lt feature1 gt vol gt the current active accessories MAVOL lt accy gt lt feature2 gt vol gt MAVOL lt accy gt lt feature4 gt vol gt MAVOL lt accy gt lt feature8 gt vol gt OK Test MAVOL MAVOL supported Test command returns the accessories supported supported
99. dule Example AT CFUN CFUN 0 1 4 15 OK AT CFUN CFUN 1 0 OK AT CFUN 4 Disable phone transmit and receive RF circuits OK AT CFUN CFUN 4 AT COPS COPS 2 OK AT CFUN 1 Enable phone transmit and receive RF circuits through 1 OK OK AT CFUN CFUN 1 0 OK AT COPS COPS 0 0 CHINA MOBILE OK 10 1 9 ICF DTE DCE Character Framing This command determines the local serial port start stop asynchronous character framing used by the DCE when accepting DTE commands and transmitting information text and result codes whenever these are not done automatically Auto detect framing is not supported G5 Family AT Command User Manual Page 138 of 203 Bs FIBOCOM lt format gt values list of supported lt parity gt values CME ERROR lt err gt Command Syntax Response Action Remarks Set ICF lt format gt lt OK The Set command determines the parity gt CME ERROR lt err gt local serial port start stop character framing Read ICF ICF lt format gt lt parity gt The Read command displays the CME ERROR lt err gt currently selected character framing Test ICF ICF list of supported The Test command displays a list of supported lt format gt and lt parity gt values The following table shows the ICF parameters lt Parameter gt Description lt format gt Determines the number of bits in the data bits the
100. e country AB All Barring services applicable only for lt mode gt 0 AG All outGoing barring services applicable only for lt mode gt 0 AC All inComing barring services applicable only for lt mode gt 0 P2 SIM PIN2 lt oldpwd gt String type 4 8 character password specified for the facility from the G5xx user interface lt newpwd gt String type 4 8 character new password specified by the user lt pwd length gt Maximum length of the facmility password Integer type Example AT CPWD CPWD SC 8 AO 8 O1 8 OX 8 AI8 IR 8 AB 8 AG 8 AC 8 P2 8 OK AT CPWD CME ERROR operation not supported AT CLCK sc 1 current pin password OK AT CPWD sc incorrect old password new password CME ERROR incorrect password AT CLCK sc 2 CLCK 0 OK AT CPWD sc old password new password G5 Family AT Command User Manual Page 116 of 203 Bs FIBOCOM CME ERROR operation not allowed AT CLCK fd 1 current pin2 password AT CPWD p2 old password new password OK AT CLCK ai 2 CLCK 0 1 CLCK 0 2 CLCK 0 4 OK AT CLCK ai 1 correct password OK AT CLCK ai 2 CLCK 1 1 CLCK 1 2 CLCK 1 4 OK AT CPWD ai old password new password OK 8 1 6 CLCK Facility Lock This command locks unlocks or interrogates a G5xx or a network facility lt fac gt any kind of call barring program A password is mandatory for performing locking and u
101. e 63 of 203 Bs FIBOCOM GSM 23 is presented as 17 IRA 49 and 55 If lt dcs gt indicates that 8 bit data coding scheme is used ME TA converts each 8 bit octet into two IRA character long hexadecimal numbers e g octet with integer value 42 is presented to TE as two characters 2A IRA 50 and 65 lt dcs gt GSM 03 38 Cell Broadcast Data Coding Scheme in integer format The supported value are 17 USC2 Language Indicator The first character in a USC2 Lang IND has the language ID in it This situation is not defined by the GSM 7 07 or the 3GPP 27 007 so the assuming that the first character should have the correctly formatted and packed language ID already in it 72 USC2 16 bit 68 8 bit Each other value except of 96 80 and 240 are 7 bit Not supported values are 96 80 240 The default value is 15 7 bit lt m gt 0 No further user action required network initiated US SD Notify or no further information needed after mobile Initiated operation 1 Further user action required network initiated USSD Request or further information needed after mobile initiated operation 2 USSD terminated by network the reason for the termination is indicated by the index as described in CUSD Termination Cause Table Index 3 Other local client has responded 4 Operation not supported 5 Network timed out CUSD Termination Cause Table Index Termination Cause Index NO_CAUSE CC_BU
102. e command displays the message in location lt index gt of the preferred message storage lt mem1 gt selected using the CPMS command If the status of the message is RECEIVED UNREAD the CMGR command changes the status to RECEIVED READ The difference between CMGR and MMGR is that MMGR doesn t change lt stat gt value CMGR lt stat gt lt fo gt lt ct gt lt pid gt lt mn gt lt da gt lt toda gt lt len gth gt lt CR gt lt LF gt lt cdata gt If text mode CMGF 1 command execution is Command Syntax Response Action Remarks Set CMGR lt i If text mode CMGF 1 command execution is The Set ndex gt successful and SMS DELIVER comman MMGR lt CMGR d reads index gt lt stat gt lt oa gt lt alpha gt lt scts gt lt tooa gt lt fo gt lt pid gt lt dc the SM s gt lt sca gt lt tosca gt lt lengt located h gt lt CR gt lt LF gt lt data gt at If text mode CMGF 1 command execution is lt index gt successful and SMS SUBMIT in the CMGR G5xx lt stat gt lt da gt lt alpha gt lt toda gt lt fo gt lt pid gt lt dcs gt lt v message p gt lt sca gt lt tosca gt lt length gt lt CR gt lt LF gt lt data gt storage If text mode CMGF 1 command execution is and successful and SMS COMMAND displays it G5 Family AT Command User Manual Page 95 of 203 Bs FIBOCOM successful and CBM storage CMGR lt stat gt lt sn gt l
103. e last entry with the new item Note3 MT may also update the User controlled PLMN selector with Access Technology list EFPLMNWAcT automatically when new networks are selected Note4 The Operator controlled PLMN selector with Access Technology EFOPLMNWAcT and HPLMN selector with Access Technology EFHPLMNWAcT cannot be written since the access conditions is Administrative Note5 The command is implemented according to 3GPP TS 27 007 without acceptance in attention the lt GSM_AcT2 gt lt GSM_Compact_AcT2 gt lt UTRAN_AcT2 gt bits since the G5xx device not using this bits to get the best PLMN Example AT CPOL CPOL 001 032 000 002 OK AT CPOL CPOL 000 002 42501 OK AT CPOL 0 G5 Family AT Command User Manual Page 128 of 203 Bs FIBOCOM OK AT CPOL CPOL 000 000 IL ORANGE OK AT CPOL CPOL 001 032 000 002 OK AT CPOL 1 2 42502 OK AT CPOL CPOL 000 000 IL ORANGE CPOL 001 000 IL Cellcom OK AT CPOL 1 OK AT CPOL CPOL 000 000 IL ORANGE OK G5 Family AT Command User Manual Page 129 of 203 Bs FIBOCOM 10Hardware Information 10 1 Hardware Information Commands 10 1 1 CBC Battery Charger Connection This command enables a user to query the battery power level Command Syntax Response Action Read CBC CBC lt bcs gt lt bcl gt OK The following table shows the CBC parameters lt Parameter gt Description lt bcs gt Battery
104. e sockets that can be OK opened or MIPOPEN 0 OK if there are no free sockets Test AT MIPOPEN MIPOPEN list of supported lt socket_ID gt s list of supported lt source_port gt s list of supported lt Destination_IP gt s list of lt destination_port gt s list of supported lt protocol gt s OK Example AT MIPOPEN MIPOPEN 1 2 3 4 OK AT MIPOPEN MIPOPEN 1 3 4 OK G5 Family AT Command User Manual A l sockets closed Socket 2 opened Page 169 of 203 Bs FIBOCOM The following table shows the MIPOPEN parameters lt Parameter gt Description Socket_ID A unique number that identifies a connection Valid socket numbers 1 2 3 and 4 Source_Port Port of source site Port range 1 65535 decimal digits Remote_IP IP IP of the remote site in the format AAA BBB CCC DDD The range of each octet is 0 255 Value can be written in 1 2 or 3 digits Host name of remote site The host name convention should meet the rules as describe in RFC 1035 section 2 3 Conventions Syntax is not validated except the maximum length 255 characters Remote_Port Port of remote site Port range 1 65535 decimal digits for outgoing connection Port 0 for incoming connection Protocol Type of protocol stack OTCP 1 UDP State 0 Inactive 1 Active Note Does not recommend using port numbers below 1024 These numbers are defined to be reserved for operating s
105. ecause result codes are suppressed ATQ4 No response because result codes are suppressed 4 1 3 E Command Echo This command defines whether input characters are echoed to output If so these characters are echoed at the same rate parity and format at which they were received Command Syntax Response Action Remarks Set ATE lt value gt OK The Set command sets whether or or not to echo characters CME ERROR lt err gt Read ATE lt value gt The Test command for E is not OK defined by ITU and therefore is not supported by the G5xx The G5xx returns an error The following table shows the E parameters lt Parameter gt Description lt value gt 000 001 Does not echo characters Echoes characters The default value is 1 Example ATE 001 OK G5 Family AT Command User Manual Page 23 of 203 Bs FIBOCOM 4 1 4 S Bit Map Registers This command reads writes values of the S registers The G5xx supports this command for various S values according to official specifications ITU I ETSI or manufacturer specific Command Syntax Response Action Remarks Set ATSn lt value gt OK The Set command is allowed for or read write S registers and not allowed CME ERROR lt err gt for read only S registers Read ATSn lt current value of S register n gt OK or CME ERROR lt err gt Test The Test command for Sn is not defined by I
106. eccsseecsseessseessssesueessueecsueeesueeesneessee 131 G5 Family AT Command User Manual Page 7 of 203 Bs FIBOCOM 12 10 1 4 amp K RTS CTS Flow Control oo eessssssssescsssscsseecsseccssecsssecssscesnsccsuscesssccsuecesseecsnecessecssseesssecssseesueeesseeesuseess 133 10 1 5 IFC RTS CTS Flow Control cesssssscsssecsssccsseccsseccsseccsscesnsccsusecsssccsssccsseccsneessneccsseccsseesnsessusessneesneesss 134 101 6 BC Circuit 109 Be AaV OM essssscccacassccsssagscssssagscisicass coaseesssahssasacasssnsssabseensancosavcabcncecatasagnabbosapuanactegeatancanees 135 10 1 7 amp D Circuit 108 Behavior on eessessssescsseccsseccsssccsseccssccssscessscessecessecsuecesseccsnecsssecssseessseessseesueeesneeesseeese 136 10 1 8 CFUN Shut Down Phone Functionality esssesssseecsseeccseecsssccsseccsseecsseccsseecsseessseesseeesneeesneeess 137 10 1 9 ICF DTE DCE Character Framinng ssssssssscsssscsssscsssecsssecsssscsseccsseecsseecsseesssecsseesuecsueeesueecsnecesneessee 138 10 1 10 MRST Perform Hardware power COWMD sssssssscsssssssssssesssesesssecessueeessnsessnsecessseeessneeessueecesnseesses 140 10 1 11 WRIM RI signal Width Setting 0 eesssesssssecssescsssecssescsseccsseccssecssseesssecssscessecsueeesseccsnecssseessseesseeesses 140 10 1 12 MSMPD Enable Disable SIM Card Hot PIUQ ssscssssscssesccsesssssesseecsseecsseecsscecsnesesseesseessseesses 141 10 1 13 GTWD Enable Disable Watchdog ssssssscsssscsssscssessssesssecss
107. ed The remote side did reply with RST AT MIPCLOSE Sockets 1 and 2 are opened MIPCLOSE 1 2 OK G5 Family AT Command User Manual Page 172 of 203 Bs FIBOCOM 13 1 4 MIPSETS Set Size and Timeout for Automatic Push This command causes the G5xx to set a watermark in the accumulating buffer and set timeout When the watermark is reached data is pushed from the accumulating buffer into the protocol stack Timeout is used to define interval of time between MIPSEND command and time when data will be automatically pushed from the accumulating buffer into the protocol stack Data chunks between the terminal and the G5xx are limited to be smaller than 600 characters 1200 characters in coded form In order to reduce the overhead of sending small amounts of data over the air the G5xx uses an accumulating buffer The terminal can specify a watermark within the accumulating buffer size limits to indicate how much data should be accumulated When the data in the accumulating buffer exceeds the watermark only data equal to the watermark is sent Data remaining in the buffer is sent with the next packet Arriving data to accumulating buffer triggers a start of time defined in timeout countdown When counter reaches zero data is moved into the protocol stack If new data arrived before time is reached zero it is re initialized If data in accumulating buffer reached watermark it is pushed to the accumulating buffer as usual but if after a
108. eeesneessee 11 2 2 General System Abbreviations ssssssescsssscsseecsssccsseecsssccsseecssecsssecsssecssseessssesseeesueecsuecesseecsueesssesssneessseesseeess 11 2 3 Al Commands Prot toli sisses riseire oester ee eSEE TETEE 11 2 4 AT Commands StructUre eecsescsssscssescsseecseecssecsssecsssecssseesseecsuecesseessuecesseecsseecaseesssecssseesuseesuessueesueeesneessneeesee 12 2 4 1 General Symbols Used in AT Commands Description uu ssesssseccseecsseccsseccsseesnseessscesneecsseeessees 12 2 4 2 COMMANA StrUCtULe cseescseccsseccsseecsseccssecsssecssscesssecssseesssecsuecssecesueccsuecessescsuecesseessseessseessseesuseesseecsueeesnees 12 2 4 3 Results Code StrUce ure seeiis ia EE AEE 13 2 5 Command SYNtAX sescssccessecsneccssecssecsssccssscessscecsuscesuseesnccsseecsnsecesscessneccssecsssessesesuscessuscessseesueesucessnccenseeessecsenees 13 3 Modem D eae e E A AE A E E E A AE 15 3 1 CGMI GMI FMI Request Manufacturer ID sssssscsssscccssseccsseccesssecessnecessuccssnscesssseccssneesesueecesneeesses 15 3 2 CGMM GMM FMM Request Model ID ou ceeesssssssssecsssscsssecsssecsssecsssecsseccssccesseccssecssseesnecsuseesneeesneeess 15 3 3 CGMR GMR FMR Request REVISION sssescsescsesesescseecsssessecssecssecssecssecssecsnecssecssecssessseesseesseesseesseeses 16 3 4 CGSN GSN Request Product Serial Number Identification 00 sssssssssesccsseeecsseceeseecesneeeesneeseee 16 3 5 CSCS Select Terminal Charact
109. eessseccsseecssecenseesses 35 5 Cal Controlee n E A E E A E A O A O E E 36 5 1 Call Control AT COmmrmaind ities ccssccsscsascsvasssicade ccancczncsssesdscovecaucetncashovencaecoucebyceancspacsuncals cabvecencepsavescovecrevcctoeane 36 5 1 1 BMDIEIKESI nalani Ino C Aa a E AAEE EAA EEE EAEE 36 5 1 2 D gt Direct Dialing from Phone BOokS ssssssssssscssssscsssescssssccsssecessssccssueecssnecesssceessnecessueeessneessnseessee 37 5 1 3 DL Dial Last Number ue eesssssssescessecssecsssecssecesssecessecssseccssecsseesssccssscesssseessseesuseeseecsseecsnseseseccusecsuseesies 38 5 1 4 H Hang p Call ssiri naisenime ais aaaeei t rae oere nea Erioa erit raosi esae 39 5 1 5 A Answer INCOMING Call ou eesssssecssssccnscessseesssecsuscessscesseccsseccsseccsneecsseesssecssseesnsessuseesuscesuecsueeesneessneesssees 40 5 1 6 CRC Cellular Result Codes and RING CRING Incoming Call Indication ese 41 5 1 7 CLIP Calling Line Identification ou seecssssccsssscccssssccsseccesssccesssecessnecessuecessnsecssssecessseeessueecssneeessnseesses 42 5 1 8 FCLIP UCL Cath OPN 2 cisscisssccssscnssccessecdessbysscoussdqvssccbssovssigeassosasoasss cadeseayesgnsssoubensaysstasdcsasenussoebsnstustigssssosaseauanseys 43 5 1 9 CCWA Call Waiting Command essessseccssecsseecsseecssecsssccssscesssecsuscesuecesneecsuecesneesssecessecsssecssseesnseesies 44 5 1 10 CCWA Indication ue a eeeceeessseccsseccnsecsssecsssccsnsccsssccsseecsueccsseccssecsssecsssecsssessuscesuecesusc
110. eference number which identifying the previously submitted SMS SUBMIT or SMS COMMAND lt TP RA gt Mandatory 2 12 BYTES Recipient address formatted according to the formatting rules of address fields lt TP SCTS gt Mandatory 7 BYTE The TP Service Center Time Stamp fieldis given in semi octet representation and represents the local time as described in GSM03 40 G5 Family AT Command User Manual Page 98 of 203 Bs FIBOCOM Reference Description Length lt TP DT gt Mandatory 7 BYTES Discharge Time of lt TP ST gt is given in semioctet representation and represents the local time as described in GSM03 40 lt TP ST gt Mandatory Status of the MO message 1 BYTE lt TP PI gt Optional 1 BYTE Parameter indicating the presence of any of the optional parameters which follow lt TP PID gt Optional 1 BYTE Protocol Identifier Values between 0 255 lt TP DCS gt Optional 1 BYTE Data Coding Scheme Values between 0 255 lt TP UDL gt Optional User data length 1 BYTE lt TP UD gt Optional User data 131 BYTES Note e Any unused bits will be set to zero by the sending entity and will be ignored by the receiving entity e The maximum guaranteed length of TP UD is 131 octets In order to achieve the maximum octet of 143 the TP RA field must have a length of two octets and TP PID and TP DCS must not be present e TP Plis Mandatory if any of the optional parameters foll
111. emains in V 25 command or state If any PDP context is already in the CME ERROR lt err gt requested state the state for that context remains unchanged If the requested state for any specified context cannot be achieved an ERROR or CME ERROR response is returned Extended error responses are enabled by the CMEE command If the ME is not GPRS attached when the activation form of the command is G5 Family AT Command User Manual Page 164 of 203 Bs FIBOCOM executed the ME first performs a GPRS attach and them attempts to activate the specified contexts If the attach fails the ME responds with an ERROR or if extended error responses are enabled with the appropriate failure to attach error message Read AT CGACT CGACT lt cid gt lt state gt lt CR gt lt LF gt CGACT lt cid gt lt state gt lt CR gt lt LF gt CGACT lt cid gt lt state gt OK The Read command returns the current activation states for all the defined PDP contexts Test AT CGACT CGACT list of supported lt state gt s OK The following table shows the CGACT parameters The Test command requests information on the supported PDP context activation states lt Parameter gt Description lt state gt 0 Non active 1 Active Indicates the activation state of the context lt cid gt 1 2 Anumeric parameter that specifies a particular PDP context
112. er Set ssssssssssssssseccsessssssssseseceeeesssssssseeeecesesssssssseeeeeessesssssssteeeeseessssssssteeeee 17 3 6 ACIMI REQUEST IMS sesssscscsssscssssdsscessasosesosnsoscsesnscscussnsosovosnsosocosnsosovedsnstosetabstovesnbesonsdanetovedenencuetabstovetabenoestasstevsinass 18 3 7 CFSN Read Factory Serial NUMDEL sesssescsssscsseecsseccsseccsseccssecsssecssseessscessscesseecssecesseecsnecesseeesseeenseessseess 18 3 8 Request Identification INforrmation essssssscccsssscssseeccsseccsssececssssessncesssseecssuecessueeeesnccesssceessueeessneeesenesees 18 3 9 CNUM Request MSISDN S esssssscsssscssescsssccsseccsseccsseccsseccssecsssecsssessssecsuseesuseesueecsuecsuecesseecsneesssecsssecsaseesaseess 19 3 10 CLAC List of All Available AT Commands u sssssssssesccsssscessssecsnseccsssececsueccesnsceesssecessueeessuseessnsecesnseeesaneeeees 20 4 Modem Control and Status cesssescsssscssscseecseccsseccseecsssecsseecsuescsseecsuecesseecssecssseessseessseesssecsueeesueecsueecsseccsnecsuseesseesueessess 21 4 1 Modem Register Command ascssssccsscscacssssasccctesecvestssasscodssasccdavesscsdacasccsavcetasetansnscabusousccbsscancsbsageceiutegeecdevaarevse 21 4 1 1 V G5xx RESPONSE FOr Mabesssssssssssssensnnnssnonineninonnnninnni 21 4 1 2 Q Result Code SUPPressiONna essesscssccsseccsecsseecsseecsseecssecesseecssesesseecsseecsseecsseccsseesssesssseessseesseesneeseees 22 4 1 3 E Command ECN Osercesacszeceecacecasceaeuccessnecc
113. ero Size of lt accumulated_sent_length gt is four octets unsigned digit 0 4294967295 lt Status gt 0 Success 1 socket is flowed off 2 there is no data in socket to send Read MIPPUSH MIPPUSH lt socket_ID gt OK Test MIPPUSH MIPPUSH lt socket_I D gt lt IP gt lt Port gt OK G5 Family AT Command User Manual Page 176 of 203 Bs FIBOCOM The following table shows the MIPPUSH parameters lt Parameter gt Description Socket_ID 1 2 3 4Number of valid socket Destination_IP IP of destination site in the format AAA BBB CCC DDD The value can be written in1 2 or 3 digits Destination_Port 0 65535Port of destination site Written in decimal digits Example AT MIPPUSH 1 Terminal asks the G5xx to flush the buffer in socket 1 was opened using the MIPOPEN command MIPPUSH 1 0 OK 13 1 7 MIPFLUSH Flush Data from Buffers This command causes the G5xx to flush delete data accumulated in its accumulating buffers Command Syntax Response Action Set MIPFLUSH lt Socket_ID gt MIPFLUSH lt Socket_ID gt OK or ERROR Read MIPFLUSH MIPFLUSH lt socket_ID gt OK Test MIPFLUSH MIPFLUSH lt Socket_ID gt OK The following table shows the MIPFLUSH parameters lt Parameter gt Description Socket_ID 1 2 3 4 Number of valid sockets Example AT MIPFLUSH 2 Socket number 2 was prev
114. esnbicrcvsstocededsteqndstnssveonsstiastasnzecbisbanndedaistscveetobisransstace ea 117 INE WOK oiris ea e aar E E N TAN NE EAER ANAN ERAN ANIN 120 9 1 Network Commands ienien enn e E EEEE EE 120 9 1 1 CSQ Signal Strength eessssessssoossececessessesoooceceeessessesoococeeesesoesssoococeeesesssessocoressessoossssocoeeeesessesssese cesses 120 9 1 2 CREG Network Registration Status ou sssssscssescsseccssessscesssecsseecsusecsseccsseesseeceseecsseesseeesseecsseeess 121 9 1 3 CGREG GPRS Network Registration ssscsssscsssscsseecssescsseecsscecssecssseesseecsueeesseecsuecesseecssecesseesseeess 122 9 1 4 COPS Operator Selectionner na 124 9 1 5 CPOL Preferred Operators sssssccssssccsssssscssesesssesssssescssnescssssscessseeessuecessnsceesssecessneeessneessneeeeaneesssnes 127 Hardware Information ssssccsssssccsssssssssssesssesessnsecssnsecessseecssuscessusccesssceessuecessuscessuscesssseesssnecssnsecesssesessneeessneeessnseeseae 130 10 1 Hardware Information Command cssssssccssssscssssscssssscssssscssssecesssecessueecssncessssecessueeeesueecesneeessnseessaneeessues 130 10 1 1 CBC Battery Charger Connection un sescsssccssescsssecsseccsseecsseecsseesnsessseeesneeesueecsseessnecesneessseesneeesies 130 10 1 2 CBAUD Baud Rate Regulation sesssssscsseecssescsssecsseccsseecsseccsseesssecssesesseessussesseecsnecesseecsseessseesses 130 10 1 3 IPR Local Terminal Serial Port Rate on sesssssscsssssssescsssccsseccss
115. essues 60 5 3 2 CUSD Unstructured Supplementary Service Data ssssssssssssssssssssssssesssssssssssssseeeessssssssrsessssssssss 63 5 3 3 COLP Connected Line Identification Presentation sssccsssssccssescssesccesnsececseesesseecesneesssneestee 66 6 Phome and Date B oksand Clock scssiscssccccascascitssassced cases ccdsaeccadscass cabsuecasbsaueacadsded sccbaseancdtatasnensssadvaadeidbaaseroentbecetaennaaiecees 69 6 1 Directory Access Commands Phone BOok essssscssscssescssecsseecsecssseesssecsseessesesueeesnesesueecsueecsneeeaseessnees 69 6 1 1 CPBS Select Phone BOOK M MOLY sssssssccsescseeecseeccsesesseecssecessecessecesseessnecesneecsuecessecsssecssseessseesaes 69 6 1 2 CPBR Read Phone Book Entries esssssscssccsssecsssccssecsssecsssecsueecsuecesseecsueecsseecsnecesseccsseceaseesssecsnseesses 71 6 1 3 CPBF Find Phone Book Entri eSis 72 6 1 4 CPBW Write Phone Book Entry u ssesssssscsssscsssecsssecsssccsssecsseccsseccssecssssesssecsnsecsusessuscesseeesuecesneeesneeesnees 73 6 2 System Date and Time Access COMMAMNAS seessssscsssecsseecsseecsseecsseccsseecssecesseecssecssseecsseessseesssecsueeesneeesneeess 75 G5 Family AT Command User Manual Page 6 of 203 Bs FIBOCOM 8 9 10 6 2 1 CCLK Read Set System Date and Time essssessssescsseccssecsseecsseessseecssecessescsneccsseecsseessseesseesuseessees 75 SINS cezsscczcssscecstsccanes co asasecusceensatecavesszenseacoasasesavatctenacactes A
116. estricted but call type recognized as voice G5 Family AT Command User Manual Page 46 of 203 Bs FIBOCOM 5 1 11 CHLD Call Related Supplementary Services Command This command controls the Call Hold and Multiparty Conversation services This command manipulates voice calls only The Set command allows the control of the following call related services e Call HOLD A call can be temporarily disconnected from the G5xx but the connection is retained by the network e MTPY Multi party Conversation Conference calls The network does not reserve more than one traffic channel for a mobile station therefore the G5xx can have only one call on hold at a time Note Only voice calls can be put on HOLD A precondition for the multi party service is that the G5xx is in control of one active call and one call on hold In this situation the G5xx can request the network to begin the MTPY Multi Party service Once a MTPY call is active remote parties may be added disconnected or separated removed from the MTPY call but remain connected to the served mobile subscriber The maximum number of remote parties is 5 In this command the term CALL refers to a single or MTPY call A single Active call is considered a MTPY call with one call index numbered as 1 Command Response Action CHLD lt n gt If the call is terminated NO CARRIER OK approve request was submitted If the call state is changed link split from active to h
117. et Data Network PDN The ITU V 25ter D Dial commands causes the ME to enter the ITU V 25ter Online Data state and together with the terminal to start the specified layer 2 protocol The ME returns CONNECT to confirm acceptance of the command prior to entering the ITU V 25ter Online Data state No further commands may follow on the AT command line The detailed behavior after the Online Data state has been entered is dependent on the PDP type and is described briefly GPRS attachment and PDP context activation procedures may take place prior to or during the PDP startup if they have not already been performed using the CGATT and CGACT G5 Family AT Command User Manual Page 162 of 203 Bs FIBOCOM commands When the layer 2 protocols have terminated either as a result of an orderly shutdown of the PDP or an error the ME enters the ITU V 25ter command state and returns the NO CARRIER final result code If lt called address gt is supported and provided the ME automatically sets up a virtual call to the specified address after the PDP context has been activated If lt L2P gt and lt cid gt are supported the CGDCONT CGQREQ and other such commands may then be used in the modem initialization AT command string to set values for PDP type APN QoS and so on If lt L2P gt is not supported or is supported but omitted the ME uses a layer 2 protocol appropriate to the PDP type If lt cid gt is not supported or is supported bu
118. f 203 Bs FIBOCOM quest Reference Description Length lt sca gt Service Center address 1 3 12 BYTES 1 BYTE length number of followed octets Mandatory When length is 1 1 BYTE lt tosca gt value between 128 255 length BYTE 0 lt fo gt First Octet 1 BYTE lt TP MR gt Message Reference An integer representation of a reference 1 BYTE number of the SM submitted to the SC by the MS Values between 0 255 lt TP PID gt Protocol Identifier Values between 0 255 1 BYTE lt TP CT gt Command Type 1 BYTE lt TP MN gt Message Number 1 BYTE lt TP DA gt Destination address formatted according to the formatting 2 12 BYTES rules of address fields Reference Description Length lt TP CDL gt Command data length 1 BYTE lt TP CD gt Command data 0 156 BYTES Bit s Reference Description 0 1 Message Type Indic Parameter describing the message type ator 0 1 SMS SUBMIT in the direction MS to SC 2 TP Reject Duplicates Parameter indicating whether or not the SC shall accept an SMS SUBMIT for an SM still held in the SC which has the same MR and the same DAas a previously submitted SM from the same OA 0 Instruct the SC to accept an SMS SUBMIT as mention above 1 Instruct the SC to reject SMS SUBMIT as mention above In this case an appropriate TP FCS value will be returned in the MS SUBMIT REPORT 3 4 TP Validity Period Fo Parameter indicating
119. ge 81 of 203 Bs FIBOCOM 0481ABCD1211640A8150224902450000A700 SCA read as stored for current SMS OK AT CSCA CSCA A C 129 Read command remained SCA settings didn t change OK AT CSCA CSCA A C 129 OK AT CMGW gt 0011640A8150224902450000A700 CMGW 16 OK AT CMGR 16 CMGR 2 13 0481 CAEDFB11640A8150224902450000A700 SCAis ACDEBin pdu mapped to ABC OK AT CMGW 13 gt 0381AB1211640A8150224902450000A700 Set SCA to BA21 CMGW 17 OK AT CMGR 17 CMGR 2 13 0381AB1211640A8150224902450000A700 SCAis set correctly only for current SMS but CSCA setting didn t changed OK AT CSCA CSCA A C 129 SCAdidn t change in storage OK G5 Family AT Command User Manual Page 82 of 203 Bs FIBOCOM 7 1 4 CSMP Set Text Mode Parameters This command is a basic command and is used to select values for additional parameters needed when SM is sent to the network or placed in storage when TEXT mode is selected Command Syntax Response Action Remarks Set CSMP lt fo gt lt OK The set command selects values for vp gt L lt pid gt lt dc or additional parameters needed when SM is s gt CMS ERROR lt err gt sent to the network or placed in storage when text format message mode is selected Read AT CSMP CSMP The read command returns the current lt fo gt lt vp gt lt pid gt lt d parameters value cs gt OK Test AT CSMP OK The test command ju
120. gt Example lt CR gt lt LF gt CSQ 99 99 lt CR gt lt LF gt lt CR gt lt LF gt OK lt CR gt lt LF gt The Unsolicited results code is same as the Results code 2 5 Command Syntax Execute command syntax AT Xxx ATXxx ATXxx Parameter set command syntax AT xxx lt Value gt ATxxx lt Value gt Parameter read Command syntax AT Xxx ATXxx Parameter test Command syntax AT xxx ATXxx lt Value gt consists of either a numeric constant or a string constant lt compound_value gt consist of several lt value gt parameters separated by commas Example of compound_value lt value1 gt lt value2 gt lt valueN gt e Numeric Constants Numeric constants are expressed in decimal hexadecimal or binary form In the G5xx the definition of each command specifies which form is used for values associated with that command e String Constants G5 Family AT Command User Manual Page 13 of 203 Bs FIBOCOM String constants consist of a sequence of characters bounded at the beginning and end by the double quote character G5 Family AT Command User Manual Page 14 of 203 Bs FIBOCOM 3 Modem ID These commands allow the user to query the type of device that is attached the technology used in the device as well as basic operating information about the G5xx 3 1 CGMI GMI FMI Request Manufacturer ID These commands display manufacturer identification The G5xx outputs a string
121. gt Read The Read command for CMGD is not defined by ETSI and therefore is not supported by the G5xx The G5xx returns an error Test CMGD CMGD list of The Test command displays the supported valid lt index gt s list values of lt n gt of valid lt deflag gt s The following table shows the CMGD parameters lt Parameter gt Description lt index gt 1 352 Index in the SMS memory of the message to be deleted lt delflag gt 0 Deletes the message specified in lt index gt 1 Deletes all read messages 2 Deletes all read messages and sent MO messages 3 Deletes all read messages sent and unsent MO messages 4 Deletes all messages Example AT CMGD 4 OK AT CMGD 1 3 OK G5 Family AT Command User Manual Page 108 of 203 Bs FIBOCOM 7 1 15 CMGS Send SM to Network This command sends an SM from the G5xx to the network The message reference value lt mr gt is returned to the G5xx upon successful delivery of the message Valid lt toda gt will be any value from 128 to 255 The header parameters in TEXT mode will be set according to CSMP settings PDU is entered lt ctrl Z ESC gt Command Syntax Response Action Remarks Set If text mode CMGF 1 CMGS lt mr gt The Set command CMGS lt da gt lt toda gt lt CR gt text OK validates the input is entered lt ctrl Z ESC gt or parameters sends the SM If PDU mode CMGF 0 CMGS ERROR to network and repor
122. gt lt dt gt lt st gt lt CR gt lt LF gt CMGL lt index gt lt stat gt lt fo gt lt mr gt lt ra gt lt tora gt lt sct s gt lt dt gt lt st gt In PDU mode CMGF 0 CMGL lt index gt lt stat gt lt alpha gt lt length gt lt CR gt lt LF gt lt pdu gt lt CR gt lt LF gt CMGL lt index gt lt stat gt lt alpha gt lt length gt lt CR gt lt LF gt lt pdu gt Or CMS ERROR lt err gt Test CMGL CMGL list of supported lt stat gt s The Test MMGL command lists all the supported lt stats gt The following table shows the CGML MMGL parameters lt Parameter gt Description lt index gt 1 352 Index of message in storage lt stat gt Status of message in memory PDU mode Text mode Description 0 REC UNREAD Received unread messages default 1 REC READ Received read messages 2 STO UNSENT Stored unsent messages 3 STO SENT Stored sent message 4 ALL All messages lt oa da gt Original destination address lt data gt Message contents in text mode In PDU mode Size of message in octets excluding SMSC data In TEXT mode Number lt length gt of characters included in lt data gt Message header and contents in PDU mode format See description in CMGR Read apei Message G5 Family AT Command User Manual Page 93 of 203 Bs FIBOCOM
123. gt the G5xx Test AT CPAS CPAS list of supported lt pas gt s OK The following table shows the CPAS parameters lt Parameter gt Description lt pas gt 0 Ready The G5xx allows commands from the terminal 1 unavailable MT does not allow commands from TA TE 2 Unknown The G5xx is not guaranteed to respond to instructions 3 Ringing MT calls The G5xx is ready for commands from the terminal but the ringer is active 4 Call in progress The G5xx is ready for commands from the terminal but a call is in progress 5 Asleep MT is unable to process commands from TA TE because it is in a low functionality state Example AT CPAS CPAS 0 OK AT CPAS G5 Family AT Command User Manual Page 57 of 203 Bs FIBOCOM CPAS 0 5 OK AT CPAS CPAS 4 OK AT CPAS Voice call active state CPAS 4 OK 5 2 2 CLCC List Current Calls This command displays a list of all current G5xx calls and their statuses and also enables disables the unsolicited indication of the call list If no calls are received no information response is sent to the terminal If the command succeeds but no calls are available no information response is sent to the terminal The maximum number of simultaneous multiparty calls is 5 1 5 in active group and 1 on hold Command Syntax Response Action Remarks Set AT CLCC lt s OK The Set command tate gt or enables dis
124. gt Type of address octet in integer format refer to GSMO04 08 8 subclause 10 5 4 7 lt subaddr gt String type subaddress of format defined by lt satype gt lt satype gt Type of subaddress octet in integer format refer to GSM 04 08 8 subclause10 5 4 8 9 Deflected call No mobile terminated call setup G5 Family AT Command User Manual Example AT CSSN test command CSSN 0 1 0 1 OK AT CSSN 0 0 disable both options OK AT CSSN 1 0 setn value as enabled m disabled OK AT CSSN CSSN 1 0 display the current n amp m values OK Page 62 of 203 Bs FIBOCOM CSSI 1 displayed after mobile originated call setup of call forward and n enable CSSU 2 displayed when a call has been placed on hold during the call using the CHLD AT command and m enable 5 3 2 CUSD Unstructured Supplementary Service Data This command allows control of Unstructured Supplementary Service Data US SD according to GSM 02 90 Both network and mobile initiated operations are supported Parameter lt n gt is used to disable enable the presentation of an unsolicited result code USSD response from the network or network initiated operation CUSD lt m gt lt str gt lt dcs gt to the TE In addition value lt n gt 2 is used to cancel an ongoing USSD session When lt str gt is given a mobile initiated USSD string or a response USSD string to a network initiated operation is sent to the network The respo
125. gth data the data will be push automatic ERROR and returns to regular AT command mode Notes The redundant data will be lost Example Opening socket 2 already AT MIPSEND 2 10 gt 0123456789abc OK MIPPUSH 2 0 MIPSEND 2 0 2048 OK 13 2 4 GTSET HEX mode configuration Command Syntax Response Action Set GTSET lt future gt lt value gt OK or ERROR The following table shows the GTSET parameters related HEX mode lt Parameter gt Description lt future gt SENDTIME Set the auto push timeout lt value gt 1 30 seconds The default value is 12 lt future gt IPRFMT The format of received data lt value gt 0 Received data with MIPRTCP and the data is incode 1 Received data only and the data is without incode In received character string G5xx don t accede to any lt CR gt lt LF gt symbol 2 Received data with MIPRTCP and the data is without incode In G5 Family AT Command User Manual Page 195 of 203 Bs FIBOCOM received character string G5xx will accede to lt CR gt lt LF gt before MIPRTCP The default value is 0 Example Opening socket 2 already AT GTSET IPRFMT 0 OK AT MIPSEND 2 10 gt 0123456789abc OK MIPPUSH 2 0 MIPSEND 2 0 2048 OK lt CR gt lt LF gt MIPRTCP 2 0 30313233343536373839 lt CR gt lt LF gt Sameas basic mode AT GTSET IPRFMT 1 OK AT MIPSEND 2 10 gt 0
126. gth or character invalid character in text timer expired Invalid text mode parameter G5 Family AT Command User Manual Page 201 of 203 Bs FIBOCOM 14 3 TCP IP Error Parameter Description lt Err gt 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 TCPIP Param wrong TCPIP not supported in ppp mode TCPIP dns convert to ip fail TCPIP socket number limited TCPIP invalid operation TCPIP protol error TCPIP send data too long TCPIP send data memory failed TCPIP service not in correct state TCPIP pdp not defined TCPIP new socket failed TCPIP socket bind fail TCPIP socket connect fail TCPIP socket send fail TCPIP socket close fail TCPIP get socket receive buffer failed TCPIP receive data failed TCPIP socket used TCPIP get send buffer size failed TCPIP socket send data failed TCPIP socket send data size limited TCPIP socket set listening mode failed TCPIP socket listen fail TCPIP socket error TCPIP socket not opened TCPIP tcp stack configure failed TCPIP socket no data to send TCPIP socket send invalid data state TCPIP socket close client TCPIP ping error TCPIP ppp not connected TCPIP mipcall not active TCPIP etcpip not active TCPIP socket flow control G5 Family AT Command User
127. he G5xx supports a low power consumption mode called Sleep mode The G5xx has internal decision conditions for entering and exiting sleep mode As the terminal and the G5xx operate in a combined system and as the communication between the G5xx and the terminal must be reliable there should be a mechanism agreed upon by both the G5xx and the terminal to coordinate their separate sleep mode entering and exiting sequences The G5xx will not enter sleep mode unless the terminal enables the G5xx by AT commands The following are the Sleep mode AT commands ATS24 Activates deactivates Sleep mode The G5xx receives a request to activate or deactivate Sleep mode The G5xx receives a request to define the behavior of the CTS line when the G5xx is in Sleep mode It enables or disables activation of the CTS line after wakeup 4 2 1 S24 Set Number of Seconds Delay Before G5xx Enters Sleep Mode This command activates disables the Sleep mode The terminal sends ATS24 5 and if there are no radio and UART activities the G5xx enters sleep mode in 5 seconds it can see Command Syntax Response Action Remarks Set ATS24 lt value gt OK The Set command sets the amount of time in seconds the G5xx should wait before entering Sleep mode Read ATS24 lt value gt The Read command returns the OK current value G5 Family AT Command User Manual Page 32 of 203 Bs FIBOCOM The following table shows the 24 par
128. hone number lt toda gt Type of DA Value range is 128 255 according to GSM 03 40 9 1 2 5 If this field is not given and first character of lt da gt is lt toda gt will be 145 otherwise 129 lt stat gt Status of new message In text mode STO UNSENT default or STO SENT In PDU mode 2 default or 3 lt length gt Size of message in PDU mode format in octects excluding SMSC data lt index gt 1 352 Index in storage of the stored message lt PDU gt Message header and contents in PDU mode format See description in the tables below Reference Description Length lt sca gt Service Center address 1 3 12 BYTES 1 BYTE length number of followed octets Mandatory When length is 1 1 BYTE lt tosca gt value between 128 255 length BYTE 0 lt fo gt First Octet See the table below 1 BYTE lt TP MR gt Message Reference An integer representation of a reference 1 BYTE number of the SM submitted to the SC by the MS Values between 0 255 lt TP DA gt Destination address formatted according to the formatting 2 12 BYTES rules of address fields lt TP PID gt Protocol Identifier Values between 0 255 1 BYTE lt TP DCS gt Data Coding Scheme Values between 0 255 1 BYTE lt TP VP gt Validity Period Depending on lt fo gt TP Validity Period Format 0 1 7 BYTE bits setting lt TP UDL gt User data length 1 BYTE lt TP UD gt User data 0 140 BYTES G5 Family AT Command User Manual Page 103 o
129. ication active 2 ACK indication active e Default value 0 This parameter resets after power cycle G5 Family AT Command User Manual Page 181 of 203 Bs FIBOCOM Example AT MIPCONF 2 5 10 600 75 2 OK AT MIPOPEN 2 0 66 249 87 99 80 0 OK MIPOPEN 2 1 AT MIPSETS 2 10 MIPSETS 0 OK AT MIPSEND 2 474554202F20485454502F312E300D0A486F73743A207777772E676F 6F676C65 2E636F6DODOA0DOA MIPPUSH 2 0 40 MIPSEND 2 0 2048 OK MIPXOFF 2 AT MIPSEND 2 474554202F20485454502F312E300D0A486F73743A207777772E676F 6F676C65 2E636F6DODOA0DOA MIPSEND 2 1 1372 OK MIPSTAT 2 0 30 MIPXON 2 MIPSTAT 2 0 40 MIPRTCP 2 530 485454502F312E312033303220466F756E640D0A4C6F 6361 74696F6E3A20687474703A2F2F777 7772E676F 6F676C652E636F 2E696C2F 63786665 723F633D505245462533443A544D253344313131393 5 MIPRTCP 2 450 3 1343833323A5325334467384A63763 1426A5458472D30636A5926707265763D2FO0D0A536574 2D436F6F6B69653A20505245463D49443D363930376262383735313862663233373A43523D313A544 D3D MIPRTCP 2 370 313131393531343833323A4C4D3D3 1313139353 1343833323A533D644F6564767A6C34765F70 59475A384A3B2065 7870697265 733D53756E2C2031372D4A616E2D323033382031393A31343A3037 2047 MIPRTCP 2 290 4D543B20706174683D2F3B20646F6D61 696E3D2E676F 6F676C652E636F 6DOD0A436F6E74 656E742D547970653A20746578742F68746D6C0D0A5365727665723A204757532F322E3 10D0A436F6 G5 Family AT Command User Manual Page 182 of 203 Bs FIBOCOM E74656E MIPRTCP 2
130. ied TP PID error Data coding scheme alphabet not supported Message class not supported Unspecified TP DCS error Command cannot be actioned Command unsupported Unspecified TP Command error TPDU not supported SC busy No SC subscription SC system failure Invalid SME address Destination SME barred SM Rejected Duplicate SM TP VPF not supported TP VP not supported DO SIM SMS storage full No SMS storage capability in SIM Error in MS Memory Capacity Exceeded SIM Application Toolkit Busy SIM data download error Unspecified error cause ME failure SMS service of ME reserved Operation not allowed Operation not supported Invalid PDU mode parameter G5 Family AT Command User Manual Page 200 of 203 Bs FIBOCOM 305 310 311 312 313 314 315 316 317 318 320 321 322 330 331 332 340 500 512 513 514 515 516 517 518 519 520 512 SIM not inserted SIM PIN required PH SIM PIN required SIM failure SIM busy SIM wrong SIM PUK required SIM PIN2 required SIM PUK2 required Memory failure Invalid memory index Memory full SMSC address unknown no network service Network timeout NO CNMA ACK EXPECTED Unknown error User abort unable to store invalid status invalid character in address string invalid length invalid character in pdu invalid parameter invalid len
131. indtext gt CPBF lt index1 gt lt number gt lt type gt lt text gt lt CR gt lt LF gt CBPF lt index2 gt lt number gt lt type gt lt text gt OK or CME ERROR lt err gt Test AT CPBF CPBF lt nlength gt lt tlength gt OK G5 Family AT Command User Manual Page 72 of 203 Bs FIBOCOM The following table shows the CPBF parameters lt Parameter gt Description lt findtext gt Case sensitive text substring to search for according to the character set specified by the CSCS command lt index1 gt Index for a given phone book entry lt index2 gt lt number gt Phone number of a given entry lt type gt The address type of a phone number 129 Use for local call 145 Use for international access code 128 Unknown Note 128 is used to represent an email address or a mailing list In this case lt ph_type gt can be used to further differentiate between the two lt text gt Text identifier for a phone book entry that starts with the substring lt findtext gt according to the character set as specified by command CSCS Example AT CPBS SM Selecting phone book OK AT CPBF Lin CPBF 1 18888888 129 Linzhao OK AT CPBF Voice Searching for string Voice and finding Voice Mail CPBF 2 8613800138000 145 Voicemail OK AT CPBF Searching for everything in phone book and finding all entries CPBF 1 18
132. ink voice is muted OK AT CMUT CMUT 1 OK AT CMUT 2 CME ERROR lt err gt 11 2 4 S94 Sidetone Effect This command reduces the microphone audio input that is routed to the selected speaker so that people speaking will hear themselves talking Command Syntax Response Action Remarks Set ATS94 lt n gt OK The Set command sets the sidetone or status CME ERROR lt err gt Read ATS94 S 94 lt n gt The Read command returns the OK sidetone status The following table shows the S94 parameters lt Parameter gt Description lt n gt 0 7 Sidetone range 0 is lowest sidetone not mute The default value is 004 G5 Family AT Command User Manual Page 147 of 203 Bs FIBOCOM 11 2 5 96 Echo Canceling This command suppresses a large amount of the output sound pic ked up by the input device cancels all echo Command Syntax Response Action Remarks Set ATS96 lt n gt OK The Set command sets the echo or canceling status CME ERROR lt err gt Read ATS96 S96 lt n gt The Read command returns the echo OK canceling status The following table shows the S96 parameters lt Parameter gt Description lt n gt 0 7 echo canceling range 0 is lowest echo canceling not mute The default value is 004 11 2 6 CALM Alert Sound Mode This command handles the selection of the G5xx s Call and SMS alert sound mode The
133. iously opened using the MIPOPEN command MIPFLUSH 2 OK G5 Family AT Command User Manual Page 177 of 203 Bs FIBOCOM AT MIPFLUSH 5 ERROR AT MIPFLUSH MIPFLUSH 1 2 OK 13 1 8 MIPRUDP Receive Data from UDP Protocol Stack This unsolicited event is sent by the G5xx to the terminal when data is received from the UDP protocol stack Set Command Event MIPRUDP lt Source_IP gt lt Source_Port gt lt socket_ID gt lt Left gt lt Data gt The following table shows the MIPRUDP parameters lt Parameter gt Description Source_IP IP of the source Source_Port Port of the source Socket_ID 1 2 3 4 Number of valid sockets Left Size of received Data still left in protocol stack Data Data string received with 0 F hexadecimal digits String ends with a lt CR gt Example MIPRUDP 172 16 3 135 222 2 0 44444444 13 1 9 MIPRTCP Receive Data from TCP Protocol Stack This unsolicited event is sent by the G5xx to the terminal when data is received from the TCP protocol stack Set Command Event MIPRTCP lt socket_ID gt lt Left gt lt Data gt The following table shows the MIPRTCP parameters lt Parameter gt Description Socket_ID 1 2 3 4 Number of valid sockets Left Size of received Data still left in protocol stack Data Data string received with 0 F hexadecimal digits String ends with a lt CR gt Example G5 Family AT Command User Manu
134. is lt status gt will be sent to DTE upon completion of ping request If ping request was aborted or socket connection was terminated for any reason this unsolicited response will not be reported to DTE 1 The unsolicited response with this lt status gt will be sent to DTE if no ICMP reply message was received within timeout 2 The unsolicited response with this lt status gt will be sent to DTE if socket connection was terminated for any reason This status essentially means that ping request execution was aborted 3 Flow Control OFF The unsolicited response with this lt status gt will be sent to DTE if phone doesn t have enough memory to process sending an Echo Request message 4 Flow Control ON The unsolicited response with this lt status gt will be sent to DTE if phone has enough memory to send an Echo Request message after flow control was OFF lt Destination_ IP gt lt SentMessage s gt Specifies the target machine computer for ping request which is identified by IP address 4 octets long in dotted decimal notation Each octet of IP address has valid value range of 0 to 255 Specifies a total number of sent Echo Request messages lt ReceivedMes sages gt Specifies a total number of received Echo Reply messages corresponding to Echo Request messages lt AvarageRTT gt Specifies average Round Trip Time RTT for this ping request This value will be reported if and only if lt
135. is not acknowledged and the timeout has expired the new SM is saved in the message storage and CNMI parameter lt mt gt is set to 0 Example AT CNMI 1 2 OK AT CSDH 1 OK AT CMSS 142 054565034 send to myself CMSS 74 OK CMT 972544565034 04 11 04 09 48 36 08 145 4 0 0 97254120032 145 3 ABC AT CNMA OK AT CMGF 0 OK AT CMGS 18 send to myself gt 079179521201009511000c91 7952446505430004AA0441424344 CMGS 70 OK CMT 23 0791795212010095040C91 7952446505430004502032115430800441424344 7 1 9 CDS Unsolicited Response New SMS STATUS REPORT Receipt The CDS unsolicited response is sent to the TE upon receipt of anew mobile terminated SM if the CNMI parameter lt ds gt is set to 1 This unsolicited message displays the received SMS DELIVER message Unsolicited Response In text mode CMGF 1 CDS lt fo gt lt mr gt lt ra gt lt tora gt lt scts gt lt dt gt lt st gt lt CR gt lt LF gt In PDU mode CMGF 0 G5 Family AT Command User Manual Page 90 of 203 Bs FIBOCOM CDS lt length gt lt CR gt lt LF gt lt pdu gt The following table shows the CDS parameters lt Parameter gt Description lt fo gt First octet of the SM lt mr gt Message Reference lt ra gt Message Recipient address lt tora gt Type of Recipient address lt scts gt Service center time stamp lt dt gt Discharge Time lt st gt Status Af
136. ize is calculated from the 2048 0 lt Free Size lt 2048 lt Data gt User data string is sent encoded with 0 F hexadecimal digits String ends with a lt CR gt Example Socket 4 was not opened using MIPOPEN AT command AT MIPSEND 4 4444 ERROR AT MIPSEND 1 4444 MIPSEND 1 0 2046 OK AT MIPSEND ERROR AT MIPSEND MIPSEND 1 2048 MIPSEND 2 2048 OK G5 Family AT Command User Manual 2048 2 chars DD 2046 Sockets 1 and 2 were opened using MIPOPEN AT command Page 175 of 203 Bs FIBOCOM 13 1 6 MIPPUSH Push Data into Protocol Stack This command causes the G5xx to push the data accumulated in its accumulating buffers into the protocol stack It is assumed that before using this command some data should exist due to previous MIPSEND commands Command Syntax Response Action Remarks Set MIPPUSH lt Socke MIPPUSH Optional parameters are used only for t_ID gt lt Destinatio lt Socket_ID gt lt Status UDP connections If the Destination IP n_IP gt lt Destination gt lt accumulated_sen and Destination Port are not provided by _Port gt t_length gt the user a datagram is sent to the last OK target or the default target provided by or the MIPOPEN command ERROR lt accumulated_sent_length gt this parameter counts how many bytes were sent to the remote side by the G5xx TCP IP stack When user open socket lt accumulated_sent_length gt initialized to z
137. ks Set VTD lt n gt OK The Set command sets the tone or duration CME ERROR lt err gt Read VTD VTD lt n gt The Read command displays the OK current tone duration Test VTD VTD list of supported The Test command displays the list of lt n gt s supported tone durations OK The following table shows the VTD parameters lt Parameter gt Description lt n gt Defines the length of tones emitted by the VTS command 1 255 200mS to 1S adjustable 11 2 8 VTS Command Specific Tone Duration This command transmits a string of DTMF tones when a voice call is active DTMF tones may be used for example when announcing the start of a recording period The duration does not erase the VTD duration Note In GSM the tone duration value can be modified depending on the specific network If the active call is dropped in the middle of playing a DTMF tone the following unsolicited message transfers to TE VTS Call termination stopped DTMF tones transmission Command Syntax Response Action Remarks Set VTS lt DTMF gt OK The Set command sets the tone lt duration gt or and duration if entered CME ERROR lt err gt Test VTS VTS list of supported The Test command displays the lt DTMF gt list of supported list of supported DTMF tones and lt durations gt s tone lengths OK G5 Family AT Command User Manual Page 149 of 203 Bs
138. l setup result codes When several different notifications are received from the network each of them receives its own CSSI result code When lt m gt 1 and a supplementary service notification is received during a mobile terminated call setup or during a call or when a forward check supplementary service notification is received the unsolicited result code CSSU is sent to the TE In case G5 Family AT Command User Manual Page 60 of 203 Bs FIBOCOM of a mobile terminated call setup a CSSU is sent after every CLIP result code CLIP Calling Line Identification When several different events are received from the network each of them receives its own CSSU result code Note The values for lt n gt and lt m gt are not saved after power cycle Read CSSN CSSN lt n gt lt m gt The Read command displays the current OK supplementary service notification setting Test CSSN CSSN 0 1 0 1 The Test command displays the list of supported CSSN OK values The following table shows the CSSN parameters lt Parameter gt Description lt n gt Sets displays the CSSI result code presentation status This value must be specified 0 Disable default 1 Enable lt m gt Sets displays the CSSU result code presentation status This value is optional but cannot be specified without lt n gt 0 Disable default 1
139. list the G30 returns lists of the supported lt mode gt s and lt format gt s These lists are separated from the operator list by two commas The following table shows the COPS parameters lt Parameter gt Description lt format gt The operator format type The default value is 0 0 Long alphanumeric 1 Short alphanumeric 2 Numeric lt mode gt Determines whether what is displayed is defined by lt oper gt or is done automatically by the G5xx 0 Automatic lt oper gt field is ignored 1 Manual lt oper gt field is present 2 De register from network 3 Set only lt format gt lt oper gt field is ignored used for Read command only do not attempt registration deregistration 4 Manual automatic lt oper gt field is present if manual selection fails use automatic mode The default value is 0 lt stat gt 0 Unknown 1 Available 2 Current 3 Forbidden G5 Family AT Command User Manual Page 125 of 203 Bs FIBOCOM lt Parameter gt Description lt oper gt Operator name displayed The long alphanumeric format can be up to 16 characters long The short alphanumeric format can be up to 8 characters long The numeric format is the GSM Location Area Identification number refer to GSM 04 08 8 subclause 10 5 1 3 consisting of a three BCD digit country code as per ITU T E 212 Annex A 10 plus a two BCD digit network code which is administration specific The ret
140. lt LF gt CPOL lt index2 gt lt format gt lt ope r2 gt OK or CME ERROR lt err gt Test AT CPOL CPOL list of The Test command displays the entire supported lt index gt s list index range supported by the SIM of supported lt format gt s OK or CME ERROR lt err gt Index range is SIM dependent G5 Family AT Command User Manual Page 127 of 203 Bs FIBOCOM The following table shows the CPOL parameters lt Parameter gt Description lt indexn gt Order number of network operator in the SIM preferred operator list lt format gt Defines the lt oper gt format 0 Long alphanumeric format up to 16 characters default 1 Short alphanumeric format up to 8 characters 2 Numeric lt oper gt Name of the network operator Note1 If lt index gt is given but lt oper gt is left out entry is deleted If lt oper gt is given but lt index gt is left out lt oper gt is put in the next free location If only lt format gt is given the format of the lt oper gt in the read command is changed Note2 User is prevented from editing index No 0 This index is reserved for the HPLMN record and can not be modified When entering a new item with an lt index gt to a full list the G5xx deletes the last item stores the new item in the requested entry and shifts the rest of the list down When entering a new item without an lt index gt to a full list the G5xx replaces th
141. lt rate gt value other than 9 and 0 disables the auto baud rate detection feature The entered baud rate is stored in the G5xx and is restored after power up The G5xx supports up to 57600 auto baud Note IPR is similar to CBAUD but with the ability to save The baud rate after ATZ or AT amp F is the last baud rate that was set by IPR or CBAUD Command Syntax Response Action Set IPR lt n gt OK IPR lt rate gt or CME ERROR lt err gt Read IPR IPR lt rate gt OK Test IPR IPR list of supported lt rate gt s OK Note Read mode returns the current baud rate snd not the value that was set by Set Mode The following table shows the IPR parameters lt Parameter gt Description 1 2400 2 4800 3 9600 4 14400 5 19200 6 28800 7 33600 8 38400 10 57600 11 115200 12 230400 13 460800 The default value is 115200 G5 Family AT Command User Manual Page 132 of 203 Bs FIBOCOM Example AT IPR 5 OK AT IPR IPR 19200 OK AT IPR IPR 1 8 10 15 2400 4800 9600 14400 19200 28800 33600 38400 57600 115200 230400 460800 OK 10 1 4 amp K RTS CTS Flow Control This command configures the flow control The RTS Request To Send is an input line The RTS signal is received from the terminal and a low condition indicates that the G5xx can send more data The CTS Clear To Send is an output line The CTS signal
142. lt sca gt Service Center Address lt tosca gt Type of Service Center Address G5 Family AT Command User Manual Page 96 of 203 Bs FIBOCOM Validity Period Either in integer format or in time string format yy MM dd hh mm lt vp gt ss zz lt mr gt Message reference lt scts gt Service center time stamp lt ct gt Command type lt sn gt Message serial number lt mn gt Message Number lt cdata gt Command Data lt mid gt Message ID lt page gt Current page number lt pages gt Total number of pages lt mr gt Message reference lt ra gt Message Recipient address lt tora gt Type of Recipient address lt scts gt Service center time stamp lt dt gt Discharge Time lt st gt Status Reference Description Length lt sca gt Service Center address 1 3 12 BYTES 1 BYTE length number of followed octets When length is 1 length BYTE 0 Mandatory 1 BYTE lt tosca gt value between 128 255 lt fo gt First Octet 1 BYTE lt TP OA gt Originating address formatted according to 2 12 BYTES the formatting rules of address fields lt TP PID gt Protocol Identifier Values between 0 255 1 BYTE lt TP DCS gt Data Coding Scheme Values between 0 255 1 BYTE lt TP SCTS gt The TP Service Center Time 7 BYTE Stamp field is given in semi octet representation and represents the local time as
143. mily AT Command User Manual Page 111 of 203 Bs FIBOCOM 8 1 3 CPIN Enter PIN for Unlocking SIM Card or Enter PUK for Unblocking SIM Card This command locks the SIM card and therefore is only relevant for phones that use SIM cards It unlocks the SIM card when the proper SIM PIN is provided and unblocks the SIM card when the proper SIM PUK is provided The SIM card is unlocked only once the provided pin is verified as the SIM PIN If the required PIN determined by the error code returned from the requested operation or the Read command is SIM PUK or SIM PUK2 the second pin is required This second pin lt newpin gt is used to replace the old pin in the SIM card When entering the pin a lt new pin gt is not required A SIM card related error is returned if an AT command operation is unsuccessful due to a SIM card problem The following table shows the SIM card errors Error Description 10 SIM not inserted SIM Card is not inserted 11 SIM PIN required SIM Card waiting for SIM PIN to be entered 12 SIM PUK required SIM PIN is blocked 13 SIM failure SIM Card is permanently blocked 17 SIM PIN2 required SIM Card is waiting for SIM PIN2 to be entered 18 SIM PUK2 required SIM PIN2 is blocked Command Syntax Response Action Remarks Set AT CPIN OK The Set command sends the password to the G5xx lt puk gt or that is necessary before it can be operated SIM PIN or CM
144. minal to Network and vice versa over a GPRS channel Currently only RS232 connection to terminal with hardware flow control is supported Each socket allocates an accumulating buffer whose size is 1372 bytes When the user sends amount of data less then buffer size the data is being sent to Network after a spooling timeout 200 mS otherwise the data is being sent to Network immediately Only one socket is allowed at the same time in Online Data Mode The MIPODM command returns a MIPSTAT lt Socket_ID gt lt Error gt unsolicited event if it fails For example if it was rejected by the remote side Command Syntax Response Action Remarks Set AT MIPODM OK The Set command returns lt Socket_ID gt lt Source or lt Remote IP gt and Port gt lt Remote IP gt MIPODM lt Socket_ID gt lt State gt lt Remote Port gt lt Remote Port gt lt Remote IP gt lt Remote Port gt parameters only for lt Protocol gt or sockets opened in Listen lt Pseudo Command MIPSTAT lt Socket_ID gt lt Status gt mode Mode On Off gt or ERROR lt err gt Read AT MIPODM MIPODM lt Socket_ID gt When a socket opens in for each socket that can be Online Data Mode the opened command returns actual or Socket_ID value a d 1 MIPODM 0 0 value active G5xx will be if there are no free sockets in pseudo command G5 Family AT Command User Manual Page 190 of 203 Bs FIBOCOM mode for recei
145. n or parameters and response data CME ERROR lt err gt Test AT CRSM CRSM The test command returns the list of possible ranges of CRSM supported lt commands gt s Parameters G5 Family AT Command User Manual Page 27 of 203 Bs FIBOCOM possible lt file_id gt s range value possible lt P1 gt range value possible lt P2 gt range value possible lt P3 gt range value OK or CME ERROR lt err gt The following table shows the CRSM parameters lt Parameter gt Description lt command gt Integer type Command passed on by the ME to the SIM 176 Read BINARY 178 Read RECORD 192 Get RESPONSE 214 Update BINARY 220 Update RECORD 242 STATUS lt file_id gt Integer type This is the identifier of a elementary data file on SIM Mandatory for every lt command gt except of STATUS lt P1 gt lt P2 gt lt P3 gt Integer type Parameters passed on by the ME to the SIM These parameters are man datory for every command except GET RESPONSE and STATUS READ BINARY lt P1 gt Offset high 0 255 lt P2 gt Offset low 0 255 lt P3 gt Length 0 255 READ BINARY lt P1 gt Rec No 0 255 lt P2 gt Mode 02 next record 03 previous record 04 absolute mode current mode the record number is given in P1 with P1 00 denoting the current record lt P3 gt Length 0 255 GET RESPONSE lt P1 gt 00 lt P2 gt 00 G5 F
146. nable PIN FD SIM Fixed Dialing memory setting lt mode gt 0 Disable fixed dialing feature 1 Enable fixed dialing feature lt passwd gt String type 4 8 character password lt mode gt 0 Unlock 1 Lock 2 Query status lt passwd gt does not apply Note Query mode return only the active lt fac gt In case no lt fac gt is active the query will return the default 7 lt class gt Sum of integers each representing a class of information lt class gt Only applies to call barring related facilities The default value is 1 1 Voice telephony 8 SMS Short Message Services lt status gt 0 Inactive 1 Active G5 Family AT Command User Manual Page 118 of 203 Bs FIBOCOM Example AT CLCK CLCK SC FD OK AT CLCK SC 2 CLCK 0 OK AT CLCK SC 1 CME ERROR operation not allowed AT CLCK SC 1 incorrect password CME ERROR incorrect password AT CLCK SC 1 correct password OK From now SIM Card is locked and PIN is requested on power up AT CLCK AB 0 incorrect password CME ERROR incorrect password AT CLCK IR 2 CLCK 0 1 CLCK 0 8 OK AT CLCK IR 1 correct password lt classx gt is defaulted to 1 when not specified OK AT CLCK IR 2 CLCK 1 1 CLCK 0 8 OK AT CLCK 0I 1 correct password 3 OK Voice and data international calls barred fax and SMS not barred AT CLCK Ol 2 CLCK 1 1 CLCK 0 8 OK G5 Family AT Command User Manual Page 119 of 203 Bs FIBOCOM
147. nal result code instead of the regular ERROR final result G5 Family AT Command User Manual Page 33 of 203 Bs FIBOCOM Command Syntax Response Action Remarks Set AT CMEE lt n gt OK The Set command enables or disables the or use of result code CME ERROR lt err gt as CME ERROR an indication of an error relating to the lt err gt functionality of the G5xx Read AT CMEE CMEE lt n gt The Read command returns the current OK setting format of the result code Test AT CMEE CMEE list of The Test command returns values supported lt n gt s Supported by the terminal as a OK compound value The following table shows the CMEE parameters CME ERROR operation not allowed G5 Family AT Command User Manual lt Parameter gt Description lt n gt 0 Disable the CME ERROR lt err gt result code and use ERROR 1 Enable the CME ERROR lt err gt or CMS ERROR lt err gt result codes and use numeric lt err gt values or STK ERROR lt err gt result codes and use numeric lt err gt values 2 Enable the CME ERROR lt err gt or CMS ERROR lt err gt result codes and use verbose lt err gt values or STK ERROR lt err gt result codes and use numeric lt err gt values The default value is 0 Example AT CMEE 0 CME ERROR is not used OK AT VTD ERROR AT CMEE 1 Use numeric lt err gt OK AT VTD CME ERROR 3 AT CMEE 2 Use verbose lt err gt OK
148. ndex2 gt lt number gt Phone number of a given entry lt type gt The address type of a phone number 161 Use for local call 145 Use for international access code 129 Unknown 129 is used to represent an email address or a mailing list In this case lt ph_type gt can be used to further differentiate between the two lt text gt Text identifier for a phone book entry according to the character set as specified by command CSCS lt nlength gt The maximum number of digits in the lt number gt lt tlength gt The maximum number of characters in the lt text gt entry G5 Family AT Command User Manual Page 71 of 203 Bs FIBOCOM Note The MC and RC have the same memory storage area therefore there are only 10 entries in total Some of the entries are listed if the MC phone book is selected and others are listed if the RC phone book is selected The phone book selection is done using the AT CPBS command Example AT CPBS SM OK AT CPBR CPBR 1 250 20 14 OK At CPBR 1 OK AT CPBR 1 3 OK AT CPBR 4 CPBR 4 18888888 129 Tom OK There is nothing written in entry 1 2 3 6 1 3 CPBF Find Phone Book Entries This execution command enables the user to search for a particular entry by name in the currently active phone book If no matching entry is found the command returns OK If multiple matches are found all are returned Command Syntax Response Action Set CPBF lt f
149. nes the width of pulse can be set Command Syntax Response Action Remarks Set WRIM lt type gt lt w OK Set width idth gt or ERROR Read WRIM WRIM lt type gt lt width gt The read command returns the current OK parameter of RI pin or ERROR Test WRIM WRIM lt type gt lt width gt The test command displays the list of OK supported lt type gt and lt width gt values or ERROR The following table shows the WRIM parameters 1 2000 1 2000ms lt Parameter gt Description lt type gt 0 make effective on Call 1 make effective on SMS lt width gt 0 default value 0 1000 and 1 150 G5 Family AT Command User Manual Page 140 of 203 Bs FIBOCOM Example AT WRIM WRIM 0 1 0 2000 OK AT WRIM 1 1000 OK AT WRIM WRIM 0 1000 WRIM 1 1000 OK 10 1 12 MSMPD Enable Disable SIM Card Hot Plug This command can Enable Disable SIM card hot plug feature The default status is disable this feature The parameter will be saved in profile and can restore at power cycle Command Syntax Response Action Remarks Set AT MSMPD lt status gt OK Enable Dlasble SIM Or card hot plug CME ERROR lt err gt Read AT MSMPD MSMPD lt status gt Read the current status OK Test AT MSMPD MSMPD 0 1 OK The following table shows the MSMPD parameters lt Parameter gt Description
150. ng originating waiting or connected call ANO CARRIER message is returned to the terminal before the regular OK approval To terminate a held Voice call or to terminate a call out of a MTPY call refer to CHLD Call Related Supplementary Services Command The following table shows the call states of the H command Call State Response Action IDLE Error operation not allowed Single Active Call released MTPY Active Call released all calls Incoming call RING Call released Single Active and Waiting Call Single Active released waiting not affected MTPY Active and Waiting Call MTPY Active released waiting not affected Single or MTPY Active and Single or MTPY Held Single or MTPY Active released Held Single or MTPY and Waiting Call Waiting call released Single or MTPY Active and Single or MTPY Held amp Single or MTPY Active released Waiting call Example RING ncoming call RING Incoming call ath Hang up incoming call NO CARRIER OK Incoming call has been terminated user determined user busy RING ata OK Noice call connected G5 Family AT Command User Manual Page 39 of 203 Bs FIBOCOM ath Hang up connected call NO CARRIER OK Active call has been hung up terminated Active multi party call with 3 numbers ath NO CARRIER NO CARRIER NO CARRIER OK atd035659260 OK ath Terminate MO voice call while placed NO CARRIER O
151. nlocking actions but not for querying The features of the G5xx that are affected by this are the keypad power up operation and fixed dialing list When querying the status of a single call barring program lt mode gt 2 the lt status gt for each call type will be returned For lt fac gt SC SIM Card PIN setting and for lt fac gt FD SIM Fixed Dialing memory setting the lt class gt is irrelevant For more information about lt class gt refer to the following table shows the CLCK parameters The lt passwd gt for SC is SIM PIN and for FD it is SIM PIN2 G5 Family AT Command User Manual Page 117 of 203 Bs FIBOCOM Command Syntax Response Action Remarks Set CLCK lt fac For lt fac gt where lt class gt is irrelevant SC The Set command performs gt lt mode gt FD the specified lt mode gt action lt passwd gt l CLCK lt fac gt 2 on the specified lt fac gt lt classx gt CLCK lt status gt For lt fac gt with several supported lt class gt es CLCK lt fac gt 2 CLCK lt status gt lt class1 gt lt CR gt lt LF gt CLCK lt status gt lt class2 gt OK Read CLCK ERROR Test CLCK CLCK list of supported lt fac gt s The Test command returns the list of supported facilities The following table shows the CLCK parameters lt Parameter gt Description lt fac gt SC SIM Card PIN setting lt mode gt 0 Disable PIN 1 E
152. nly if the provided password lt oldpwd gt has been verified The entered password lt newpwd gt must also comply to the password rules The facility value lt fac gt is not case sensitive In the password value letters are not allowed Supported lt fac gt lt pwdlength gt s OK or CME ERROR lt err gt Command Syntax Response Action Remarks Set AT CPWD OK The Set command sets a new lt fac gt lt oldp or password for the facility lock function wd gt lt newp CME ERROR lt err gt defined by the CLCK command wd gt Read AT CPWD CME ERROR lt err gt Test AT CPWD CPWD list of The Test command returns a list of pairs which represent the available facilities and the maximum length of their passwords G5 Family AT Command User Manual Page 115 of 203 Bs FIBOCOM The following table shows the CPWD parameters lt Parameter gt Description lt fac gt List of supported facilities All the facility messages except for SC and P2 are sent to the network The facilities are not case sensitive SC SIM lock SIM card The SIM requests the password during G5xx power up and when this command is issued AO BAOC Bar All Outgoing Calls Ol BOIC Bar Outgoing International Calls OX BOIC exHC Bar Outgoing International Calls except to Home Country Al BAIC Bar All Incoming Calls IR BIC Roam Bar Incoming Calls when Roaming outside the hom
153. nse USSD string from the network is returned in a subsequent unsolicited CUSD result code Command Syntax Response Action Remarks Set AT CUSD OK The Set command lt n gt lt str gt or enables disables the display of lt dcs gt CME ERROR lt err gt the unsolicited result code Unsolicited CUSD The USSD response from the Report lt m gt lt str gt lt dsc gt network Read CUSD CUSD lt n gt The Read command displays the OK current value of lt n gt Test CUSD CUSD list of supported The Test command displays the lt n gt s supported values of lt n gt OK The following table shows the CUSD parameters lt Parameter gt Description lt n gt 0 Disable the result code presentation in the TA 1 Enable the result code presentation in the TA 2 Cancel session not applicable to read command response lt str gt String type USSD string when lt str gt parameter is not given network is not interrogated If lt dcs gt indicates that GSM 03 38 25 default alphabet is used e If TE character set other than HEX refer command Select TE Character Set CSCS ME TA converts GSM alphabet into current TE character set according to rules of GSM 07 05 24 Annex A e If TE character set is HEX ME TA converts each 7 bit character of GSM alphabet into two IRA character long hexadecimal number e g character G5 Family AT Command User Manual Pag
154. ntax Response Action Remarks Set amp WI lt n gt OK Set command stores the current active or configuration to user profile 0 CME ERROR lt err gt The following table shows the amp W parameters lt Parameter gt Description lt n gt profile number 0 Store to user s profile 0 Example AT amp WO OK 4 1 9 CRSM Restricted SIM Access This command provides limited access to the Elementary Files on the SIM Access to the SIM database is restricted to the commands which are listed at lt command gt All parameters of AT CRSM are used as specified by GSM 11 11 version 8 7 0 As response to the command the G5xx sends the actual SIM information parameters and response data Error result code CME ERROR may be returned if the command cannot be transferred to the SIM e g if the SIM is not inserted or defected or PIN1 PUK authentication required or required input parameters not present However failure in the execution of the command in the SIM is reported in lt sw1 gt and lt sw2 gt parameters Some AT CRSM commands require PIN PIN2 authentication Command Syntax Response Action Remarks Set AT CRSM lt comman CRSM Set command transmits the SIM d gt L lt file_id gt lt P1 gt lt lt sw1 gt lt sw2 gt lt response gt lt command gt and its required P2 gt lt P3 gt lt data gt parameters to the ME ME sends OK the actual SIM infor matio
155. ntax Response Action Remarks Set AT UARTSEND lt OK Used to send data to source gt lt data gt Or UART2 CME ERROR lt err gt Test AT UARTSEND UARTSEND Return supported values The following table shows the UARTSEND parameters AT UARTSEND 2 30313233 OK UART2 will output 0123 AT UARTSEND UARTSEND 2 data 10 2 4 UART2 use for AT Command When use for AT command It supports the following AT commands only CFSN CGMI CGMM CGMR CGREG CGSN CIMI COPS CPIN CREG CSQ G5 Family AT Command User Manual lt Parameter gt Description lt source gt 1 For internal reason 1 indicates UART1 here 2 For internal reason 2 indicates UART2 here lt data gt 0 F The data should be wrap up with and the valid character is 0 F Example Page 144 of 203 Bs FIBOCOM 11 Audio 11 1 Scope The audio control can be summarized to the following three issues Path Selection of microphone and speaker to be used Gain Control of volume levels for rings voice etc Algorithm Activation of audio algorithms echo cancellation noise suppression and side tone Audio Control of Path Gain and Algorithms is available by these two different modes sets of commands It is advised to select the audio mode according to the application needs either the Basic Audio set or the Advanced Audio set 11 2 General Audio Commands The following audio commands can be used
156. of parameters each of which may be set to a separate value G5 Family AT Command User Manual Page 158 of 203 Bs FIBOCOM Command Syntax Response Action Remarks Read AT CGQMI_ CGQMIN The Read command returns the N lt cid gt lt precedence gt lt delay gt lt relia current settings for each defined bility gt lt peak gt lt mean gt lt CR gt lt LF gt context CGQMIN lt cid gt lt precedence gt lt delay gt lt relia bility gt lt peak gt lt mean gt OK or CME ERROR lt err gt Test AT CGQMI_ CGQMIN lt PDP_type gt list of The Test command returns the N supported lt precedence gt s list of parameter value ranges for each supported lt delay gt s list of lt PDP_type gt supported lt reliability gt s list of supported lt peak gt s list of supported lt mean gt s OK or CME ERROR lt err gt The following table shows the CGQMIN parameters lt Parameter gt Description lt cid gt Anumeric parameter that specifies a particular PDP context definition The value is from 1 to 2 lt precedence gt Anumeric parameter that specifies the precedence class lt delay gt Anumeric parameter that specifies the delay class lt reliability gt Anumeric parameter that specifies the reliability class lt peak gt Anumeric parameter that specifies the peak throughput class lt mean gt Anumeric parameter that
157. old and so on OK approve request was done If the call is terminated and another call is answered NO CARRIER OK call answered and is now connected Command Syntax Response Action Remarks Test CHLD CHLD list of supported The Test command returns lt n gt values lt n gt s supported by the G5xx to the terminal OK G5 Family AT Command User Manual Page 47 of 203 Bs FIBOCOM The following table shows the CHLD parameters lt Parameter gt Description lt n gt Call hold operation 0 Releases all held calls or Sets User Determined User Busy for a waiting call 1 Releases all active calls and accepts the held or waiting call 1x Release specific call x where x is the serial number of a call participating in an active MTPY call 2 Places all active calls on hold and accepts the held or waiting call 2x In the case of an active MTPY call places all active calls on hold except for call X x Call x remains active 3 Adds a held call to the conversation MTPY Note Held calls or active calls means a held or active single or MTPY call There cannot be two or more different held active single MTPY calls Example AT CHLD CHLD 0 1 1x 2 2x 3 OK AT CCWA 1 OK atd93 11234567 OK Enable call waiting Originate a voice call OK conversation CCWA 358317654321 145 1 Bob Awaiting call alerts AT CHLD 2 Put first call
158. on gt OK AT FMR AT FMR FMR lt revision gt OK Example AT CGMR CGMR G510_V0D 00 16 OK 3 4 CGSN GSN Request Product Serial Number Identification This command displays the product serial number identification IMEI International Mobile Equipment Identification It can be used even when the SIM card is not inserted Command Response Action AT CGSN CGSN lt imei gt AT CGSN OK AT GSN GSN lt imei gt AT GSN OK G5 Family AT Command User Manual Page 16 of 203 Bs FIBOCOM The following table shows the CGSN GSN parameters lt Parameter gt Description lt imei gt The IMEI International Mobile Station Equipment Identity number is comprised of 15 digits as specified by GSM 03 03 3 IMEI numbers are composed of the following elements all in decimal digits Type Approval Code TAC 6 digits Serial Number SNR 6 digits Spare digit 1 digit The TAC and SNR are protected against unauthorized changes Example AT CGSN CGSN 004400013805666 OK 3 5 CSCS Select Terminal Character Set This command selects the G5xx character set The G5xx supports the following character sets IRA GSM UCS2 and HEX The default value is IRA Command Syntax Response Action Set CSCS lt chset gt OK or CMS ERROR lt err gt Read CSCS CSCS lt selected character set gt OK Test CSCS C
159. on hold and answer the second call OK conversation AT CHLD 3 OK Add the held call to the conversation MTPY conversation AT CHLD 22 OK AT CHLD 0 OK Split Place the MO active call on hold MT call remains active Release the held call G5 Family AT Command User Manual Page 48 of 203 Bs FIBOCOM NO CARRIER ath Release the active call NO CARRIER OK atd93 11234567 Originate a voice call OK OK CCWA 055728386 129 1 0 Waiting call alerts AT CHLD 1 Release the active call accept the waiting call OK NO CARRIER Active 9311234567 was released OK Waiting 055728386 was answered 5 1 12 CCFC Call Forwarding Number and Conditions This command enables control of the call forwarding supplementary service Registration erasure activation deactivation and status query are supported Command Syntax Response Action Remarks Set CCFC lt reason gt If the command succeeds The Set command lt mode gt lt num CCFC instructs the G5xx which ber gt lt type gt lt cl lt status gt lt class1 gt lt number gt lt type call forwarding settings ass gt lt subaddr gt gt lt subaddr gt lt satype gt lt time gt to request from network lt satype gt lt time lt CR gt lt LF gt gt J CCFC lt status gt lt class2 gt lt number gt lt type The Set command in query mode interrogates the network about the gt L lt
160. on of the message format used with send list read and write commands as well as the format of unsolicited result codes resulting from message receipts The G5xx supports both PDU mode where entire TP data units are used and text mode where the body of the message and its headers are given as separate parameters Command Syntax Response Action Remarks Set CMGF lt OK The Set command sets the message mode gt or format to use CMS ERROR lt err gt Read CMGF CMGF lt mode gt The Read command displays the OK current message format Test CMGF CMGF list of The Test command lists all the supported mode gt s supported message formats OK G5 Family AT Command User Manual Page 78 of 203 Bs FIBOCOM The following table shows the CMGF parameters lt Parameter gt Description lt mode gt Message format 0 PDU mode default 1 Text mode Example AT CMGF 1 OK AT CMGF CMGF 1 OK AT CMGF CMGF 0 1 OK 7 1 3 CSCA Service Center Address This command enables to write read SCA to from SIM In SMS text mode SCA stored in SIM is added to any stored and sent SMS In SMS pdu mode SCA stored in SIM is added to stored SMS and send SMS only when SCA address length coded in PDU equals zero CMS ERROR lt err gt Command Syntax Response Action Remarks Set CSCA lt sca gt OK Sets service center address stored in lt tosca gt or
161. ook ME phonebook will be searched as well result code would be the same as if MT phonebook was searched The following table shows a detailed description for the D gt commands Command Detailed Description D gt lt alpha gt Originates a call to a phone number with the corresponding alphanumeric field lt alpha gt The Current Phone Book Set by CPBS is searched for the entry that begins with the alphanumeric pattern lt alpha gt D gt mem lt n gt Originates a call to a phone number in memory phone book mem and stored in entry location lt n gt D gt lt n gt Originates a call to a phone number from entry location lt n gt in the Current Phone Book Set by CPBS Note Current used memory phone book set read is done through the memory command CPBS CPBS respectively The following table shows the D gt parameters lt Parameter gt Description lt alpha gt String type value which should be equal to an alphanumeric field in a phone book entry The used character set should be the one selected with Select Terminal Character Set CSCS lt alpha gt is case sensitive and should be placed in quotes alpha lt n gt This parameter is also called speed dial location It is an integer type memory location lt n gt should be in the range of locations available in the memory used lt mem gt This parameter is not case sensitive G5
162. ore a command cannot be issued until the previous command ends In case FTP is established and MIPCALL is set to zero this will close and disconnect the FTP connection When a call exists the dynamic IP address will be returned For example AT MIPCALL MIPCALL 1 172 17 237 80 Activating a context can take up to 150 seconds Deactivating a context can take up to 40 seconds If use AT MIPCALL 1 to activate PDP The APN must be set by AT CGDCONT command G5 Family AT Command User Manual Page 167 of 203 Bs FIBOCOM The following table shows the MIPCALL parameters lt Parameter gt Description operation 0 disconnect a link 1 establish GPRS link lt status gt 0 Disconnect 1 Connected APN APN of service provider in quotation marks Contact your service provider for details Phone number of CSD service provider in quotation marks Contact your service provider for details Phone Number User name User name in provider server in quotation marks Contact your service provider for details Password Password for provider server in quotation marks Contact your service provider for details Local IP address IP address given by server after PPP negotiation Note The User name and the Password parameters can be up to 64 characters each The APN Phone number parameters can be up to 50 characters each Example AT MIPCALL 1 internet User1 Pswd
163. owing TP PI is present otherwise optional Bit s Reference Description 0 1 Mandatory Parameter describing the message type Message Type Indicator 1 0 SMS STATUS REPORT in the direction SC to MS 2 Mandatory Parameter indicating whether or not more messages is TP More Message To Send waiting to the MS in the SC 0 More messages are waiting for the MS in this SC 1 No more messages are waiting for the MS in this SC 5 Mandatory Parameter indicating whether the TP Status Report Qualifier previously submitted TPDU was an SMS SUBMIT or an SMS COMMAND 0 The SMS STATUS REPORT is the result of a SMS SUBMIT 1 The SMS STATUS REPORT is the result of an SMS COMMAND 6 Optional Parameter indicating whether or not a status report will be TP User Data Header Indicato returned to the SME r 0 A status report will not be returned to the SME 1 A status report will be returned to the SME G5 Family AT Command User Manual Page 99 of 203 Bs FIBOCOM Bit s Description 0 O TP PID not presence 1 TP PID not presence 1 0 TP DCS not presence 1 TP DCS presence 2 OTP UDL not presence 1 TP UDL presence 3 7 Reserved Note Reserved bits are ignored Example AT CPMS CPMS SM 13 50 SM 13 50 SM 13 50 OK AT CMGR 1 CMS ERROR invalid index AT CMGR 142 CMGR STO SENT 054565034 message text OK AT CSDH 1 OK AT CMGR 142 CMGR STO SENT 054565034 129 25 0 0 05 04 03
164. plication Toolkit is busy Command cannot be executed at present further normal commands are G5 Family AT Command User Manual Page 29 of 203 Bs FIBOCOM allowed 146 OX Command successful but after using an internal update retry routine X times 146 64 Memory problem 148 0 No EF selected 148 2 Out of range invalid address 148 4 File ID not found e Pattern not found 148 8 File is inconsistent with the command 152 2 No CHV initialized 152 4 e Access condition not fulfilled e Unsuccessful CHV verification at least one attempt left e Unsuccessful UNBLOCK CHV verification at least one attempt left e Authentication failed 152 8 In contradiction with CHV status 152 16 In contradiction with invalidation status 152 64 e Unsuccessful CHV verification no attempt left e Unsuccessful UNBLOCK CHV verification no attempt left e CHV blocked e UNBLOCK CHV blocked lt sw lt sw 1 gt 2 gt Error Description 152 80 Increase cannot be performed Max value reached 103 XX Incorrect parameter P3 Note XX gives the correct length or states that no additional information is given XX 00 107 XX Incorrect parameter P1 or P2 109 XX Unknown instruction code given in the command 110 XX Wrong instruction class given in the command 111 XX Technical problem with no diagnostic given G5 Family AT Command User Man
165. ported as a compound value If supported lt precedence gt s the ME supports several PDP types list of supported lt delay gt s the parameter value ranges for each list of supported PDP type are returned on a separate lt reliability gt s list of line supported lt peak gt s list of supported lt mean gt s OK G5 Family AT Command User Manual Page 160 of 203 Bs FIBOCOM The following table shows the CGQREQ parameters lt Parameter gt Description lt cid gt Anumeric parameter that specifies a particular PDP context definition The value is from 1 to 2 lt precedence gt Anumeric parameter that specifies the precedence class lt delay gt Anumeric parameter that specifies the delay class lt reliability gt Anumeric parameter that specifies the reliability class lt peak gt Anumeric parameter that specifies the peak throughput class lt mean gt Anumeric parameter that specifies the mean throughput class Example AT CGQREQ CGQREQ IP 1 2 0 4 0 5 0 9 1 18 31 OK AT CGQREQ CGQREQ 1 2 4 3 9 10 CGQREQ 2 2 4 3 9 10 OK AT CGQREQ 1 0 0 0 10 OK AT CGQREQ CGQREQ 1 0 4 0 0 10 CGOQREQ 2 2 4 3 9 10 OK 12 2 5 CGATT GPRS Attach or Detach This command attaches detaches the ME to from the GPRS service When the command has completed the ME remains in V 25ter command state If the ME is already in the requested state the command i
166. presence or absence of a parity bit and the number of stop bits in the start stop frame 1 8 Data 2 St p can be set only with lt parity gt 4 2 8 Data 1 Parity 1 Stop can be set with lt parity gt of Oor1 3 8 Data 1 Stop default can be set only with lt parity gt 4 5 7 Data 1 Parity 1 Stop can be set with lt parity gt of Oor1 7 8 Data 1 Parity 2 Stop can be set with lt parity gt of Oor1 8 7 Data 1 Parity 2 Stop can be set with lt parity gt of Oor1 lt parity gt Determines how the parity bit is generated and checked if present 0 Odd 1 Even 4 No parity default Example AT ICF ICF 3 4 OK AT ICF ICF 1 3 7 0 1 4 OK AT ICF 3 1 OK G5 Family AT Command User Manual Page 139 of 203 Bs FIBOCOM 10 1 10 MRST Perform Hardware power down The MRST command enables customer software to perform a hardware power down to the G5xx unit This command provides a software power off without network logging off Command Syntax Response Action Remarks Set MRST OK The Set command performs a graceful hardware power down to the G5xx module Note The Read and Test commands are not permitted for the MRST command Example AT MRST OK Result G5xx module performs a power down 10 1 11 WRIM RI signal width setting In IDLE Mode G5xx s RI pin is High voltage level When G5xx receive a SMS or Call This pin can output a Low voltage pulse This command defi
167. ptable essssssscsssescsssescsssesessssessseeeesneeeees 158 12 2 4 CGQREQ Quality of Service Profile REQUEStEC sssssscccsssececsseecssecerssseccessseecssneecssneeesueeeest 160 12 2 5 CGATT GPRS Attach or Detach ecssesssssscseccsseessscessescssecsseccsssecsseccsneecsueccssecsssecssseesseesueeesneeese 161 12 2 6 D 99 Request GPRS Service D on eeseesssssscsssscsseecsseecsseccssecsssecssscesssecssscesuecesseccsuecessescsseceaseesssecenseess 162 G5 Family AT Command User Manual Page 8 of 203 Bs FIBOCOM 14 13 1 13 2 14 1 14 2 14 3 12 2 7 CGACT PDP Context Activate or Deactivate oe sesssescsscsscsesenssesssesssesssesssesssensseneenseenssenses 164 12 2 8 CGPADDR GPRS ADDRESS66 sssssssscsssecsseecsseccnseecsscessscessscesusccsssccssecesnecssseccsseccsseessseesueeesneesneeess 166 TOP Pinsin i AAE ERAR E EAA is 167 STIEN a 2AE EEE EE EE N EEEE E E E A E EEEE 167 13 1 1 MIPCALL Create a Wireless Link ssssssssssssssssssssssssssssssssssssssesereesssssssssseseeeessssssnsssoneeeessesussssserereeesssss 167 13 1 2 MIPOPEN Open a Socket UDP or TCP seesssecsseccsecsssecsssecssseesseecsseccssecesseccsneccssecesseessseeesseess 168 131 3 MIPCLOSE Close a SOCKet sss scssciescossccctccsnccavcsuscusacossccuscvancessasencavacouscebucvanccvacsunealeceusecenscannevencovectenceties 171 13 1 4 MIPSETS Set Size and Timeout for Automatic PUSH 0 eesssscsssesccsseecesnseccessececsseecesneecesnseesene 1
168. rent internal loudspeaker volume setting Test CLVL CLVL list of The Test command displays the supported lt level gt s possible loudspeaker volume OK settings The following table shows the CLVL parameters lt Parameter gt Description lt level gt The default value is 6 0 6 Manufacturer specific volume range 0 is lowest volume not mute 11 2 3 CMUT Mute Unmute Microphone Path This command is used to mute unmute the currently active microphone path by overriding the current mute state The CMUT setting should take effect only for the current call or for the next call once the command setting was typed in idle mode Command Syntax Response Action Remarks Set CMUT lt state gt OK The Set command or enables disables uplink voice CME ERROR lt err gt muting during a voice call Read CMUT CMUT lt state gt The Read command returns the OK current uplink voice mute unmute state Test CMUT CMUT list of The Test command returns the supported lt state gt s possible lt state gt values OK G5 Family AT Command User Manual Page 146 of 203 Bs FIBOCOM The following table shows the CMUT parameters lt Parameter gt Description lt state gt 0 Unmute microphone path default 1 Mute microphone path Example AT CMUT CMUT 0 1 OK AT CMUT CMUT 0 uplink voice is unmuted OK AT CMUT 1 upl
169. rmat to all further Read commands COPS as well The selected mode applies to future network registrations for example once you deregister from the network the G5xx remains unregistered until you select lt mode gt 0 lt mode gt 1 or lt mode gt 4 Read AT COPS COPS The Read command returns the current mode lt mode gt lt forma and the currently selected operator t gt lt oper gt OK or CME ERROR lt err gt Test AT COPS COPS list of The Test command returns a list of quadruplets supported each representing an operator present in the lt stat gt long network A quadruplet consists of an integer G5 Family AT Command User Manual Page 124 of 203 Bs FIBOCOM alpha numeric lt oper gt short alphanumeric lt o per gt numeric lt oper gt list of supported lt mode gt s list of supported lt form at gt s OK indicating the availability of the operator lt stat gt long and short alphanumeric format of the name of the operator and numeric format representation of the operator If any of the formats are unavailable there is an empty field The list of operators is in the following order home network networks referenced in SIM or active application in the UICC GSM or USIM in the following order HPLMN selector User controlled PLMN selector Operator controlled PLMN selector and PLMN selector in the SIM or GSM application and other networks After the operator
170. rted lt n gt s supported by the G5xx as a compound OK value G5 Family AT Command User Manual Page 44 of 203 Bs FIBOCOM 5 1 10 CCWA Indication When a call waiting indication is enabled by the G5xx lt n gt 1 the following unsolicited indication is sent to the terminal from the G5xx CCWA lt number gt lt type gt lt class gt lt alpha gt lt CLI validity gt The following table shows th e CCWA parameters lt Parameter gt Description lt n gt Enables disables the call waiting indication to the terminal by the G5xx 0 Disable 1 Enable The default value is 0 lt mode gt Call waiting service request to the network When the lt mode gt parameter is not given the network is not interrogated 0 Disable 1 Enable 2 Query status lt class gt Sum of integers each representing a class of information 1 Voice telephony The default value is 1 lt number gt Calling line number The number format is specified by lt type gt lt type gt Type of address octet in integer format 145 Default when the dialing string includes the international access code character 161 Default when making a local call 129 Type of number is unknown usually the output when the number itself is unknown lt status gt Call waiting support by the network output for lt mode gt 2 0 Not active 1 Active lt alpha gt Name of the calling party if provide
171. rted gain values OK The following table shows the MMICG parameters lt Parameter gt Description lt gain gt Microphone gain values 0 15 Ois lowest gain value not mute The default value is 8 G5 Family AT Command User Manual Page 153 of 203 Bs FIBOCOM 12GPRS 12 1 GPRS Functionality GSM 07 07 defines commands that a TE may use to control a GPRS ME via a non multiplexed character stream interface This places certain limitations on the functionality of the interface For example it is not possible for the ME to send control information to the TE or for the TE to send commands to the ME whilst the interface is in the online data state unless the layer 2 protocol itself supports this feature GSM 07 60 12 However G5xx specific escape mechanism DTR is provided to enable the TE to switch the G5xx into limited online command state The use of a multiplexed interface GSM 07 10 is not considered here See RS232 Multiplexer Feature The G5xx specific escape mechanism use DTR as an escape signal following amp D parameters and designed for limited non network related commands This specific mechanism purpose is to give the user a way to retrieve the signal strength The time limit of consecutive DTR toggles is a minimum of 90 seconds The G5xx specific is not designed to support online command and data states both at the same time therefore any wrong or extreme usage can cause unexpected beha
172. s ignored and the OK response is returned If the requested state cannot be achieved an ERROR or CME ERROR response is returned Extended error responses are enabled by the CMEE command Any active PDP contexts will be automatically deactivated when the attachment state changes to detached Command Syntax Response Action Remarks Set AT CGATT OK The Set command lt state gt Or attaches detaches the ME to from CME ERROR lt err gt the GPRS service G5 Family AT Command User Manual Page 161 of 203 Bs FIBOCOM Command Syntax Response Action Remarks Read AT CGATT CGATT lt state gt The Read command returns the OK current GPRS service state Test AT CGATT CGATT list of The Test command requests supported lt state gt s information on the supported GPRS OK service states Note This command has the characteristics of both the V 25ter action and parameter commands Therefore it has the Read form in addition to the Execution Set and Test forms The following table shows the CGATT parameters lt Parameter gt Description lt state gt Indicates the state of the GPRS attachment 0 Detached 1 Attached Example AT CGATT CGATT 0 1 OK AT CGATT CGATT 0 OK AT CGATT 0 OK 12 2 6 D 99 Request GPRS Service D This command enables the ME to perform the actions necessary for establishing communication between the terminal and the external Pack
173. se Action Remarks Set AT MHUP lt c OK ause gt lt call_i or d gt CME ERROR lt err gt Test AT MHUP MHUP Show list of supported lt cause gt s 1 16 17 18 27 31 0 7 and list of supported lt call_id gt s OK The following table shows the MHUP parameters lt Parameter gt Description lt cause gt Cause description send to the NW in the disconnect message 1 Unassigned unallocated number 16 Normal call clearing 17 User busy 18 No user responding 27 Destination out of order 31 Normal unspecified lt call_id gt Index of the call id same as lt idx gt in CLCC command 0 All calls default 1 7 Specific call id Example AT MHUP MHUP 1 16 17 18 27 31 0 7 OK AT MHUP 16 3 G5 Family AT Command User Manual Hung up call 3 and send cause Normal call clearing Page 56 of 203 Bs FIBOCOM OK AT MHUP 17 OK AT MHUP 17 0 OK 5 2 Call Status Messages 5 2 1 CPAS Phone Activity Status This command displays the current activity status of the G5xx for example call in progress or ringing Hung up all calls and send cause User busy Hung up all calls and send cause User busy Command Syntax Response Action Remarks Execute Read AT CPAS CPAS lt pas gt The Execute and Read commands OK return the activity status lt pas gt of the or G5xx They can be used to interrogate CME ERROR lt err
174. se_t ype gt or ERROR Read MIPCLOSE MIPCLOSE lt socket_ID gt OK for all ACTIVE sockets or MIPCLOSE 0 OK if no active sockets Test MIPCLOSE MIPCLOSE 1 4 0 2 OK G5 Family AT Command User Manual Page 171 of 203 Bs FIBOCOM The following table shows the MIPCLOSE parameters lt Parameter gt Description lt Socket_ID gt Unique number that identifies a connection Valid socket numbers 1 2 3 and 4 lt Mode gt This value only used for TCP connection 0 Wait FIN ack from Server default 1 Do not wait FIN response from server lt number_of_acknowledged_bytes gt Total number of bytes that were acknowledged lt close_type gt Connection close type 0 Connection was closed correctly 1 The remote side didn t reply so connection closed by close timeout 2 Other The remote side replied with RST Retransmission timeout occurred etc Example AT MIPCLOSE MIPCLOSE 1 4 0 2 OK AT MIPCLOSE MIPCLOSE 0 No opened sockets OK AT MIPCLOSE 1 OK MIPCLOSE 1 0 Socket 1 closed The remote side replies with ACK Need wait few seconds AT MIPCLOSE 1 1 MIPCLOSE 1 2 Socket 1 closed immediately The lt close type gt indicate 2 OK AT MIPCLOSE 3 The terminal closes the opened socket OK MIPCLOSE 3 1024 2 Socket 3 closed Ack indication enabled 1024 bytes were ack
175. secssecsseesseecsuecesseecsnecessescssecenseesseeess 142 10 2 WA RT2 COMPUTATION sins cscssesdcncesasnseiaiasececaissccocedssccssssnousesnonoscocnsesenndesos0verednoudedadsecesbbescsndussousesada ecedaletecosesssoase 143 10 2 1 GTSET UARTMODE switch UART2 Work MOde u sssscsssssccsssescesseecssseccesssecessseecssnscessnseeesnseees 143 10 2 2 GTSET UARTREV report data Mode sesssssscsssesseessecsssecsseecsseeesseccsseccsseccssecesseccsseceaseessseess 143 10 2 3 UARTSEND Send data to UART2 ssssssssscsssseccsssssessscscssnsecssnscccssseecssneecssusecesnseeesssecessucessuseessnseess 143 10 2 4 UART2 use for AT COMMANA cscsssssscsssescesseccsssecessseecssusecesssecesssecessuecessusecesssecessueessusecesnseessaseeesaneess 144 La o EEEE ETETEA 145 11 1 COPD R E E E E E 145 11 2 General Audio Command Sessien Ei i 145 11 2 1 CRSL Call Ringer Level sssssssssesscccsssssssssseeeceeessssssssocececeessseseoseeeeeceessssssssoeeeeceessssteeoseeeeeeesessssssses eses 145 11 2 2 CLVL Loudspeaker VolUMe ssssssssscscsssssssssseececcessssssssseeeeeeesssssssseteeeeeesssssssseteeeeeesssssssssteeeeeessssssssst 146 11 2 3 CMUT Mute Unmute Microphone Path ssssssssssssssssssssssssssssssessssssssssseeeesessusnsssoseeeeesesssssssesereeesssss 146 11 2 4 S94 Sidetone Effect seessssssssscsseccssseecsssescssusecesnsecessseceesusecssnsecesnseeesssecessusessusecesnseessaseeessueesesueeessaseees 147 T25 SOG PECMOIC AM COMM Gt eac
176. software that does not support arbitrary characters in the dial string a numeric value equivalent to the hostname may be used However this should be avoided if at all possible G5 Family AT Command User Manual Page 163 of 203 Bs FIBOCOM lt Parameter gt Description lt L2P gt String variable which indicates the layer 2 protocol to be used For communications software that does not support arbitrary characters in the dial string the following numeric equivalents are used 0 NULL 1 PPP PAD X25 oO w N yyyy M xxxx Other values are reserved and result in an ERROR response to the Set command Note V 250 and certain communications software does not permit arbitrary characters in the dial string The lt L2P gt and lt called_address gt strings are therefore specified as containing digits 0 9 only lt cid gt Digit string which specifies a particular PDP context definition See CGDCONT Define PDP Context Example ATD 99 Try connecting to GPRS according to the first lt cid gt defined in CGDCONT 12 2 7 CGACT PDP Context Activate or Deactivate This command activates deactivates the specified PDP context s Command Syntax Response Action Remarks Set AT CGACT OK The Set command activates deactivates the lt state gt lt cid or specified PDP context s When the command is gt lt cid gt NO CARRIER completed the ME r
177. sonalization PUK required Network subset personalization PIN required Network subset personalization PUK required service provider personalization PIN required service provider personalization PUK required Corporate personalization PIN required Corporate personalization PUK required PH SIM PUK required PH SIM PUK may also be referred to as Master Phone further details The excute command not support Excute command failure no memory The command not support check your input pls parameters are invalid REG not exist in flash SMS not exist in flash Phone book not exist in flash file system not exist in flash SIM card verify failure Unblock SIM card fail Condition not fulfilled Unblock SIM card failed no rest time Verify SIM card failed no rest time Input parameter is invalid file is inconsistent with the command wrong instruction class given in the command SIM returned technical problem CHV need unblock NO SIM EF selected SIM file unmatched command contradiction CHV contradiction invalidation SIM MAX value reached SIM returned pattern not found SIM file ID not found G5 Family AT Command User Manual Page 198 of 203 Bs FIBOCOM 77 STK busy 78 SIM returned UNKNOWN 79 SIM profile ERR 103 Illegal MS 106 Illegal ME 107 GPRS services not allowed 111 PLMN not allowed 112 Location area not allowed 113 Roaming not
178. specifies the mean throughput class Example AT CGQMIN CGQMIN IP 1 2 0 4 0 5 0 9 0 18 OK AT CGQMIN CGOMIN 1 2 4 3 9 10 G5 Family AT Command User Manual Page 159 of 203 Bs FIBOCOM CGOMIN 2 2 4 3 9 10 OK 12 2 4 CGQREQ Quality of Service Profile Requested This command enables the terminal to specify a Quality of Service Profile that is used when the ME sends an Activate PDP Context Request message to the network Command Syntax Response Action Remarks Set AT CGQREQ lt c OK The Set command specifies a profile id gt lt precedenc or for the context identified by the e gt lt delay gt lt re CME ERROR lt err gt local context identification liability gt lt peak parameter lt cid gt As this is the same gt L lt mean gt parameter that is used in the CGDCONT command the CGQREQ command is effectively an extension of the CGDCONT command The QoS profile consists of a number of parameters each of which may be set to a separate value A special form of the Set command CGQREQ lt cid gt causes the requested profile for context number lt cid gt to become undefined Read AT CGQREQ CGQREQ The Read command returns the lt cid gt lt precedence gt lt delay current settings for each defined gt lt reliability gt lt peak gt context lt mean gt OK Test AT CGQREQ CGQREQ lt PDP_type gt list The Test command returns values of sup
179. ssage from Storage sssccssssccssssscssssscssnsecsssssecsssscessuseessnsecesssecessuesessusecesnseeesaneeessues 101 7 1 13 CMGW Write Message to Memory uu ssssscssscsesesesssssesssessecssecsseessecsseessecssecstecssecsteesseesseesseesseesee 102 7 1 14 CMGD Delete Message esssscssssscsssscssescssecsssessssecsusecsusecsusecsseecssecessessssecssseessseesssessssecsusessueeesueessees 107 7 1 15 CMGS Send SM to Network ssessssscscssesssscssssesnsecensscensessnesecnsceenecssssesssecesssesssscssssesnessenesseneeseneeess 109 ACCESS ANI SOCUIILY xc sczcdetccecslsticaesisccsvecdeatcncatsansosndstccssansssensntonssoshdssdcbsninsechcodpsasstedatenndabosdossdesoue ngnseceadenausetedsecdbiabnsechsntescaves 111 8 1 Access Control COMMandS sssssssssssessssssssssssssseeeesssssssseseseeeessessssseseseeeeessssssssesteeeesssssssssttteeeesssssssesetttteeesssss 111 8 1 1 A Repeat Last Command nissin ii inas EEE a 111 8 1 2 AT Check AT Communication ssssssssssssssssssssssssssesssssssssssseeesesssssssssserereessssssssseeeteeessssnsssseettreeeesssssssseseeees 111 8 1 3 CPIN Enter PIN for Unlocking SIM Card or Enter PUK for Unblocking SIM Card 112 8 1 4 TPIN Query Number of Remaining SIM PIN PUK Entering Attempts scsssecscssecceseees 114 8 1 5 CPWID Change Password assis cassccsssszvccsssseacabesedscatuveancasacasucndssegcvsesepsensecata e 115 8 1 6 CLCOK Facility LOC Kisii csissssondssccssasssscossbanndosadssscve
180. st returns OK The following ta ble shows the CSMP parameters lt Parameter gt Description lt fo gt First octet of GSM 03 40 in integer format For details see CMGW definitions The default value at power up is 17 Message type is SMS SUBMIT and relative VP format lt vp gt Validity Period Depending on SMS SUBMIT lt fo gt TP Validity Period Format bits setting If there is no correlation between the VPF and the VP value an error message will be returned Either in integer format see Table or in time string format yy MM dd hh mm ss zz lt pid gt Protocol Identifier The one octet information element by which the SM TL either refers to the higher layer protocol being used or indicates interworking with a certain type of telematic device 0 no interworking SME to SME protocol default Any value between 0 255 will be accepted The SC may reject messages with a TP Protocol Identifier containing a reserved value or one which is not supported lt dcs gt One octet of Data Coding Scheme indicates the data coding scheme of the DATA and may indicate a message class Note For DCS expanded information see section DCS handling default alphabet 00xx00xx 111 100xx 1 101xxxx 8 bit data 00xx01xx 111101xx UCS2 00xx10xx 1110xxxx G5 Family AT Command User Manual Page 83 of 203 Bs FIBOCOM reserved 00xx11xx 0100xxxx 1011xxx
181. status values 0 Battery powered 1 Externally powered not implemented in G5xx Note The G5xx input power source is connected via the battery pins only so it is always battery powered lt bcl gt VBAT voltage value A decimal value represents the returned digital value The input level multiplied by 1000 Note The G5xx does not allow the detection of battery use The power supply of the G5xx is connected via the battery pins However users can use this command to verify the level of the G5xx input power source Example AT CBC CBC 0 3802 OK 10 1 2 CBAUD Baud Rate Regulation This command sets the uniquely UART baud rate The baud rate of the G5xx is changed set to the request value lt rate gt written in the command Specifying a value of 0 or 9 allows operation only at rates automatically detectable by the G5xx The G5 Family AT Command User Manual Page 130 of 203 Bs FIBOCOM specified rate takes effect following the issuing of any result code s associated with the current command line Note ATZ command sets the G5xx to default baud rate Auto baud rate After sent any AT command the module will lock on single baud rate Read command can feedback the currently baud rate The module cannot re auto baud without send AT CBAUD 0 or 9 command or re power up The parameter can t be saved after power up Command Syntax Response Action Set CBAUD lt n gt OK CBAUD l
182. t lt dcs gt lt sca gt lt tosca gt lt length gt lt CR gt lt LF gt lt data gt about parameters in italics refer command Show Text Mode Parameters CSDH In PDU mode CMGF 0 CMT lt alpha gt lt length gt lt CR gt lt LF gt lt pdu gt The following table shows the CMT parameters lt Parameter gt Description lt oa gt Message origination address lt scts gt Service center time stamp lt toda gt Type of origination address lt fo gt First octet of the SM lt pid gt Protocol Identifier lt dcs gt Data Coding Scheme lt sca gt Service Center Address lt tosca gt Type of Service Center Address lt data gt Message contents lt alpha gt Alpha ID of message lt length gt In PDU mode Size of message in octets excluding SMSC data In TEXT mode number of characters included in the lt data gt lt pdu gt Message header and contents in PDU mode format See description in CMGR Read Message After sending a CMT unsolicited response to the TE the G5xx will expect a CNMA new message G5 Family AT Command User Manual Page 89 of 203 Bs FIBOCOM acknowledgment from the TE within a predefined timeout of 60 seconds The G5xx will not send another CMT unsolicited response to the TE before the previous one is acknowledgement If the CMT is acknowledged within the timeout the new SM is not saved in the message storage If the CMT
183. t Identifier The parameter is local to the Terminal Mobile Terminal interface and is used in other PDP context related commands The Test command returns the range of permitted values minimum value 1 lt PDP_type gt String parameter in quotation marks specifying the type of packet data protocol Packet data IP protocol type lt APN gt Access Point Name String parameter in quotation marks which is a logical name that is used to select the GGSN or the external packet data network If the value is null or omitted the subscription value is requested lt PDP_address gt String parameter in quotation marks which identifies the ME in the address space applicable to the PDP If the value is null or omitted a value may be provided by the terminal during the PDP startup procedure or failing that a dynamic address is requested The Read form of the command continues to return the null string even if an address has been allocated during the PDP startup procedure The allocated address may be read using the CGPADDR command The default value is 0 lt d_comp gt Numeric parameter that controls PDP data compression 0 OFF Other values are reserved The default value is 0 lt h_comp gt Numeric parameter that controls the PDP header compression 0 OFF 1 ON Other values are reserved Note Currently only one data compression algorithm V 42bis is provided in SNDCP If and when other algori
184. t values Refer to IETF RFC 792 for lt code gt valid values lt RTT gt Specifies Round Trip Time RTT measured in milliseconds This parameter will be reported in command response only if Echo Reply message was received Note Ping request is being executed from the moment the valid AT MPING set command was received by G5xx until MPINGSTAT unsolicited report with lt status gt equal either to 0 or 2 is sent to DTE or ping request execution was aborted with AT MPING 0 command Refer to description of MPINGSTAT unsolicited response for details In some cases the reply message for an Echo Request message might be not an Echo Reply messages but rather some other ICMP message which is reporting an error in datagram processing For purpose of G5 Family AT Command User Manual Page 185 of 203 Bs FIBOCOM reporting an exact type of response for sent Echo Request message unsolicited response includes lt type gt and lt code gt fields The first octet of the data portion of the IP datagram is an ICMP lt type gt field The value of this field determines the format of the remaining data The lt type gt and lt code gt fields jointly define ICMP message type For example a case when an Echo Request message encapsulated in IP datagram to be forwarded by a gateway has exceeded TTL equal zero In this case the gateway must discard the datagram and may return an ICMP Time Exceeded message Example AT MIPCALL 1 cmnet
185. t length gt lt CR gt lt LF gt If ME has its own display device then class 0 SMS and SMS in the message waiting indication group discard message may be copied to both ME display and to terminal In this case ME shall send the acknowl ment to the network Class 2 SMSs and messages in the message waiting indication group storage message result in indication as defined in lt mt gt 1 lt bm gt 0 No CBM indications are routed to the terminal default 0 NoSMS STATUS REPORT indications are routed to the terminal default k 1 SMS STATUS REPORT is routed directly to the terminal lt bfr gt 0 TAbuffer of unsolicited result codes defined within this command is flushed to the TE when lt mode gt 1 3 is entered OK response shall be given before flushing the codes Example AT CNMI CNMI 0 1 0 2 0 OK AT CNMI CNMI 0 0 0 0 OK AT CNMI 1 1 OK AT CMSS 142 0544565034 CMSS 72 OK CMTI SM 15 AT CNMI 1 2 OK AT CSDH 1 OK AT CMSS 142 054565034 CMSS 73 OK G5 Family AT Command User Manual 0 1 0 send to myself send to myself Page 87 of 203 Bs FIBOCOM CMT 972544565034 04 11 04 09 48 36 08 145 4 0 0 972541 20032 145 3 ABC AT CSMP 49 167 OK AT CSMP CSMP 49 167 0 0 OK AT CNMI 1 1 OK AT CNMI CNMI 1 0 0 1 0 OK AT CNMI 1 0 0 1 0 OK Set first octet to status report see status report parameters in CMGW AT CMGS
186. t message 0 The TP UD field contains only the short message 1 The beginning of the TP UD field contains a Header in addition to the short message Note Any unused bits will be set to 0 If AT CSCS HEX the DATA saved by CMGW is not that was entered regular AT command mode Example AT CMGF 1 OK AT CMGW 5 124335432 gt This is the message body lt CTRL Z gt lt CTRL Z gt ends the prompt text mode and returns to CMGW 126 OK AT CMGW gt TEST lt CTRL Z gt CMGW 195 G5 Family AT Command User Manual Page 105 of 203 Bs FIBOCOM OK AT CMGF 0 OK AT CMGW 24 gt 079179521201009511FF0B91 7962543940F 20008001400410042004300440045 lt CTRL Z gt CMGW 128 OK AT CMGR 128 CMGR 2 24 079179521201009511FF0B917962543940F 20008001 400410042004300440045 OK AT CMGF 1 OK AT CSDH 1 OK AT CMGR 128 CMGR STO UNSENT 97264593042 145 17 0 8 0 972521100059 145 5 00410042004300440045 OK AT CSMP 25 05 03 15 21 22 23 08 0 0 OK AT CMGW 0544565034 A lt CTRL Z gt CMGW 129 OK AT CMGR 129 CMGR STO UNSENT 0544565034 129 25 0 0 05 03 15 21 22 23 08 972521100059 145 1 OK AT CMGF 0 OK AT CMGR 129 CMGR 2 20 07917952120100951 9FF0A8150446505430000503051122232800141 AT CMGW 18 gt 0011000c917952428650290004AA044 1424344 SCA is not given CMGW 130 OK AT CMGR 130 G5 Family AT Command User Manual Page 106 of 203 Bs FIBOCOM CMGR 2
187. t mid gt lt dcs gt lt page gt lt pages gt lt CR gt lt LF gt lt data gt If text mode CMGF 1 command execution is successful and SMS STATUS REPORT CMGR lt stat gt lt fo gt lt mr gt lt ra gt lt tora gt lt scts gt lt dt gt lt st gt If PDU mode CMGF 0 and command execution is successful CMGR lt stat gt lt alpha gt lt length gt lt CR gt lt LF gt lt pdu gt otherwise CMS ERROR lt err gt The following table shows the CMGR parameters lt Parameter gt Description lt index gt 1 352 Index in storage of the message to be retrieved lt stat gt Status of message in memory PDU Text mode Description Oo REC UNREAD Received unread messages 1 REC READ Received read messages 2 STO UNSENT Stored unsent messages 3 STO SENT Stored sent message 4 ALL All messages lt alpha gt Alpha ID of message not present In PDU mode Size of message in octets excluding SMSC data lt length gt In TEXT mode Number of characters included in lt data gt lt pdu gt Message header and contents in PDU mode format See description in the table below lt oa da gt Original destination address lt data gt Message contents in text mode lt toda toda gt Type of origination address destination address lt fo gt First octet of the SM lt pid gt Protocol Identifer lt dcs gt Data Coding Scheme
188. t omitted the ME attempts to activate the context using one of the following e Any information provided by the terminal during the PDP startup procedure For example the terminal may provide a PDP type and or PDP address to the ME A prior knowl for example the ME may implement only one PDP type Using the Empty PDP type No PDP address or APN is sent in this case and only one PDP context subscription record is present in the HLR for this subscriber This command may be used in both normal and modem compatibility modes Command Syntax Response Action Set ATD lt GPRS_SC gt CONNECT lt called_address gt lt L2P gt or lt cid gt ERROR The following table shows the D 99 parameters lt Parameter gt Description lt GPRS_SC gt Digit string value 99 which identifies a request to use GPRS GPRS Service Code called_addres String that identifies the called party in the address space applicable to the PDP s gt For communications software that does not support arbitrary characters in the dial string a numeric equivalent may be used Also the comma character may be used as a substitute for the period character For PDP type OSP IHOSS the following syntax may be used for lt called_address gt lt host gt lt port gt lt protocol gt where lt host gt lt port gt and lt protocol gt are defined in CGDCONT Define PDP Context For communications
189. t rate gt or CME ERROR lt err gt Read CBAUD CBAUD lt rate gt OK Test CBAUD CBAUD list of supported lt n gt s list of supported lt rate gt s OK The following table shows the CBAUD parameters lt Parameter gt Description 1 2400 2 4800 3 9600 4 14400 5 19200 6 28800 7 33600 8 38400 10 57600 11 115200 12 230400 13 460800 The default value is115200 10 1 3 IPR Local Terminal Serial Port Rate This command is responsible for setting and saving the request baud rate This numeric extended format parameter specifies the data rate at which the G5xx accepts commands Specifying a value of 9 disables the G5 Family AT Command User Manual Page 131 of 203 Bs FIBOCOM function and allows operation only at rates automatically detectable by the G5xx The specified rate takes effect following the issuing of any result code s associated with the current command line The lt rate gt value specified is the rate in bits per second at which the terminal G5xx interface operates for example 19200 or 115200 The rates supported by the G5xx are manufacturer specific However the IPR parameter permits setting any rate supported by the G5xx during online operation The UART is configured to rates of 1200 4800 9600 19200 38400 57600 115200 230400 bits per second according to the parameters of the IPR command Using AT IPR lt rate gt with a
190. t type gt Phone number display format Type of address octet in integer format refer to GSM 04 08 8 subclause 10 5 4 7 161 Local number 145 International number with access character Note When a mobile originated call is routed to PSTN PABX no ALERT indication is prompted Example AT CLCC CLCC 0 1 OK AT CLCC CLCC 1 0 0 0 0 01256316830 129 OK G5 Family AT Command User Manual Page 59 of 203 Bs FIBOCOM AT CLCC CLCC 0 OK AT CLCC 1 Example with unsolicited indication OK ATD055490698 OK CLCC 1 0 2 0 0 055490698 129 CLCC 1 0 3 0 0 055490698 129 OK CLCC 1 0 0 0 0 055490698 129 ATH NO CARRIER OK CLCC 1 0 6 0 0 055490698 129 5 3 Supplementary Services This set of commands enables control over supplementary service notifications including Structured and Unstructured Supplementary Service Data USSD data 5 3 1 CSSN Supplementary Service Notifications This command handles the enabling and disabling of supplementary service related network initiated notifications Command Syntax Response Action Remarks Set CSSN lt n OK The Set command enables disables the display of gt L lt m gt or notification result codes to the TE CME ERROR When lt n gt 1 and a supplementary service notification lt err gt is received after a mobile originated call setup the CSSI notification is sent to the TE before any other mobile originated cal
191. ter sending a CDS unsolicited response to the TE the G5xx will expect a CNMA new message acknowledgment from the TE within a predefined timeout of 60 seconds The G5xx will not send another CDS unsolicited response to the TE before the previous one is acknowledged If the CDS is acknowledge d within the timeout the new SM is not saved in the message storage If the CDS is not acknowledged and the timeout has expired the new SM is saved in the message storage and CNMI parameter lt ds gt is set to 0 Example AT CMGF 1 OK AT CSMP 49 167 OK AT CSMP CSMP 49 167 0 0 OK AT CNMI 1 0 0 1 OK AT CMGS 052468000 gt Hello CMGS 187 OK CDS 6 187 97252468000 145 05 08 03 08 56 34 08 05 08 03 08 56 34 08 70 AT CNMA OK G5 Family AT Command User Manual Page 91 of 203 Bs FIBOCOM 7 1 10 CMGL MMGL List Messages These commands display a list of all SMs with the status value lt stat gt from the G5xx message storage lt mem1 gt selected using the CPMS command The command returns a series of responses one per message and each containing the message index status and data If the status of a message is RECEIVED UNREAD execution of the CMGL command changes the status of the message to RECEIVED READ The MMGL command does not change the message status In addition MMGL includes a lt stat gt selection that can be used to query the G5xx for a list of message headers without a
192. the network and by the G5xx The command also allows the user to enable disable the CLI presentation by the G5xx to the terminal The CLIP indication information varies depending on what is provided by the network and what information is stored in the G5xx phone book Command Syntax Response Action Remarks Set AT CLIP lt n gt OK or CME ERROR lt err gt The Set command enables or disables the presentation of the CLI indication from the G5xx to the terminal Note The Set command does not address the network Read AT CLIP CLIP lt n gt lt m gt The Read command returns the CLIP OK enable disable state in the G5xx as well as in the network provisioning state of the CLI presentation Test The Test command returns the Set command options 0 1 G5 Family AT Command User Manual Page 42 of 203 Bs FIBOCOM 5 1 8 CLIP Indication When the CLI presentation indication is enabled by the G5xx lt n gt 1 this unsolicited indication is sent to the terminal after the RING indication CLIP lt number gt lt type gt lt subaddr gt lt satype gt lt alpha gt lt CLI validity gt The following table shows the CLIP parameters lt Parameter gt Description lt n gt Enables disables the CLI presentation indication after the ring indication 0 Disable CLI presentation 1 Enable CLI presentation The default value is 0 lt m gt Shows the subscriber C
193. thms become available a command will be provided to select one or more data compression algorithms The default value is 0 Note The IP address may be entered without double quotes Example AT CGDCONT G5 Family AT Command User Manual Page 157 of 203 Bs FIBOCOM OK Only without any set command AT CGDCONT 1 IP CMNET OK AT CGDCONT 2 IP CMWAP OK AT CGDCONT CGDCONT 1 IP CMWAP 0 0 0 0 0 0 CGDCONT 2 IP CMNET 0 0 0 0 0 0 OK AT CGACT 1 OK AT CGDCONT CGDCONT 1 IP CMWAP 10 230 50 116 0 0 CGDCONT 2 IP CMNET 10 3 97 156 0 0 OK AT CGDCONT CG DCONT 1 2 IP 0 0 1 OK 12 2 3 CGQMIN Quality of Service Profile Min Acceptable This command enables the terminal to specify the minimum acceptable profile which is checked by the ME against the negotiated profile returned in the Activate PDP Context Accept message Command Syntax Response Action Remarks Set AT CGQMI OK N lt cid gt L lt or precedence CME ERROR lt err gt gt L lt delay gt lt reliability gt L lt peak gt lt mean gt The Set command specifies a profile for the context identified by the local context identification parameter lt cid gt As this is the same parameter that is used in the CGDCONT command the CGQMIN command is effectively an extension of the CGDCONT command The QoS profile consists of anumber
194. to send all accumulated data after 50 msec of receiving data in mipsend command MIPSETS 0 OK AT MIPSETS MIPSETS 1 200 50 MISETS 2 400 0 OK 13 1 5 MIPSEND Send Data This command causes the G5xx to store the data that the terminal provides in the accumulating buffer and then send this data using an existing protocol stack when the amount of data reaches the predefined amount see MIPSETS Set Size and Timeout for Automatic Push on Before sending data a valid connection must be created using the MIPCALL and MIPOPEN commands Recommends that the terminal sets the watermark in the accumulating buffer prior to this command using the MIPSETS command By default the watermark is set to 2048 bytes of data G5 Family AT Command User Manual Page 174 of 203 Bs FIBOCOM Command Syntax Response Action Remarks Set MIPSEND lt S ERROR Data in the MIPSEND ocket_ID gt lt Da_ MIPSEND command is limited to 1024 ta gt lt Socket_ID gt lt Status gt lt FreeSize characters 2048 in coded gt form lt Status gt 0 Success 1 Socket is flowed off Read MIPSEND MIPSEND lt Socket_ID gt lt FreeSize gt gt lt Sock et_ID gt FreeSize gt lt CR gt lt LF gt OK For all ACTIVE sockets The following table shows the MIPSEND parameters lt Parameter gt Description lt socket_ID gt 1 2 3 4 Number of valid socket lt FreeSize gt Free space in current buffer Free s
195. tot memory number of used entries and al gt total number of entries in the phone OK book memory Test CPBS CPBS list of Test command returns the supported supported lt storage gt storages as a compound value s OK Note Read format of CPBS joins RC and MC therefore the united list will be prompted G5 Family AT Command User Manual Page 69 of 203 Bs FIBOCOM The following table shows the CPBS parameters lt Parameter gt Description lt storage gt List of supported phone books and their storage IDs FD SIM Fixed dialing phone book ON Own numbers MSISDNs list reading this storage is also available through CNUM SM SIM phone book LD SIM last dialing phonebook The default phone book is SM lt used gt Integer type value indicating the number of used locations in the selected memory lt total gt Integer type value indicating the total number of entries in the selected phone book memory lt pin2 gt String type PIN2 password 4 8 digits Example AT CPBS SM OK AT CPBR CPBS SM FD LD ON OK AT CPBR 1 OK AT CPBR 1 3 There is nothing written in entry 1 2 3 OK AT CPBS FD lt correct pin2 gt OK CPBW pin2 unlocked AT CPBW 1 034546565 129 xyz Write into FD storage OK AT CPBS FD lt wrong pin2 gt CME ERROR incorrect password AT CPBS FD lt pin2 longer then 8 chars gt CME ERROR text string too long G5 Family AT Comm
196. ts the CMGS lt length gt lt CR gt lt err gt result of the operation to the G5xx The following table shows the CMGS parameters lt Parameter gt Description lt da gt Destination address in quoted string This field contains a single MIN number lt toda gt Type of DA Value range is 128 255 according to GSM 03 40 9 1 2 5 If this field is not given and first character of lt da gt is lt toda gt will be 145 otherwise 129 lt length gt Size of message in PDU mode format in octets excluding SMSC data lt mr gt Sent message reference number PDU Message header and contents in PDU mode format See description in CMGW Write Message to Memory Example AT CMGS 064593042 129 gt This is the message body lt CTRL Z gt lt CTRL Z gt ends the prompt text mode and returns to regular AT command mode OK AT CMGF 0 OK AT CMGS 24 gt 079179521201009511FF0B91 7962543940F20008001400410042004300440045 lt CTRL Z gt CMGS 128 OK G5 Family AT Command User Manual Page 109 of 203 Bs FIBOCOM Note e Any character sent by TE to G5xx before G5xx has reported a result of AT CMGS operation will abort AT CMGS command execution However if SMS was already sent to network and sending operation was successful the result of operation CMGS lt mr gt will be reported by G5xx e A flex dependant enhancement enables the reporting of numeric error code to
197. ttendant message data lt length gt lt CR gt lt LF gt lt data gt lt CR gt lt LF gt CMGL lt index gt lt stat gt lt da oa gt lt scts gt lt tooa toda gt lt length gt lt CR gt lt LF gt lt data gt The parameters lt tooa toda gt lt length gt refer command shows the Text Mode Parameters CSDH and will be shown according to CSDH settings If text mode CMGF 1 command execution is successful and SMS COMMANDs CMGL lt index gt lt stat gt lt fo gt lt ct gt lt CR gt lt LF gt CMGL lt index gt lt stat gt lt fo gt lt ct gt If text mode CMGF 1 command execution is successful and CBM storage CMGL lt index gt lt stat gt lt sn gt lt mid gt lt page gt lt pages gt lt CR gt lt LF gt lt data gt lt CR gt lt LF gt CMGL lt index gt lt stat gt lt sn gt lt mid gt lt page gt lt pages gt lt CR gt lt LF gt lt data gt L If text mode CMGF 1 command execution is successful and SMS STATUS_REPORTs CMGL lt index gt lt stat gt lt fo gt lt mr gt lt ra gt lt tora gt lt sct Command Syntax Response Action Remarks Set CMGL lt If text mode CMGF 1 command execution is stat gt successful and SMS SUBMITs and or or SMS DELIVERs MMGL CMGL stats lt index gt lt stat gt lt oa da gt lt scts gt lt tooa toda gt G5 Family AT Command User Manual Page 92 of 203 Bs FIBOCOM s
198. ual Page 30 of 203 Bs FIBOCOM lt response gt Response of a successful completion of the command previously issued hexadecimal character uppercase format STATUS and GET RESPONSE return data which gives information about the current elementary data file_id This information includes the type of file and its size refer to GSM 11 11 After READ BINARY or READ RECORD command the requested data will be returned lt response gt is not returned after a successful UPDATE BINARY or UPDATE RECORD command Example AT CRSM 1 76 28478 0 0 20 CRSM 103 4 9FOF00003F000100000090000200009000563412 OK AT CRSM 192 12258 CRSM 144 0 0000000A2FE2040004FF4401020000 OK AT CRSM CRSM 176 178 192 214 220 242 12037 28599 0 255 0 255 0 255 OK 4 1 10 CCID This command returns the card identification number in SIM SIM file EFICCID see GSM 11 11 Chap 10 1 1 as string type Command Syntax Response Action Set AT CCID CCID lt ID gt OK or CME ERROR lt err gt Read AT CCID Same as above Test AT CCID OK Example G5 Family AT Command User Manual Page 31 of 203 Bs FIBOCOM AT CCID CCID 89860018190839008096 OK AT CCID OK AT CCID CCID 89860018190839008096 OK 4 2 Sleep Mode Commands When the G5xx is connected using UART connection to external device a sleep mechanism is available In order to improve the power consumption t
199. urned lt oper gt is not in BCD format but in IRA characters converted from BCD and therefore the number has the following structure country code digit 3 country code digit 2 country code digit 1 network code digit2 network code digit 1 Example AT COPS COPS 2 CHINA MOBILE CMCC 46000 3 CHINA UNICOM CHINA UNICOM 46001 OK AT COPS COPS 0 0 CHINA MOBILE OK AT COPS COPS 0 2 46000 Specific provider number OK AT COPS 2 OK AT CREG 2 OK AT COPS 1 2 46001 ERROR CREG 3 AT COPS 4 2 46001 CREG 3 CREG 2 CREG 1 27A0 0DEB OK AT COPS COPS 0 2 46000 G5 Family AT Command User Manual Page 126 of 203 Bs FIBOCOM OK 9 1 5 CPOL Preferred Operators This command is used to edit the PLMN selector lists in the SIM card or active application in the UICC GSM or USIM If no list has been previously selected the EFPLMNwWAcT user controlled PLMN selector with Access Technology list is the one accessed by default Command Syntax Response Action Remarks Set AT CPOL lt inde OK Note In case the index already exists x gt L lt format gt lt or in the list the new entry will erase the oper gt CME ERROR lt err gt old one and replace it in the list The G5xx may also update this list automatically when new networks are selected Read AT CPOL CPOL lt index1 gt lt format gt lt ope r1 gt lt CR gt
200. ussseseceaton iene ne a a E a EER OT 23 4 1 4 S Bir Map Reg O ss NS 24 4 1 5 BN VIEW Config rati O Ansasssssassssnonannn annsa na n annu ARREN RNGA R NESANS ENRE 25 4 1 6 amp F Set to Factory Defined Configuration cssssscsssssccsssssccssseccsssecessseecsssescssneecsssseeesseecesneeessneesses 25 4 1 7 Z Reset to Default Configuration sssccsssscssssscsssescesssecccsseecssnescesssccesssecessneeessnesessnseeessseeessneeessneeessee 26 4 1 8 BW Stor User Profile sccrsssscoonssssnnsecasosetasasecernissecosessessssesnaverdnasoseconsssecnsesesasedasaveveiaisseconvssecszeesnouerdnasoserenes 26 4 1 9 CRSM Restricted SIM ACCESS essssscssscsssecsssecsseccsscecssecsnseessseesusccsuscesucesssecsueessneesssecesseesssecssseessseesies 27 ANO FED eA AA AAE AEE E E EE EEA AEE 31 G5 Family AT Command User Manual Page 5 of 203 Bs FIBOCOM 4 2 Sleep Mode Commands ssescssssssssscsssecsseesssecsseecsseccsseecsneccsseccsseessseessecssseesueesueesseecsuecesseecsnecesseesasecsaseesaseess 32 4 2 1 24 Set Number of Seconds Delay Before G5xx Enters Sleep MOde scssssssccsssecccseceesseeeees 32 4 3 Error Handling Commands vs csscssccasecscssscce scorch aarciecnas eects i cain sen Ra Re 33 4 3 1 CMEE Report Mobile Equipment Error sesssssssseccsesccsseessescsseeessesessecessescsneccsseecssecssseesseecsueessees 33 4 3 2 CEER Extended Error REport ssssssssssssssscsssccsssecsseccsscesssecsnscesssecsucesusecsuceesseecssecess
201. utomatic push there is some remaining data time countdown is started Note If there is data in the accumulating buffer the MIPSETS command will be rejected Command Syntax Response Action Remarks Set MIPSETS lt Socket_ID OK Timeout is gt lt Size gt lt Timeout gt or defined in ERROR milliseconds MIPSETS lt err gt Read MIPSETS MIPSETS lt Socket_ID gt lt Current Size Settings gt lt Timeout gt OK For all ACTIVE sockets Test MIPSETS MIPSETS 1 4 list of supported lt size gt s list of supported lt Timeout gt s OK The following table shows the MIPSETS parameters lt Parameter gt Description Size Size of the buffer 1 lt size lt 2048 The default value is 1372 Timeout 0 1000 mS 0 means no timeout is used default Extended err 3 Operation not allowed G5 Family AT Command User Manual Page 173 of 203 Bs FIBOCOM Example AT MIPSETS 1 340 Asks the G5xx to accumulate 340 bytes on socket 1 prior to sending socket should be activated by the mipopen command MIPSETS 0 OK AT MIPSETS 2 400 Asks the G5xx to accumulate 400 bytes on socket 2 prior to sending MIPSETS 0 OK AT MIPSETS MIPSETS 1 4 1 1372 0 1000 OK AT MIPSETS MIPSETS 1 200 0 Information provided only for active sockets MIPSETS 2 400 0 Information provided only for active sockets OK AT MIPSETS 1 200 50 Asks the G5xx
202. value of the command is saved after a power cycle lt call_mode gt lt SMS_mo Command Syntax Response Action Remarks Set CALM lt call_mode OK The Set command sets the Call and gt lt SMS_mode gt or SMS alert sound mode CME ERROR lt err gt Read CALM CALM The Read command displays the current alert sound mode setting de gt OK Test CALM CALM 0 1 O 1 The Test command displays the list OK of supported modes The following table shows the CALM parameters lt Parameter gt Description lt call_mode gt Call alert sound mode of the G5xx 0 Ring default 1 Silent mode ring prevented lt SMS_mode gt _ SMS alert sound mode of the G5xx 0 Ring default 1 Silent mode ring prevented G5 Family AT Command User Manual Page 148 of 203 Bs FIBOCOM Note e Selecting the ring mode with this command retrieves the current alert volume level setting e SMS_mode can be omit when use Set command then SMS_mode equal to call_mode 11 2 7 VTD Tone Duration This command handles the selection of tone duration An integer lt n gt defines the length of tones emitted as a result of the VTS command This command does not affect the D dial command In this command the new value is saved after power down Note In GSM the tone duration value can be modified depending on the specific network Command Syntax Response Action Remar
203. ving the command Test AT MIPODM MIPODM list of supported lt socket_ID gt s list of supported lt source port gt s list of support d lt Destination IP gt s list of lt destination port gt s list of supported lt protocol gt s list of supported lt Pseudo Command Mode state gt s The following table shows the MIPODM parameters lt Parameter gt Description Socket_ID A unique number that identifies a connection Valid socket numbe s 1 2 3 and 4 Source Port Port of source site Port range 1 65535 decimal digits Remote IP IP of the remote site in the form t AAA BBB CCC DD The range of each octet is 0 255 The value can be written in 1 2 or 3 digits Host name of remote site The host name convention should meet the rules as describe in RFC 1035 section 2 3 Conventions Syntax is not validated except the maximum length 255 characters Remote Port Port of remote site Port range 1 65535 decimal digits for outgoing connection Port 0 for incoming connection Protocol Type of protocol stack 0 TCP 1 UDP State 0 Inactive 1 Active Pseudo Optional parameter enables disables Pseudo Command Mode when ODM Command Mode On Off executed and G5xx is in PREMUX state 0 Enable default value when G5xx is in PREMUX state 1 Disable Notes It does not recommend using port numbers below 1024 These numbers are defined to be
204. viors The basic GPRS concept is be always connected and there is no charge for being connected only per real data transferred 12 2 GPRS Commands This section defines commands that a terminal may use to control a GPRS ME GPRS MTs vary widely in functionality A class AME might support multiple PDP types as well as circuit switched data and use multiple external networks QoS profiles At the other extreme a class C ME might support only a single PDP type using a single external network and rely on the HLR to contain the PDP context definition A comprehensive set of GPRS specific commands is defined below to provide the flexibility needed by the more complex ME The commands are designed to be expandable to accommodate new PDP types and interface protocols merely by defining new values for many of the parameters Multiple contexts may be activated if the interface link layer protocol is able to support them The commands use the extended information and error message capabilities described in this specification For MTs of intermediate complexity most commands have simplified forms where certain parameters may be omitted For the simplest MTs and for backwards compatibility with existing communications software it is possible to control access to the GPRS using existing modem compatible commands This modem compatible mode of operation is described below 12 2 1 CGCLASS GPRS Mobile Station Class This command is used to set the
205. x The default value at power up is 0 Default alphabet lt Parameter gt Description 0 to 143 TP VP 1 x 5 minutes i e 5 minutes intervals up to 12 hours 144 to 167 12 hours TP VP 143 x 30 minutes 168 to 196 TP VP 166 x 1 day 197 to 255 TP VP 192 x 1 week Example AT CSMP CSMP 17 167 0 0 default values for SMS SUBMIT OK AT CSMP 1 256 0 0 CMS ERROR numeric parameter out of bounds AT CSMP OK AT CSDH 1 OK AT CMGF 1 OK AT CMGW 15820447141 gt ABC Z CMGW 6 OK AT CMGR 6 CMGR STO UNSENT 15820447141 129 17 0 0 167 8613800755500 145 3 ABC OK G5 Family AT Command User Manual Page 84 of 203 Bs FIBOCOM 7 1 5 CSDH Show Text Mode Parameters This command controls whether detailed header information is shown in text mode result codes Command Syntax Response Action Remarks Set CSDH lt show gt OK The set command controls whether or detailed header information is CMS ERROR lt err gt shown in text mode result codes Read AT CSDH CSDH lt show gt The read command returns the OK current lt show gt parameter value Test AT CSDH CSDH list of supported lt show gt s OK The following table shows the CSDH parameters lt Parameter gt Description lt show gt 0 Means do not show header values defined in commands CSCA and CSMP lt sca gt lt tosca gt lt fo gt lt vp gt lt pid gt
206. y to set date time and time zone by CCLK Set Command Note See Execute Command for how to enable back network update time Test CCLK CCLK list of The Test command returns valid parameters for the supported CCLK Set command lt time gt s OK G5 Family AT Command User Manual Page 75 of 203 Bs FIBOCOM The following table shows the CCLK parameters lt Parameter gt Description lt time gt ASCII string of format yy MM dd hh mm ss zz or yy MM dd hh mm ss or yy MM dd hh mm yy 2 digit year 2000 2069 MM 2 digit month 01 12 dd 2 digit day of month 00 31 hh 2 digit hour 00 23 mm 2 digit minute 00 59 ss 2 digit seconds 00 59 zz optional week Example AT CCLK CCLK 88 12 31 23 59 59 47 48 OK AT CCLK 01 01 01 01 01 01 06 OK AT CCLK CCLK 01 01 01 01 01 01 06 OK G5 Family AT Command User Manual Page 76 of 203 Bs FIBOCOM 7 SMS 7 1 SMS Commands G5xx supports SMS PDU and SMS TEXT mode according to ETSI specifications 07 05 amp 3 40 7 1 1 CPMS Preferred Message Storage This command handles the selection of the preferred message storage area The message storage area is divided into three parts mem1 mem2 and mem3 Command Syntax Response Action Remarks Set CPMS lt me CPMS The Set command sets mi gt lt mem2 lt used1 gt lt totall gt lt use
207. ystems Example AT MIPOPEN 1 1200 123 245 213 012 1234 0 Opening socket 1 using TCP protocol from port 1200 targeting 123 245 213 012 port 1234 AT MIPOPEN 2 1300 123 133 074 192 1242 1 Opening socket 2 using UDP protocol from port 1300 targeting 123 133 074 192 port 1242 AT MIPOPEN 1 1222 123 245 213 012 1234 0 Opening socket 1 using TCP protocol from port 1222 targeting 123 245 213 012 port 1234 AT MIPOPEN nvalid command ERROR AT MIPOPEN Terminal checking the free sockets MIPOPEN 3 4 OK AT MIPOPEN 1 0 WWW GOOGLE COM 80 0 TCP OK G5 Family AT Command User Manual Page 170 of 203 Bs FIBOCOM MIPOPEN 1 1 AT MIPOPEN 2 0 www google com 80 1 UDP OK MIPOPEN 2 1 Listen socket over TCP AT MIPOPEN 1 1100 0 0 0 0 0 0 OK MIPOPEN 1 1 122 221 32 64 1200 Listens to any port at any IP Remote side connected to the listen socket AT MIPOPEN 3 3212 122 1 222 134 0 0 Listen to any port at specific IP OK MIPOPEN 3 1 122 1 222 134 1222 OK Remote side connected to the listen socket 13 1 3 MIPCLOSE Close a Socket This command causes the G5xx to free the socket accumulating buffer and to close the socket Note All data stored in the accumulating buffer will be lost Command Syntax Response Action Set MIPCLOSE lt Socket_ID gt L lt Mode gt OK MIPCLOSE lt Socket_ID gt lt number_of_acknowledged_bytes gt lt clo
Download Pdf Manuals
Related Search
Related Contents
MANUAL DE INSTRUÇÕES oneQ B.V. Nederland ® Bedienungsanleitung 取扱説明書 - 三菱電機 USER MANUAL Copyright © All rights reserved.
Failed to retrieve file