blob: b6e29d3318fe560e290a3c32f05b2711ba15dbc5 [file] [log] [blame]
<?xml version="1.0"?>
<simulator>
<!-- Phone simulator definition file for the "Qt Extended Pseudo Phone" -->
<!-- Note: dialing 199 will cause a dialback to simulate an incoming call -->
<!-- Note: dialing 177 will cause a dialback to simulate an incoming call, and hangup after 5 seconds -->
<!-- Note: dialing 166 will accept the incoming call and hangup up after 5 seconds-->
<!-- Note: dialing 155 will elicit a 'BUSY' response from the recipient-->
<!-- Note: dialing 05123xx cause an MT disconnect of the connected call after xx seconds-->
<!-- Note: dialing 06123xx cause an automatic accept after xx seconds-->
<!-- Initialize state variables -->
<!-- Advice of charge -->
<!-- Call Meter -->
<set name="AOC" value="000000"/>
<!-- Call Meter reporting -->
<set name="AOCMODE" value="1"/>
<!-- Accumulated Call Meter -->
<set name="ACM" value="000480"/>
<!-- Accumulated Call Meter Maximum -->
<set name="ACMMAX" value="000500"/>
<!-- Price per Unit and Currency -->
<set name="PPU" value='GBP","2.66'/>
<!-- Battery Capacity
first value
0-powered by battery
1-battery connected, powered by charger
2-no battery.
second value is percentage battery remaining.
0-exhausted
1-99-partial charge
100-fully charged.
-->
<set name="BC" value="0,100"/>
<!-- Signal Quality -->
<set name="SQ" value="31,99"/>
<!-- Manufacturer -->
<set name="GMI" value="MeeGo"/>
<!-- Model -->
<set name="GMM" value="Synthetic Device"/>
<!-- Revision -->
<set name="GMR" value="REV1"/>
<!-- Serial number -->
<set name="GSN" value="1234567890"/>
<!-- SIM card id -->
<set name="IMSI" value="246813579"/>
<!-- Identifier for ATI command -->
<set name="ID" value="MeeGo Synthetic Phone"/>
<!-- Character set -->
<set name="SCS" value="IRA"/>
<!-- Type of address (local = 129, international = 145) -->
<set name="STA" value="129"/>
<!-- Service reporting control flag -->
<set name="CR" value="0"/>
<!-- Cellular result code control flag -->
<set name="CRC" value="0"/>
<!-- Extended error message string -->
<set name="ERR" value="EXTENDED ERROR STRING"/>
<!-- Network registration presentation flag -->
<set name="REG" value="1,0"/>
<!-- GPRS network registration presentation flag -->
<set name="GREG" value="0"/>
<!-- Packet domain event reporting -->
<set name="GEREP" value="2"/>
<!-- Mobile phone operator selection mode (0=auto, 1=manual, 2=deregister, 3=set only <format>, 4=manual / automatic) -->
<set name="OPMODE" value="0"/>
<!-- Mobile phone operator selection format (0=long alphanumeric, 1=short alphanumeric, 2=numeric -->
<set name="OPFORMAT" value="0"/>
<!-- GCF Operator List, format <status(1:available,2:current,3:forbidden)>,"<alphanum.operator name>","<short operator name>","<MCC/MNC num>"-->
<set name="OP1" value="T-MeeGo"/>
<set name="OP1PLMN" value="23401"/>
<set name="OP1STATE" value="2"/>
<set name="OP2" value="Maybe Forbidden Net"/>
<set name="OP2PLMN" value="23402"/>
<set name="OP2STATE" value="3"/>
<set name="OP3" value="Competitor Net"/>
<set name="OP3PLMN" value="23403"/>
<set name="OP3STATE" value="3"/>
<set name="OP4" value="Blocked Net"/>
<set name="OP4PLMN" value="23404"/>
<set name="OP4STATE" value="3"/>
<set name="OP5" value="Inaccessible Net"/>
<set name="OP5PLMN" value="23405"/>
<set name="OP5STATE" value="3"/>
<set name="OP6" value="Phone Net"/>
<set name="OP6PLMN" value="23406"/>
<set name="OP6STATE" value="1"/>
<set name="OP7" value="Teleco Net"/>
<set name="OP7PLMN" value="24681"/>
<set name="OP7STATE" value="1"/>
<set name="OP8" value="Mobile Net"/>
<set name="OP8PLMN" value="24682"/>
<set name="OP8STATE" value="1"/>
<set name="OP9" value="IMSI Unknown"/>
<set name="OP9PLMN" value="24683"/>
<set name="OP9STATE" value="1"/>
<set name="OP10" value="NotAllowed"/>
<set name="OP10PLMN" value="24684"/>
<set name="OP10STATE" value="1"/>
<set name="OP11" value="NoService"/>
<set name="OP11PLMN" value="24685"/>
<set name="OP11STATE" value="1"/>
<!-- Preferred Operators -->
<set name="PO1" value="1,2,23401"/>
<set name="PO2" value="2,2,23402"/>
<!-- Name of current mobile phone operator -->
<set name="OP" value="${OP1}"/>
<set name="OPPLMN" value="${OP1PLMN}"/>
<!-- Calling line identification presentation flag -->
<set name="LIP" value="0"/>
<!-- Calling line identification restriction flag -->
<set name="LIR" value="0"/>
<set name="LIR_STATUS" value="3"/>
<!-- Originating line identification presentation flag -->
<set name="OLP" value="0"/>
<!-- Call waiting presentation mode -->
<set name="CWA_V" value="1"/>
<set name="CWA_D" value="0"/>
<set name="CWA_F" value="0"/>
<!-- Call forwarding -->
<set name="CF0C1" value="0"/>
<set name="CF0C2" value="0"/>
<set name="CF0C4" value="0"/>
<set name="CF0C8" value="0"/>
<set name="CF1C1" value="0"/>
<set name="CF1C2" value="0"/>
<set name="CF1C4" value="0"/>
<set name="CF1C8" value="0"/>
<set name="CF2C1" value="0"/>
<set name="CF2C2" value="0"/>
<set name="CF2C4" value="0"/>
<set name="CF2C8" value="0"/>
<set name="CF3C1" value="0"/>
<set name="CF3C2" value="0"/>
<set name="CF3C4" value="0"/>
<set name="CF3C8" value="0"/>
<set name="CF0C1T" value="129"/>
<set name="CF1C1T" value="129"/>
<set name="CF2C1T" value="129"/>
<set name="CF3C1T" value="129"/>
<set name="CF2C1O" value="20"/>
<!-- Service Center Address -->
<set name="SCA" value="+15551234567"/>
<set name="SCAT" value="145"/>
<!-- Fixed Dialling presentation mode -->
<set name="FD" value="0"/>
<!-- Unstructured service presentation mode -->
<set name="USD" value="0"/>
<!-- Supplementary service notification flags -->
<set name="SSN" value="0,0"/>
<!-- Phone activity status (ready = 0, ringing = 3, call active = 4) -->
<set name="PAS" value="0"/>
<!-- Phone functionality power consumption level (minimal = 0, full = 1) -->
<set name="FUN" value="4"/>
<!-- Mobile equipment control modes -->
<set name="MEC" value="0,0,0"/>
<!-- Mobile equipment event reporting modes -->
<set name="MER" value="0,0,0,0,0"/>
<!-- Ericsson-style call monitoring status values -->
<set name="ECAM" value="0"/>
<!-- SMS text vs PDU message format (1 = text, 0 = PDU) -->
<set name="CMGF" value="0"/>
<!-- Error reporting mode -->
<set name="MEE" value="0"/>
<!-- SMS message list -->
<set name="MSGLIST" value=""/>
<set name="MSGLISTCOPY" value=""/>
<set name="MSGMEM" value="SM"/>
<!-- Number of messages in the SMS message list -->
<set name="MSGCOUNT" value="0"/>
<!-- Identifier for the current call -->
<set name="CALLID" value="1"/>
<!-- Name of the PIN that is required (eg. "PIN") -->
<!-- READY: PIN/PUK not required; SIM PIN: PIN required; SIM PUK: PUK REQUIRED -->
<set name="PINNAME" value="READY"/>
<!-- Value of the PIN that is required -->
<set name="PINVALUE" value="2468"/>
<!-- How many times can PIN unlocking be attempted -->
<set name="PINRETRYCOUNT" value="3"/>
<!-- pin protection status -->
<set name="SC" value="0"/>
<!-- Value of the PIN2 that is required -->
<set name="PIN2VALUE" value="3579"/>
<!-- Value of the PUK that is required -->
<set name="PUKVALUE" value="13243546"/>
<!-- Value of the PUK2 that is required -->
<set name="PUK2VALUE" value="08978675"/>
<!-- Value of the PSPIN that is required -->
<set name="PSPINVALUE" value="4321"/>
<!-- phone to sim pin protection status -->
<set name="PS" value="0"/>
<!-- Value of the SIM PIN2 that is required -->
<set name="SIMPIN2VALUE" value="31337"/>
<!-- Call Barring -->
<set name="BARVAO" value="0"/>
<set name="BARVOI" value="0"/>
<set name="BARVOX" value="0"/>
<set name="BARVAI" value="0"/>
<set name="BARVIR" value="0"/>
<set name="BARVNT" value="0"/>
<set name="BARVNM" value="0"/>
<set name="BARVNS" value="0"/>
<set name="BARVNA" value="0"/>
<set name="BARVAB" value="0"/>
<set name="BARVAG" value="0"/>
<set name="BARVAC" value="0"/>
<!-- accessories, handsfree and car. 0 means not connected, 1 for connected -->
<set name="HANDSFREE" value="0"/>
<set name="CARHANDSFREE" value="0"/>
<!-- list of available bands -->
<set name="BAND0" value="GSM &amp; EGSM"/>
<set name="BAND1" value="GSM 1800"/>
<set name="BAND2" value="Dualband 900/1800"/>
<set name="BAND3" value="PCS 1900"/>
<set name="BAND4" value="GSM 850"/>
<set name="BAND5" value="Dualband 1900/850"/>
<set name="BAND6" value=""/>
<set name="BAND7" value=""/>
<set name="BAND8" value=""/>
<set name="BAND9" value=""/>
<set name="BANDA" value=""/>
<set name="BANDB" value=""/>
<set name="BANDC" value=""/>
<set name="BANDD" value=""/>
<set name="BANDE" value=""/>
<set name="BANDF" value=""/>
<!-- current band. 0 means automatic and 1,"name" means manually select "name" -->
<set name="BAND" value="0"/>
<!-- Loudspeaker Volume Level -->
<set name="LVL" value="125"/>
<!-- Muting control -->
<set name="MUT" value="0"/>
<!-- CGSMS Bearer control -->
<set name="CGSMS" value="3"/>
<!-- TTY (hearing impared) state -->
<set name="PTTY" value="1" />
<!-- Positioning reporting state -->
<set name="CPOSR" value="0" />
<!-- SIM insertion state -->
<set name="SIMSTATE" value="1" />
<!-- SIM Auth -->
<simauth ki="90dca4eda45b53cf0f12d7c9c3bc6a89" opc="cb9cccc4b9258e6dca4760379fb82581" sqn="000000000021">
</simauth>
<!-- Time -->
<!-- Enable for testing
<unsolicited delay="3000" once="true">*TTZ: 2, "11/25/2007, 12:12:12+40", 0</unsolicited>
<unsolicited delay="3000" once="true">*TTZ: 2, "Cingluar", 0</unsolicited>
-->
<!-- GSM 07.07: General commands -->
<chat>
<!-- Get manufacturer identifier -->
<command>AT+CGMI</command>
<response>${GMI}\n\nOK</response>
</chat>
<chat>
<!-- Get manufacturer identifier support check -->
<command>AT+CGMI=?</command>
<response>OK</response>
</chat>
<chat>
<!-- Get manufacturer identifier, V.25ter version -->
<command>AT+GMI</command>
<response>${GMI}\n\nOK</response>
</chat>
<chat>
<!-- Get manufacturer model -->
<command>AT+CGMM</command>
<response>${GMM}\n\nOK</response>
</chat>
<chat>
<!-- Get manufacturer model, V.25ter version -->
<command>AT+GMM</command>
<response>${GMM}\n\nOK</response>
</chat>
<chat>
<!-- Get manufacturer model support check -->
<command>AT+CGMM=?</command>
<response>OK</response>
</chat>
<chat>
<!-- Get manufacturer revision -->
<command>AT+CGMR</command>
<response>${GMR}\n\nOK</response>
</chat>
<chat>
<!-- Get manufacturer revision, V.25ter version -->
<command>AT+GMR</command>
<response>${GMR}\n\nOK</response>
</chat>
<chat>
<!-- Get manufacturer revision support check -->
<command>AT+CGMR=?</command>
<response>OK</response>
</chat>
<chat>
<!-- Get serial number -->
<command>AT+CGSN</command>
<response>${GSN}\n\nOK</response>
</chat>
<chat>
<!-- Get serial number support check -->
<command>AT+CGSN=?</command>
<response>OK</response>
</chat>
<chat>
<!-- Get serial number, V.25ter version -->
<command>AT+GSN</command>
<response>${GSN}\n\nOK</response>
</chat>
<chat>
<!-- Get SIM id -->
<command>AT+CIMI</command>
<response>${IMSI}\n\nOK</response>
</chat>
<chat>
<!-- Get SIM id support check -->
<command>AT+CIMI=?</command>
<response>OK</response>
</chat>
<chat>
<!-- Query current character set -->
<command>AT+CSCS?</command>
<response>+CSCS: "${SCS}"\n\nOK</response>
</chat>
<chat>
<!-- Query all supported character sets -->
<command>AT+CSCS=?</command>
<response>+CSCS: "GSM","IRA","PCCP437","PCDN","8859-1","HEX","UCS2"\n\nOK</response>
</chat>
<chat>
<!-- Set character set -->
<command>AT+CSCS="*"</command>
<response>OK</response>
<set name="SCS" value="*"/>
</chat>
<chat>
<!-- Query current wireless network (GSM = 12) -->
<command>AT+WS46?</command>
<response>12\n\nOK</response>
</chat>
<chat>
<!-- Query all supported wireless network types -->
<command>AT+WS46=?</command>
<response>(12)\n\nOK</response>
</chat>
<chat>
<!-- Select GSM wireless network -->
<command>AT+WS46=12</command>
<response>OK</response>
</chat>
<!-- GSM 07.07: Call control commands and methods -->
<chat>
<!-- Query current type of address (local = 129, international = 145) -->
<command>AT+CSTA?</command>
<response>${STA}\n\nOK</response>
</chat>
<chat>
<!-- Query supported address types -->
<command>AT+CSTA=?</command>
<response>(129, 145)\n\nOK</response>
</chat>
<chat>
<!-- Set type of address to local -->
<command>AT+CSTA=129</command>
<response>OK</response>
<set name="STA" value="129"/>
</chat>
<chat>
<!-- Set type of address to international -->
<command>AT+CSTA=145</command>
<response>OK</response>
<set name="STA" value="145"/>
</chat>
<chat>
<!-- Query bearer service type (autobauding = 0) -->
<command>AT+CBST?</command>
<response>+CBST: 0\n\nOK</response>
</chat>
<chat>
<!-- Query supported bearer service types -->
<command>AT+CBST=?</command>
<response>+CBST: (0),(0),(0)\n\nOK</response>
</chat>
<chat>
<!-- Set bearer service type -->
<command>AT+CBST=*</command>
<response>OK</response>
</chat>
<chat>
<!-- Query radio link protocol -->
<command>AT+CRLP?</command>
<response>+CRLP: 61,61,48,6\n\nOK</response>
</chat>
<chat>
<!-- Query supported radio link protocols -->
<command>AT+CRLP=?</command>
<response>+CRLP: (61),(61),(48),(6)\n\nOK</response>
</chat>
<chat>
<!-- Set radio link protocol -->
<command>AT+CRLP=*</command>
<response>OK</response>
</chat>
<chat>
<!-- Query service reporting control -->
<command>AT+CR?</command>
<response>+CR: ${CR}\n\nOK</response>
</chat>
<chat>
<!-- Query supported service reporting controls -->
<command>AT+CR=?</command>
<response>+CR: (0,1)\n\nOK</response>
</chat>
<chat>
<!-- Disable service reporting control -->
<command>AT+CR=0</command>
<response>OK</response>
<set name="CR" value="0"/>
</chat>
<chat>
<!-- Enable service reporting control -->
<command>AT+CR=1</command>
<response>OK</response>
<set name="CR" value="1"/>
</chat>
<chat>
<!-- Extended error report -->
<command>AT+CEER</command>
<response>+CEER: ${ERR}\n\nOK</response>
</chat>
<chat>
<!-- Query extended celluar result code status -->
<command>AT+CRC?</command>
<response>+CRC: ${CRC}\n\nOK</response>
</chat>
<chat>
<!-- Query supported cellular result code status values -->
<command>AT+CRC=?</command>
<response>+CRC: (0,1)\n\nOK</response>
</chat>
<chat>
<!-- Disable extended cellular result codes -->
<command>AT+CRC=0</command>
<response>OK</response>
<set name="CRC" value="0"/>
</chat>
<chat>
<!-- Enable extended cellular result codes -->
<command>AT+CRC=1</command>
<response>OK</response>
<set name="CRC" value="1"/>
</chat>
<chat>
<!-- Query Ericsson-style call monitoring status -->
<command>AT*ECAM?</command>
<response>*ECAM: ${ECAM}\n\nOK</response>
</chat>
<chat>
<!-- Query supported call monitoring status values -->
<command>AT*ECAM=?</command>
<response>*ECAM: (0,1)\n\nOK</response>
</chat>
<chat>
<!-- Disable call monitoring -->
<command>AT*ECAM=0</command>
<response>OK</response>
<set name="ECAM" value="0"/>
</chat>
<chat>
<!-- Enable call monitoring -->
<command>AT*ECAM=1</command>
<response>OK</response>
<set name="ECAM" value="1"/>
</chat>
<!-- GSM 07.07: Network service related commands -->
<chat>
<!-- Query subscriber number -->
<command>AT+CNUM</command>
<response>+CNUM: ,"+358501234567",145,,4\n\nOK</response>
</chat>
<chat>
<!-- Determine if subscriber number queries are supported -->
<command>AT+CNUM=?</command>
<response>OK</response>
</chat>
<chat>
<!-- Query network registration result code presentation -->
<command>AT+CREG?</command>
<response>+CREG: ${REG},1\n\nOK</response>
</chat>
<chat>
<!-- Query supported network registration result code presentation types -->
<command>AT+CREG=?</command>
<response>+CREG: (0,1,2)\n\nOK</response>
</chat>
<chat>
<!-- Set network registration result code presentation -->
<command>AT+CREG=*</command>
<response>OK</response>
<set name="REG" value="*"/>
</chat>
<chat>
<!-- Query GPRS network registration result code presentation -->
<command>AT+CGREG?</command>
<response>+CGREG: ${GREG},1\n\nOK</response>
</chat>
<chat>
<!-- Query GPRS network registration result code presentation types -->
<command>AT+CGREG=?</command>
<response>+CGREG: (0,1,2)\n\nOK</response>
</chat>
<chat>
<!-- Set GPRS network registration result code presentation -->
<command>AT+CGREG=*</command>
<response>OK</response>
<set name="GREG" value="*"/>
</chat>
<chat>
<!-- Query Packet domain event reporting -->
<command>AT+CGEREP?</command>
<response>+CGREG: ${CGEREP}\n\nOK</response>
</chat>
<chat>
<!-- Query Packet domain event reporting capabilities -->
<command>AT+CGEREP=?</command>
<response>+CGEREP: (0,1,2)\n\nOK</response>
</chat>
<chat>
<!-- Set Packet domain event reporting -->
<command>AT+CGEREP=*</command>
<response>OK</response>
<set name="GEREP" value="*"/>
</chat>
<!-- ****************** PLMN Selection ***************************** -->
<chat>
<!-- Request PLMNS descriptors -->
<command>AT+COPN</command>
<response delay="2000">+COPN: ${OP1PLMN},"${OP1}"\n+COPN: ${OP2PLMN},"${OP2}"\n+COPN: ${OP3PLMN},"${OP3}"\n+COPN: ${OP4PLMN},"${OP4}"\n+COPN: ${OP5PLMN},"${OP5}"\n+COPN: ${OP6PLMN},"${OP6}"\n+COPN: ${OP7PLMN},"${OP7}"\n+COPN: ${OP8PLMN},"${OP8}"\n+COPN: ${OP9PLMN},"${OP9}"\n+COPN: ${OP10PLMN},"${OP10}"\n+COPN: ${OP11PLMN},"${OP11}"\n\nOK</response>
</chat>
<chat>
<!-- Query current operator selection -->
<command>AT+COPS?</command>
<response delay="500">+COPS: ${OPMODE},${OPFORMAT},${OPDATA}\n\nOK</response>
</chat>
<chat>
<!-- Query current operator and plmn (Example) -->
<command>AT+COPS=3,2;+COPS?;+COPS=3,0;+COPS?</command>
<response delay="500">+COPS: 0,2,&quot;${OPPLMN}&quot;\n+COPS: 0,0,&quot;${OP}&quot;\n\nOK</response>
</chat>
<chat>
<!-- Query supported operators, always reports -->
<command>AT+COPS=?</command>
<response delay="2000">+COPS: (${OP1STATE},&quot;${OP1}&quot;,&quot;TTAU&quot;,&quot;${OP1PLMN}&quot;,2),(${OP2STATE},&quot;${OP2}&quot;,&quot;MFN&quot;,&quot;${OP2PLMN}&quot;,0),(${OP2STATE},&quot;${OP2}&quot;,&quot;MFN&quot;,&quot;${OP2PLMN}&quot;,2),(${OP3STATE},&quot;${OP3}&quot;,&quot;CNT&quot;,&quot;${OP3PLMN}&quot;),(${OP4STATE},&quot;${OP4}&quot;,&quot;BNT&quot;,&quot;${OP4PLMN}&quot;),(${OP5STATE},&quot;${OP5}&quot;,&quot;INT&quot;,&quot;${OP5PLMN}&quot;),(${OP6STATE},&quot;${OP6}&quot;,&quot;PNT&quot;,&quot;${OP6PLMN}&quot;),(${OP7STATE},&quot;${OP7}&quot;,&quot;TNT&quot;,&quot;${OP7PLMN}&quot;),(${OP8STATE},&quot;${OP8}&quot;,&quot;MNT&quot;,&quot;${OP8PLMN}&quot;),(${OP9STATE},&quot;${OP9}&quot;,&quot;IMSI&quot;,&quot;${OP9PLMN}&quot;),(${OP10STATE},&quot;${OP10}&quot;,&quot;NOT&quot;,&quot;${OP10PLMN}&quot;),(${OP11STATE},&quot;${OP11}&quot;,&quot;SER&quot;,&quot;${OP11PLMN}&quot;),(${OP1STATE},&quot;${OP1}&quot;,&quot;TTAU&quot;,&quot;${OP1PLMN}&quot;,0)\n\nOK</response>
</chat>
<chat>
<!-- Use long name for operators -->
<command>AT+COPS=3,0</command>
<set name="OPFORMAT" value="0"/>
<set name="OPDATA" value="&quot;${OP}&quot;"/>
<response>OK</response>
</chat>
<chat>
<!-- Use MCC/MNC for operators -->
<command>AT+COPS=3,2</command>
<set name="OPFORMAT" value="2"/>
<set name="OPDATA" value="&quot;${OPPLMN}&quot;"/>
<response delay="500">OK</response>
</chat>
<chat>
<!-- Set automatic operator selection -->
<command>AT+COPS=0*</command>
<set name="OPMODE" value="0"/>
<response>OK</response>
</chat>
<chat>
<!-- Set manual operator selection OP1 (Alphanumeric) -->
<command>AT+COPS=1,0,"${OP1}"</command>
<set name="OP" value="${OP1}"/>
<set name="OPPLMN" value="${OP1PLMN}"/>
<set name="OPMODE" value="1"/>
<set name="OP1STATE" value="2"/>
<set name="OP6STATE" value="1"/>
<response delay="500">OK</response>
</chat>
<chat>
<!-- Set manual operator selection OP1 (MCC/MNC) -->
<command>AT+COPS=1,2,"${OP1PLMN}"</command>
<set name="OP" value="${OP1}"/>
<set name="OPPLMN" value="${OP1PLMN}"/>
<set name="OPMODE" value="1"/>
<set name="OP1STATE" value="2"/>
<set name="OP6STATE" value="1"/>
<response delay="500">OK</response>
</chat>
<!-- ****************************************** -->
<!-- Networks 2 - 4 refuse network registration -->
<chat>
<!-- Refuse access to OP2 (Alphanumeric) -->
<command>AT+COPS=1,0,${OP2}</command>
<response>ERROR</response>
</chat>
<chat>
<!-- Refuse access to OP3 (Alphanumeric) -->
<command>AT+COPS=1,0,${OP3}</command>
<response>ERROR</response>
</chat>
<chat>
<!-- Refuse access to OP4 (Alphanumeric) -->
<command>AT+COPS=1,0,${OP4}</command>
<response>ERROR</response>
</chat>
<chat>
<!-- Refuse access to OP2 (MCC/MNC) -->
<command>AT+COPS=1,2,${OP2PLMN}</command>
<response>ERROR</response>
</chat>
<chat>
<!-- Refuse access to OP3 (MCC/MNC) -->
<command>AT+COPS=1,2,${OP3PLMN}</command>
<response>ERROR</response>
</chat>
<chat>
<!-- Refuse access to OP4 (MCC/MNC) -->
<command>AT+COPS=1,2,${OP4PLMN}</command>
<response>ERROR</response>
</chat>
<!-- ****************************************** -->
<chat>
<!-- Set manual operator selection OP6 (Alphanumeric) -->
<command>AT+COPS=1,0,"${OP6}"</command>
<set name="OP" value="${OP6}"/>
<set name="OPPLMN" value="${OP6PLMN}"/>
<set name="OPMODE" value="1"/>
<set name="OP6STATE" value="2"/>
<set name="OP1STATE" value="1"/>
<set name="OP7STATE" value="1"/>
<set name="OP8STATE" value="1"/>
<response delay="500">OK</response>
</chat>
<chat>
<!-- Set manual operator selection OP6 (MCC/MNC) -->
<command>AT+COPS=1,2,"${OP6PLMN}"</command>
<set name="OP" value="${OP6}"/>
<set name="OPPLMN" value="${OP6PLMN}"/>
<set name="OPMODE" value="1"/>
<set name="OP6STATE" value="2"/>
<set name="OP1STATE" value="1"/>
<set name="OP7STATE" value="1"/>
<set name="OP8STATE" value="1"/>
<response delay="500">OK</response>
</chat>
<chat>
<!-- Set manual operator selection OP7 (Alphanumeric) -->
<command>AT+COPS=1,0,"${OP7}"</command>
<set name="OP" value="${OP7}"/>
<set name="OPPLMN" value="${OP7PLMN}"/>
<set name="OPMODE" value="1"/>
<set name="OP7STATE" value="2"/>
<set name="OP1STATE" value="1"/>
<set name="OP6STATE" value="1"/>
<set name="OP8STATE" value="1"/>
<response delay="500">OK</response>
</chat>
<chat>
<!-- Set manual operator selection OP7 (MCC/MNC) -->
<command>AT+COPS=1,2,&quot;${OP7PLMN}&quot;</command>
<set name="OP" value="${OP7}"/>
<set name="OPPLMN" value="${OP7PLMN}"/>
<set name="OPMODE" value="1"/>
<set name="OP7STATE" value="2"/>
<set name="OP1STATE" value="1"/>
<set name="OP6STATE" value="1"/>
<set name="OP8STATE" value="1"/>
<response delay="500">OK</response>
</chat>
<chat>
<!-- Set manual operator selection OP8 (Alphanumeric) -->
<command>AT+COPS=1,0,"${OP8}"</command>
<set name="OP" value="${OP8}"/>
<set name="OPPLMN" value="${OP8PLMN}"/>
<set name="OPMODE" value="1"/>
<set name="OP8STATE" value="2"/>
<set name="OP1STATE" value="1"/>
<set name="OP6STATE" value="1"/>
<set name="OP7STATE" value="1"/>
<response delay="500">OK</response>
</chat>
<chat>
<!-- Set manual operator selection OP8 (MCC/MNC) -->
<command>AT+COPS=1,2,"${OP8PLMN}"</command>
<set name="OP" value="${OP8}"/>
<set name="OPPLMN" value="${OP8PLMN}"/>
<set name="OPMODE" value="1"/>
<set name="OP8STATE" value="2"/>
<set name="OP1STATE" value="1"/>
<set name="OP6STATE" value="1"/>
<set name="OP7STATE" value="1"/>
<response delay="500">OK</response>
</chat>
<!-- *********** Error Service providers ********************** -->
<chat>
<!-- Set failed register (IMSI unknown) to OP9 (Alphanumeric) -->
<command>AT+COPS=1,0,"${OP9}"</command>
<response delay="1500">+CMS ERROR: 30</response>
</chat>
<chat>
<!-- Set failed register (IMSI unknown) to OP9 (MCC/MNC) -->
<command>AT+COPS=1,2,${OP9PLMN}</command>
<response delay="1500">+CMS ERROR: 30</response>
</chat>
<chat>
<!-- Set failed register (Not Allowed) to OP10 (Alphanumeric) -->
<command>AT+COPS=1,0,"${OP10}"</command>
<response delay="1500">+CME ERROR: 32</response>
</chat>
<chat>
<!-- Set failed register (Not Allowed) to OP10 (MCC/MNC) -->
<command>AT+COPS=1,2,${OP10PLMN}</command>
<response delay="1500">+CME ERROR: 32</response>
</chat>
<chat>
<!-- Set failed register (No Service) to OP11 (Alphanumeric) -->
<command>AT+COPS=1,0,"${OP11}"</command>
<response delay="1500">+CME ERROR: 30</response>
</chat>
<chat>
<!-- Set failed register (No Service) to OP11 (MCC/MNC) -->
<command>AT+COPS=1,2,${OP11PLMN}</command>
<response delay="1500">+CME ERROR: 30</response>
</chat>
<!-- ****************** Preferred Operator Selection ***************************** -->
<chat>
<!-- Request selection of preferred PLMN list -->
<command>AT+CPLS?</command>
<response delay="1000">+CPLS: 0\n\nOK</response> -->
</chat>
<chat>
<!-- Request preferred operators -->
<command>AT+CPOL?</command>
<response delay="2000">+CPOL: ${PO1}\n+CPOL: ${PO2}\n\nOK</response>
</chat>
<chat>
<!-- Set preferred operator 1 -->
<command>AT+CPOL=1,2,*</command>
<response>OK</response>
<set name="PO1" value="1,2,${*}"/>
</chat>
<chat>
<!-- Remove preferred operator 1 -->
<command>AT+CPOL=1</command>
<response>OK</response>
<set name="PO1" value=""/>
</chat>
<chat>
<!-- Set preferred operator 2 -->
<command>AT+CPOL=2,2,*</command>
<response>OK</response>
<set name="PO2" value="2,2,${*}"/>
</chat>
<chat>
<!-- Remove preferred operator 2 -->
<command>AT+CPOL=2</command>
<response>OK</response>
<set name="PO2" value=""/>
</chat>
<chat>
<!-- Set preferred operator 3 -->
<command>AT+CPOL=3,2,*</command>
<response>OK</response>
<set name="PO3" value="3,2,${*}"/>
</chat>
<chat>
<!-- Remove preferred operator 3 -->
<command>AT+CPOL=3</command>
<response>OK</response>
<set name="PO3" value=""/>
</chat>
<chat>
<!-- Set preferred operator 4 -->
<command>AT+CPOL=4,2,*</command>
<response>OK</response>
<set name="PO4" value="4,2,${*}"/>
</chat>
<chat>
<!-- Remove preferred operator 4 -->
<command>AT+CPOL=4</command>
<response>OK</response>
<set name="PO4" value=""/>
</chat>
<chat>
<!-- Set preferred operator 5 -->
<command>AT+CPOL=5,2,*</command>
<response>OK</response>
<set name="PO5" value="5,2,${*}"/>
</chat>
<chat>
<!-- Remove preferred operator 5 -->
<command>AT+CPOL=5</command>
<response>OK</response>
<set name="PO5" value=""/>
</chat>
<chat>
<!-- Set preferred operator 6 -->
<command>AT+CPOL=6,2,*</command>
<response>OK</response>
<set name="PO6" value="6,2,${*}"/>
</chat>
<chat>
<!-- Remove preferred operator 6 -->
<command>AT+CPOL=6</command>
<response>OK</response>
<set name="PO6" value=""/>
</chat>
<chat>
<!-- Set preferred operator 7 -->
<command>AT+CPOL=7,2,*</command>
<response>OK</response>
<set name="PO7" value="7,2,${*}"/>
</chat>
<chat>
<!-- Remove preferred operator 7 -->
<command>AT+CPOL=7</command>
<response>OK</response>
<set name="PO7" value=""/>
</chat>
<chat>
<!-- Set preferred operator 8 -->
<command>AT+CPOL=8,2,*</command>
<response>OK</response>
<set name="PO8" value="8,2,${*}"/>
</chat>
<chat>
<!-- Remove preferred operator 8 -->
<command>AT+CPOL=8</command>
<response>OK</response>
<set name="PO8" value=""/>
</chat>
<!-- ******************* CALL BARRING *****************************-->
<chat>
<!-- BAOC (Barr All Outgoing Calls) - Assign -->
<command>AT+CLCK="AO",1,"${PIN2VALUE}",1</command>
<response>OK</response>
<set name="BARVAO" value="1"/>
<set name="BARVOI" value="0"/>
<set name="BARVOX" value="0"/>
</chat>
<chat>
<!-- BAOC (Barr All Outgoing Calls) - Query -->
<command>AT+CLCK="AO",2</command>
<response>+CLCK: ${BARVAO},1\n\nOK</response>
</chat>
<chat>
<!-- BOIC (Barr Outgoing International Calls) - Assign -->
<command>AT+CLCK="OI",1,"${PIN2VALUE}",1</command>
<response>OK</response>
<set name="BARVAO" value="0"/>
<set name="BARVOI" value="1"/>
<set name="BARVOX" value="0"/>
</chat>
<chat>
<!-- BOIC (Barr Outgoing International Calls) - Query -->
<command>AT+CLCK="OI",2</command>
<response>+CLCK: ${BARVOI},1\n\nOK</response>
</chat>
<chat>
<!-- BOIC-exHC (Barr Outgoing International Calls except to Home Country) - Assign -->
<command>AT+CLCK="OX",1,"${PIN2VALUE}",1</command>
<response>OK</response>
<set name="BARVAO" value="0"/>
<set name="BARVOI" value="0"/>
<set name="BARVOX" value="1"/>
</chat>
<chat>
<!-- BOIC-exHC (Barr Outgoing International Calls except to Home Country) - Query -->
<command>AT+CLCK="OX",2</command>
<response>+CLCK: ${BARVOX},1\n\nOK</response>
</chat>
<chat>
<!-- BAIC (Barr All Incoming Calls) - Assign -->
<command>AT+CLCK="AI",1,"${PIN2VALUE}",1</command>
<response>OK</response>
<set name="BARVAI" value="1"/>
<set name="BARVIR" value="0"/>
<set name="BARVNT" value="0"/>
<set name="BARVNM" value="0"/>
<set name="BARVNS" value="0"/>
<set name="BARVNA" value="0"/>
</chat>
<chat>
<!-- BAIC (Barr All Incoming Calls) - Query -->
<command>AT+CLCK="AI",2</command>
<response>+CLCK: ${BARVAI},1\n\nOK</response>
</chat>
<chat>
<!-- BIC-Roam (Barr Incoming Calls when Roaming outside the home country) - Assign -->
<command>AT+CLCK="IR",1,"${PIN2VALUE}",1</command>
<response>OK</response>
<set name="BARVAI" value="0"/>
<set name="BARVIR" value="1"/>
<set name="BARVNT" value="0"/>
<set name="BARVNM" value="0"/>
<set name="BARVNS" value="0"/>
<set name="BARVNA" value="0"/>
</chat>
<chat>
<!-- BIC-Roam (Barr Incoming Calls when Roaming outside the home country) - Query -->
<command>AT+CLCK="IR",2</command>
<response>+CLCK: ${BARVIR},1\n\nOK</response>
</chat>
<chat>
<!-- barr incoming calls from numbers Not stored to TA memory - Assign -->
<command>AT+CLCK="NT",1,"${PIN2VALUE}",1</command>
<response>OK</response>
<set name="BARVAI" value="0"/>
<set name="BARVIR" value="0"/>
<set name="BARVNT" value="1"/>
<set name="BARVNM" value="0"/>
<set name="BARVNS" value="0"/>
<set name="BARVNA" value="0"/>
</chat>
<chat>
<!-- barr incoming calls from numbers Not stored to TA memory - Query -->
<command>AT+CLCK="NT",2</command>
<response>+CLCK: ${BARVNT},7\n\nOK</response>
</chat>
<chat>
<!-- barr incoming calls from numbers Not stored to MT memory - Assign -->
<command>AT+CLCK="NM",1,"${PIN2VALUE}",1</command>
<response>OK</response>
<set name="BARVAI" value="0"/>
<set name="BARVIR" value="0"/>
<set name="BARVNT" value="0"/>
<set name="BARVNM" value="1"/>
<set name="BARVNS" value="0"/>
<set name="BARVNA" value="0"/>
</chat>
<chat>
<!-- barr incoming calls from numbers Not stored to MT memory - Query -->
<command>AT+CLCK="NM",2</command>
<response>+CLCK: ${BARVNM},7\n\nOK</response>
</chat>
<chat>
<!-- barr incoming calls from numbers Not stored to SIM/UICC memory - Assign -->
<command>AT+CLCK="NS",1,"${PIN2VALUE}",1</command>
<response>OK</response>
<set name="BARVAI" value="0"/>
<set name="BARVIR" value="0"/>
<set name="BARVNT" value="0"/>
<set name="BARVNM" value="0"/>
<set name="BARVNS" value="1"/>
<set name="BARVNA" value="0"/>
</chat>
<chat>
<!-- barr incoming calls from numbers Not stored to SIM/UICC memory - Query -->
<command>AT+CLCK="NS",2</command>
<response>+CLCK: ${BARVNS},7\n\nOK</response>
</chat>
<chat>
<!-- barr incoming calls from numbers Not stored to Any memory - Assign -->
<command>AT+CLCK="NA",1,"${PIN2VALUE}",1</command>
<response>OK</response>
<set name="BARVAI" value="0"/>
<set name="BARVIR" value="0"/>
<set name="BARVNT" value="0"/>
<set name="BARVNM" value="0"/>
<set name="BARVNS" value="0"/>
<set name="BARVNA" value="1"/>
</chat>
<chat>
<!-- barr incoming calls from numbers Not stored to Any memory - Query -->
<command>AT+CLCK="NA",2</command>
<response>+CLCK: ${BARVNA},7\n\nOK</response>
</chat>
<chat>
<!-- All Barring Services - UNLOCK ONLY -->
<command>AT+CLCK="AB",0,"${PIN2VALUE}"</command>
<response>OK</response>
<set name="BARVAO" value="0"/>
<set name="BARVOI" value="0"/>
<set name="BARVOX" value="0"/>
<set name="BARVAI" value="0"/>
<set name="BARVIR" value="0"/>
<set name="BARVNT" value="0"/>
<set name="BARVNM" value="0"/>
<set name="BARVNS" value="0"/>
<set name="BARVNA" value="0"/>
</chat>
<chat>
<!-- All outGoing barring services - UNLOCK ONLY -->
<command>AT+CLCK="AG",0,"${PIN2VALUE}",1</command>
<response>OK</response>
<set name="BARVAO" value="0"/>
<set name="BARVOI" value="0"/>
<set name="BARVOX" value="0"/>
</chat>
<chat>
<!-- All inComing barring services - UNLOCK ONLY -->
<command>AT+CLCK="AC",0,"${PIN2VALUE}",1</command>
<response>OK</response>
<set name="BARVAI" value="0"/>
<set name="BARVIR" value="0"/>
<set name="BARVNT" value="0"/>
<set name="BARVNM" value="0"/>
<set name="BARVNS" value="0"/>
<set name="BARVNA" value="0"/>
</chat>
<!-- ****************** Facility Locks ***************************** -->
<chat>
<!-- Query available facility locks -->
<command>AT+CLCK=?</command>
<response>+CLCK: PS(8),SC(8)\n\nOK</response>
</chat>
<!-- FIXED DIALLING LOCKS -->
<chat>
<!-- Query available facility lock -->
<command>AT+CLCK="FD",2</command>
<response>+CLCK: ${FD}\n\nOK</response>
</chat>
<chat>
<!-- Query available facility locks -->
<command>AT+CLCK="FD",0,"${PIN2VALUE}"</command>
<response>OK</response>
<set name="FD" value="0"/>
</chat>
<chat>
<!-- Query available facility locks -->
<command>AT+CLCK="FD",1,"${PIN2VALUE}"</command>
<response>OK</response>
<set name="FD" value="1"/>
</chat>
<chat>
<!-- Query available facility locks -->
<command>AT+CLCK="FD",*</command>
<response>ERROR</response>
</chat>
<!-- SIM CARD LOCKS -->
<chat>
<!-- Query available facility locks -->
<command>AT+CLCK="SC",2</command>
<response delay="1000">+CLCK: ${SC}\n\nOK</response>
</chat>
<chat>
<!-- Query available facility locks -->
<command>AT+CLCK="SC",0,"${PINVALUE}"</command>
<response>OK</response>
<set name="SC" value="0"/>
</chat>
<chat>
<!-- Query available facility locks -->
<command>AT+CLCK="SC",1,"${PINVALUE}"</command>
<response>OK</response>
<set name="SC" value="1"/>
</chat>
<chat>
<!-- Query available facility locks -->
<command>AT+CLCK="SC",*</command>
<response>ERROR</response>
</chat>
<chat>
<!-- Query available facility locks -->
<command>AT+CLCK="PS",2</command>
<response delay="1000">+CLCK: ${PS}\n\nOK</response>
</chat>
<chat>
<!-- Query available facility locks -->
<command>AT+CLCK="PS",0,"${PSPINVALUE}"</command>
<response>OK</response>
<set name="PS" value="0"/>
</chat>
<chat>
<!-- Query available facility locks -->
<command>AT+CLCK="PS",1,"${PSPINVALUE}"</command>
<response>OK</response>
<set name="PS" value="1"/>
</chat>
<chat>
<!-- Query available facility locks -->
<command>AT+CLCK="PS",*</command>
<response>ERROR</response>
</chat>
<chat>
<!-- Set facility lock (we just ignore this) -->
<!-- AT+CLCK="SC",2,"${PINVALUE}"
return status of require pin at power on -->
<!-- AT+CLCK="SC",*,"${PINVALUE}"
set require pin at startup to ${*}, (either 0, or 1,
-->
</chat>
<chat>
<!-- Change SIMCARD PIN (success) -->
<command>AT+CPWD="PS","${PSPINVALUE}","*"</command>
<response>OK</response>
<set name="PSPINVALUE" value="${*}"/>
</chat>
<!-- ******************** Change Call Barring Passwords ********************** -->
<chat>
<!-- Change Barring PIN (success) -->
<command>AT+CPWD="AB","${PIN2VALUE}","*"</command>
<response>OK</response>
<set name="PIN2VALUE" value="${*}"/>
</chat>
<chat>
<!-- Change Barring PIN (success) -->
<command>AT+CPWD="AO","${PIN2VALUE}","*"</command>
<response>OK</response>
<set name="PIN2VALUE" value="${*}"/>
</chat>
<chat>
<!-- Change Barring PIN (success) -->
<command>AT+CPWD="OI","${PIN2VALUE}","*"</command>
<response>OK</response>
<set name="PIN2VALUE" value="${*}"/>
</chat>
<chat>
<!-- Change Barring PIN (success) -->
<command>AT+CPWD="OX","${PIN2VALUE}","*"</command>
<response>OK</response>
<set name="PIN2VALUE" value="${*}"/>
</chat>
<chat>
<!-- Change Barring PIN (success) -->
<command>AT+CPWD="AI","${PIN2VALUE}","*"</command>
<response>OK</response>
<set name="PIN2VALUE" value="${*}"/>
</chat>
<chat>
<!-- Change Barring PIN (success) -->
<command>AT+CPWD="IR","${PIN2VALUE}","*"</command>
<response>OK</response>
<set name="PIN2VALUE" value="${*}"/>
</chat>
<chat>
<!-- Change Barring PIN (success) -->
<command>AT+CPWD="NT","${PIN2VALUE}","*"</command>
<response>OK</response>
<set name="PIN2VALUE" value="${*}"/>
</chat>
<chat>
<!-- Change Barring PIN (success) -->
<command>AT+CPWD="NM","${PIN2VALUE}","*"</command>
<response>OK</response>
<set name="PIN2VALUE" value="${*}"/>
</chat>
<chat>
<!-- Change Barring PIN (success) -->
<command>AT+CPWD="NS","${PIN2VALUE}","*"</command>
<response>OK</response>
<set name="PIN2VALUE" value="${*}"/>
</chat>
<chat>
<!-- Change Barring PIN (success) -->
<command>AT+CPWD="NA","${PIN2VALUE}","*"</command>
<response>OK</response>
<set name="PIN2VALUE" value="${*}"/>
</chat>
<chat>
<!-- Query calling line identifier presentation mode -->
<command>AT+CLIP?</command>
<response>+CLIP: ${LIP},1\n\nOK</response>
</chat>
<chat>
<!-- Query supported calling line identifier presentation modes -->
<command>AT+CLIP=?</command>
<response>+CLIP: (0,1)\n\nOK</response>
</chat>
<chat>
<!-- Set calling line identifier presentation mode -->
<command>AT+CLIP=*</command>
<response>OK</response>
<set name="LIP" value="*"/>
</chat>
<chat>
<!-- Query called line identifier presentation mode -->
<command>AT+CDIP?</command>
<response>+CDIP: ${DIP},1\n\nOK</response>
</chat>
<chat>
<!-- Query supported called line identifier presentation modes -->
<command>AT+CDIP=?</command>
<response>+CDIP: (0,1)\n\nOK</response>
</chat>
<chat>
<!-- Set called line identifier presentation mode -->
<command>AT+CDIP=*</command>
<response>OK</response>
<set name="DIP" value="*"/>
</chat>
<chat>
<!-- Query calling line identifier presentation mode -->
<command>AT+CNAP?</command>
<response>+CNAP: ${NAP},1\n\nOK</response>
</chat>
<chat>
<!-- Query supported calling line identifier presentation modes -->
<command>AT+CNAP=?</command>
<response>+CNAP: (0,1)\n\nOK</response>
</chat>
<chat>
<!-- Set calling line identifier presentation mode -->
<command>AT+CNAP=*</command>
<response>OK</response>
<set name="NAP" value="*"/>
</chat>
<chat>
<!-- Query calling line identication restriction mode -->
<command>AT+CLIR?</command>
<response>+CLIR: ${LIR},${LIR_STATUS}\n\nOK</response>
</chat>
<chat>
<!-- Query supported calling line identication restriction modes -->
<command>AT+CLIR=?</command>
<response>+CLIR: (0,1,2)\n\nOK</response>
</chat>
<chat>
<!-- Set calling line identication restriction mode -->
<command>AT+CLIR=*</command>
<response>OK</response>
<set name="LIR" value="*"/>
</chat>
<chat>
<!-- Query originating line identifier presentation mode -->
<command>AT+COLP?</command>
<response>+COLP: ${OLP},1\n\nOK</response>
</chat>
<chat>
<!-- Query supported originating line identifier presentation modes -->
<command>AT+COLP=?</command>
<response>+COLP: (0,1)\n\nOK</response>
</chat>
<chat>
<!-- Set originating line identifier presentation mode -->
<command>AT+COLP=*</command>
<response>OK</response>
<set name="OLP" value="*"/>
</chat>
<chat>
<!-- Query originating line identifier restriction mode -->
<command>AT+COLR</command>
<response>+COLR: 1\n\nOK</response>
</chat>
<chat>
<!-- Query supported originating line identifier restriction modes -->
<command>AT+COLR=?</command>
<response>OK</response>
</chat>
<chat>
<!-- Query closed user group status (not supported yet) -->
<command>AT+CCUG?</command>
<response>+CCUG: 0,0,0\n\nOK</response>
</chat>
<chat>
<!-- Control closed user group status (not supported yet) -->
<command>AT+CCUG*</command>
<response>OK</response>
</chat>
<chat>
<!-- Query supported call forwarding reasons -->
<command>AT+CCFC=?</command>
<response>+CCFC: (0,1,2,3,4,5)\n\nOK</response>
</chat>
<chat>
<!-- Set call forwarding number international (voice, no reply) -->
<command>AT+CCFC=2,3,*,145,1,,,20</command>
<response>OK</response>
<set name="CF2C1" value="1"/>
<set name="CF2C1N" value="${*}"/>
<set name="CF2C1T" value="145"/>
<set name="CF2C1O" value="20"/>
</chat>
<chat>
<!-- Set call forwarding number (voice, no reply) -->
<command>AT+CCFC=2,3,*,129,1,,,20</command>
<response>OK</response>
<set name="CF2C1" value="1"/>
<set name="CF2C1N" value="${*}"/>
<set name="CF2C1T" value="129"/>
<set name="CF2C1O" value="20"/>
</chat>
<chat>
<!-- Set call forwarding number international (voice, no reply) -->
<command>AT+CCFC=2,3,*,145,1,,,30</command>
<response>OK</response>
<set name="CF2C1" value="1"/>
<set name="CF2C1N" value="${*}"/>
<set name="CF2C1T" value="145"/>
<set name="CF2C1O" value="30"/>
</chat>
<chat>
<!-- Set call forwarding number (voice, no reply) -->
<command>AT+CCFC=2,3,*,129,1,,,30</command>
<response>OK</response>
<set name="CF2C1" value="1"/>
<set name="CF2C1N" value="${*}"/>
<set name="CF2C1T" value="129"/>
<set name="CF2C1O" value="30"/>
</chat>
<chat>
<!-- Set call forwarding number international (voice, not reachable) -->
<command>AT+CCFC=3,3,*,145,1</command>
<response>OK</response>
<set name="CF3C1" value="1"/>
<set name="CF3C1N" value="${*}"/>
<set name="CF3C1T" value="145"/>
</chat>
<chat>
<!-- Set call forwarding number (voice, not reachable) -->
<command>AT+CCFC=3,3,*,129,1</command>
<response>OK</response>
<set name="CF3C1" value="1"/>
<set name="CF3C1N" value="${*}"/>
<set name="CF3C1T" value="129"/>
</chat>
<chat>
<!-- Set call forwarding number international (voice, unconditional) -->
<command>AT+CCFC=0,3,*,145,1</command>
<response>OK</response>
<set name="CF0C1" value="1"/>
<set name="CF0C1N" value="${*}"/>
<set name="CF0C1T" value="145"/>
</chat>
<chat>
<!-- Set call forwarding number (voice, unconditional) -->
<command>AT+CCFC=0,3,*,129,1</command>
<response>OK</response>
<set name="CF0C1" value="1"/>
<set name="CF0C1N" value="${*}"/>
<set name="CF0C1T" value="129"/>
</chat>
<chat>
<!-- Set call forwarding number international (voice, when busy) -->
<command>AT+CCFC=1,3,*,145,1</command>
<response>OK</response>
<set name="CF1C1" value="1"/>
<set name="CF1C1N" value="${*}"/>
<set name="CF1C1T" value="145"/>
</chat>
<chat>
<!-- Set call forwarding number (voice, when busy) -->
<command>AT+CCFC=1,3,*,129,1</command>
<response>OK</response>
<set name="CF1C1" value="1"/>
<set name="CF1C1N" value="${*}"/>
<set name="CF1C1T" value="129"/>
</chat>
<chat>
<!-- Disable all call forwarding -->
<command>AT+CCFC=4,4</command>
<response>OK</response>
<set name="CF0C1" value="0"/>
<set name="CF0C2" value="0"/>
<set name="CF0C4" value="0"/>
<set name="CF0C8" value="0"/>
<set name="CF1C1" value="0"/>
<set name="CF1C2" value="0"/>
<set name="CF1C4" value="0"/>
<set name="CF1C8" value="0"/>
<set name="CF2C1" value="0"/>
<set name="CF2C2" value="0"/>
<set name="CF2C4" value="0"/>
<set name="CF2C8" value="0"/>
<set name="CF3C1" value="0"/>
<set name="CF3C2" value="0"/>
<set name="CF3C4" value="0"/>
<set name="CF3C8" value="0"/>
<set name="CF0C1N" value=""/>
<set name="CF0C2N" value=""/>
<set name="CF0C4N" value=""/>
<set name="CF0C8N" value=""/>
<set name="CF1C1N" value=""/>
<set name="CF1C2N" value=""/>
<set name="CF1C4N" value=""/>
<set name="CF1C8N" value=""/>
<set name="CF2C1N" value=""/>
<set name="CF2C2N" value=""/>
<set name="CF2C4N" value=""/>
<set name="CF2C8N" value=""/>
<set name="CF3C1N" value=""/>
<set name="CF3C2N" value=""/>
<set name="CF3C4N" value=""/>
<set name="CF3C8N" value=""/>
<set name="CF0C1T" value="129"/>
<set name="CF1C1T" value="129"/>
<set name="CF2C1T" value="129"/>
<set name="CF2C1O" value="20"/>
<set name="CF3C1T" value="129"/>
</chat>
<chat>
<!-- Disable all call forwarding (conditional) -->
<command>AT+CCFC=5,4</command>
<response>OK</response>
<set name="CF1C1" value="0"/>
<set name="CF1C2" value="0"/>
<set name="CF1C4" value="0"/>
<set name="CF1C8" value="0"/>
<set name="CF2C1" value="0"/>
<set name="CF2C2" value="0"/>
<set name="CF2C4" value="0"/>
<set name="CF2C8" value="0"/>
<set name="CF3C1" value="0"/>
<set name="CF3C2" value="0"/>
<set name="CF3C4" value="0"/>
<set name="CF3C8" value="0"/>
<set name="CF1C1N" value=""/>
<set name="CF1C2N" value=""/>
<set name="CF1C4N" value=""/>
<set name="CF1C8N" value=""/>
<set name="CF2C1N" value=""/>
<set name="CF2C2N" value=""/>
<set name="CF2C4N" value=""/>
<set name="CF2C8N" value=""/>
<set name="CF3C1N" value=""/>
<set name="CF3C2N" value=""/>
<set name="CF3C4N" value=""/>
<set name="CF3C8N" value=""/>
<set name="CF1C1T" value="129"/>
<set name="CF2C1T" value="129"/>
<set name="CF2C1O" value="20"/>
<set name="CF3C1T" value="129"/>
</chat>
<chat>
<!-- Erase forwarding, unconditional -->
<command>AT+CCFC=0,4</command>
<response>OK</response>
<set name="CF0C1" value="0"/>
<set name="CF0C2" value="0"/>
<set name="CF0C4" value="0"/>
<set name="CF0C8" value="0"/>
<set name="CF0C1N" value=""/>
<set name="CF0C2N" value=""/>
<set name="CF0C4N" value=""/>
<set name="CF0C8N" value=""/>
<set name="CF0C1T" value="129"/>
</chat>
<chat>
<!-- Erase forwarding, unconditional voice -->
<command>AT+CCFC=0,4,,,1</command>
<response>OK</response>
<set name="CF0C1" value="0"/>
<set name="CF0C1N" value=""/>
<set name="CF0C1T" value="129"/>
</chat>
<chat>
<!-- Erase forwarding, unconditional data -->
<command>AT+CCFC=0,4,,,2</command>
<response>OK</response>
<set name="CF0C2" value="0"/>
<set name="CF0C2N" value=""/>
</chat>
<chat>
<!-- Erase forwarding, unconditional fax -->
<command>AT+CCFC=0,4,,,4</command>
<response>OK</response>
<set name="CF0C4" value="0"/>
<set name="CF0C4N" value=""/>
</chat>
<chat>
<!-- Erase forwarding, unconditional sms -->
<command>AT+CCFC=0,4,,,8</command>
<response>OK</response>
<set name="CF0C8" value="0"/>
<set name="CF0C8N" value=""/>
</chat>
<chat>
<!-- Erase forwarding, when busy -->
<command>AT+CCFC=1,4</command>
<response>OK</response>
<set name="CF1C1" value="0"/>
<set name="CF1C2" value="0"/>
<set name="CF1C4" value="0"/>
<set name="CF1C8" value="0"/>
<set name="CF1C1N" value=""/>
<set name="CF1C2N" value=""/>
<set name="CF1C4N" value=""/>
<set name="CF1C8N" value=""/>
<set name="CF1C1T" value="129"/>
</chat>
<chat>
<!-- Erase forwarding, when busy voice -->
<command>AT+CCFC=1,4,,,1</command>
<response>OK</response>
<set name="CF1C1" value="0"/>
<set name="CF1C1N" value=""/>
<set name="CF1C1T" value="129"/>
</chat>
<chat>
<!-- Erase forwarding, when busy data -->
<command>AT+CCFC=1,4,,,2</command>
<response>OK</response>
<set name="CF1C2" value="0"/>
<set name="CF1C2N" value=""/>
</chat>
<chat>
<!-- Erase forwarding, when busy fax -->
<command>AT+CCFC=1,4,,,4</command>
<response>OK</response>
<set name="CF1C4" value="0"/>
<set name="CF1C4N" value=""/>
</chat>
<chat>
<!-- Erase forwarding, when busy sms -->
<command>AT+CCFC=1,4,,,8</command>
<response>OK</response>
<set name="CF1C8" value="0"/>
<set name="CF1C8N" value=""/>
</chat>
<chat>
<!-- Erase forwarding, no reply -->
<command>AT+CCFC=2,4</command>
<response>OK</response>
<set name="CF2C1" value="0"/>
<set name="CF2C2" value="0"/>
<set name="CF2C4" value="0"/>
<set name="CF2C8" value="0"/>
<set name="CF2C1N" value=""/>
<set name="CF2C2N" value=""/>
<set name="CF2C4N" value=""/>
<set name="CF2C8N" value=""/>
<set name="CF2C1T" value="129"/>
<set name="CF2C1O" value="20"/>
</chat>
<chat>
<!-- Erase forwarding, no reply voice -->
<command>AT+CCFC=2,4,,,1</command>
<response>OK</response>
<set name="CF2C1" value="0"/>
<set name="CF2C1N" value=""/>
<set name="CF2C1T" value="129"/>
<set name="CF2C1O" value="20"/>
</chat>
<chat>
<!-- Erase forwarding, no reply data -->
<command>AT+CCFC=2,4,,,2</command>
<response>OK</response>
<set name="CF2C2" value="0"/>
<set name="CF2C2N" value=""/>
</chat>
<chat>
<!-- Erase forwarding, no reply fax -->
<command>AT+CCFC=2,4,,,4</command>
<response>OK</response>
<set name="CF2C4" value="0"/>
<set name="CF2C4N" value="*"/>
</chat>
<chat>
<!-- Erase forwarding, no reply sms -->
<command>AT+CCFC=2,4,,,8</command>
<response>OK</response>
<set name="CF2C8" value="0"/>
<set name="CF2C8N" value=""/>
</chat>
<chat>
<!-- Erase forwarding, not reachable -->
<command>AT+CCFC=3,4</command>
<response>OK</response>
<set name="CF3C1" value="0"/>
<set name="CF3C2" value="0"/>
<set name="CF3C4" value="0"/>
<set name="CF3C8" value="0"/>
<set name="CF3C1N" value=""/>
<set name="CF3C2N" value=""/>
<set name="CF3C4N" value=""/>
<set name="CF3C8N" value=""/>
<set name="CF3C1T" value="129"/>
</chat>
<chat>
<!-- Erase forwarding, not reachable voice -->
<command>AT+CCFC=3,4,,,1</command>
<response>OK</response>
<set name="CF3C1" value="0"/>
<set name="CF3C1N" value=""/>
<set name="CF3C1T" value="129"/>
</chat>
<chat>
<!-- Erase forwarding, not reachable data -->
<command>AT+CCFC=3,4,,,2</command>
<response>OK</response>
<set name="CF3C2" value="0"/>
<set name="CF3C2N" value=""/>
</chat>
<chat>
<!-- Erase forwarding, not reachable fax -->
<command>AT+CCFC=3,4,,,4</command>
<response>OK</response>
<set name="CF3C4" value="0"/>
<set name="CF3C4N" value=""/>
</chat>
<chat>
<!-- Erase forwarding, not reachable sms -->
<command>AT+CCFC=3,4,,,8</command>
<response>OK</response>
<set name="CF3C8" value="0"/>
<set name="CF3C8N" value=""/>
</chat>
<chat>
<!-- Query call forwarding number (unconditional) -->
<command>AT+CCFC=0,2</command>
<response>+CCFC: ${CF0C1},1,${CF0C1N},${CF0C1T}\n+CCFC: ${CF0C2},2,${CF0C2N}\n+CCFC: ${CF0C4},4,${CF0C4N}\n+CCFC: ${CF0C8},8,${CF0C8N}\n\nOK</response>
</chat>
<chat>
<!-- Query call forwarding number (when busy) -->
<command>AT+CCFC=1,2</command>
<response>+CCFC: ${CF1C1},1,${CF1C1N},${CF1C1T}\n+CCFC: ${CF1C2},2,${CF1C2N}\n+CCFC: ${CF1C4},4,${CF1C4N}\n+CCFC: ${CF1C8},8,${CF1C8N}\n\nOK</response>
</chat>
<chat>
<!-- Query call forwarding number (no reply) -->
<command>AT+CCFC=2,2</command>
<response>+CCFC: ${CF2C1},1,${CF2C1N},${CF2C1T},,,${CF2C1O}\n+CCFC: ${CF2C2},2,${CF2C2N}\n+CCFC: ${CF2C4},4,${CF2C4N}\n+CCFC: ${CF2C8},8,${CF2C8N}\n\nOK</response>
</chat>
<chat>
<!-- Query call forwarding number (not reachable) -->
<command>AT+CCFC=3,2</command>
<response>+CCFC: ${CF3C1},1,${CF3C1N},${CF3C1T}\n+CCFC: ${CF3C2},2,${CF3C2N}\n+CCFC: ${CF3C4},4,${CF3C4N}\n+CCFC: ${CF3C8},8,${CF3C8N}\n\nOK</response>
</chat>
<chat>
<!-- Query call waiting presentation mode -->
<command>AT+CCWA?</command>
<response>+CCWA: 1\n\nOK</response>
</chat>
<chat>
<!-- Query call waiting -->
<command>AT+CCWA=1,2</command>
<response delay="2000">+CCWA: ${CWA_V},1\n+CCWA: ${CWA_D},2\n+CCWA: ${CWA_F},4\n\nOK</response>
</chat>
<chat>
<!-- Query call waiting -->
<command>AT+CCWA=1,2,7</command>
<response delay="2000">+CCWA: ${CWA_V},1\n+CCWA: ${CWA_D},2\n+CCWA: ${CWA_F},4\n\nOK</response>
</chat>
<chat>
<!-- Query call waiting -->
<command>AT+CCWA=1,2,1</command>
<response delay="2000">+CCWA: ${CWA_V},1\n\nOK</response>
</chat>
<chat>
<!-- Query call waiting -->
<command>AT+CCWA=1,2,2</command>
<response delay="2000">+CCWA: ${CWA_D},2\n\nOK</response>
</chat>
<chat>
<!-- Query call waiting -->
<command>AT+CCWA=1,2,4</command>
<response delay="2000">+CCWA: ${CWA_F},4\n\nOK</response>
</chat>
<chat>
<!-- Query call waiting -->
<command>AT+CCWA=1,2,3</command>
<response delay="2000">+CCWA: ${CWA_V},1\n+CCWA: ${CWA_D},2\n\nOK</response>
</chat>
<chat>
<!-- Query call waiting -->
<command>AT+CCWA=1,2,5</command>
<response delay="2000">+CCWA: ${CWA_V},1\n+CCWA: ${CWA_F},4\n\nOK</response>
</chat>
<chat>
<!-- Query call waiting -->
<command>AT+CCWA=1,2,6</command>
<response delay="2000">+CCWA: ${CWA_D},2\n+CCWA: ${CWA_F},4\n\nOK</response>
</chat>
<chat>
<!-- Query supported call waiting presentation modes -->
<command>AT+CCWA=?</command>
<response>+CCWA: (0,1)\n\nOK</response>
</chat>
<chat>
<!-- Enable call waiting presentation mode -->
<command>AT+CCWA=1</command>
<response>OK</response>
</chat>
<!-- Disable call waiting -->
<chat><command>AT+CCWA=1,0,1</command><response delay="1000">OK</response>
<set name="CWA_V" value="0"/>
</chat>
<chat><command>AT+CCWA=1,0,2</command><response delay="1000">OK</response>
<set name="CWA_D" value="0"/>
</chat>
<chat><command>AT+CCWA=1,0,3</command><response delay="1000">OK</response>
<set name="CWA_V" value="0"/>
<set name="CWA_D" value="0"/>
</chat>
<chat><command>AT+CCWA=1,0,4</command><response delay="1000">OK</response>
<set name="CWA_F" value="0"/>
</chat>
<chat><command>AT+CCWA=1,0,5</command><response delay="1000">OK</response>
<set name="CWA_V" value="0"/>
<set name="CWA_F" value="0"/>
</chat>
<chat><command>AT+CCWA=1,0,6</command><response delay="1000">OK</response>
<set name="CWA_D" value="0"/>
<set name="CWA_F" value="0"/>
</chat>
<chat><command>AT+CCWA=1,0,7</command><response delay="1000">OK</response>
<set name="CWA_V" value="0"/>
<set name="CWA_D" value="0"/>
<set name="CWA_F" value="0"/>
</chat>
<!-- Enable call waiting -->
<chat><command>AT+CCWA=1,1,1</command><response delay="1000">OK</response>
<set name="CWA_V" value="1"/>
</chat>
<chat><command>AT+CCWA=1,1,2</command><response delay="1000">OK</response>
<set name="CWA_D" value="1"/>
</chat>
<chat><command>AT+CCWA=1,1,3</command><response delay="1000">OK</response>
<set name="CWA_V" value="1"/>
<set name="CWA_D" value="1"/>
</chat>
<chat><command>AT+CCWA=1,1,4</command><response delay="1000">OK</response>
<set name="CWA_F" value="1"/>
</chat>
<chat><command>AT+CCWA=1,1,5</command><response delay="1000">OK</response>
<set name="CWA_V" value="1"/>
<set name="CWA_F" value="1"/>
</chat>
<chat><command>AT+CCWA=1,1,6</command><response delay="1000">OK</response>
<set name="CWA_D" value="1"/>
<set name="CWA_F" value="1"/>
</chat>
<chat><command>AT+CCWA=1,1,7</command><response delay="1000">OK</response>
<set name="CWA_V" value="1"/>
<set name="CWA_D" value="1"/>
<set name="CWA_F" value="1"/>
</chat>
<chat>
<!-- Query unstructured supplementary service presentation mode -->
<command>AT+CUSD?</command>
<response>+CUSD: ${USD}\n\nOK</response>
</chat>
<chat>
<!-- Query supported unstructured supplementary presentation modes -->
<command>AT+CUSD=?</command>
<response>+CUSD: (0,1)\n\nOK</response>
</chat>
<chat>
<!-- Initiate USSD query that is supported by the network -->
<command>AT+CUSD=1,"*225#",15</command>
<response>+CUSD: 0,"Thank you, your request is being processed. A message will be sent to your phone.",15\n\nOK</response>
<set name="USD" value="1"/>
</chat>
<chat>
<!-- USSD answer that is supported by the network -->
<command>AT+CUSD=1,"response",15</command>
<response>+CUSD: 0,"Thank you.",15\n\nOK</response>
<set name="USD" value="1"/>
</chat>
<chat>
<!-- SAT initiated 7-Bit USSD query that is supported by the network -->
<command>AT+CUSD=1,"ABCD",240</command>
<response>+CUSD: 0,"USSD string received from SS",240\n\nOK</response>
<set name="USD" value="1"/>
</chat>
<chat>
<!-- SAT initiated 8-Bit USSD query that is supported by the network -->
<command>AT+CUSD=1,"41424344",68</command>
<response>+CUSD: 0,"5553534420737472696E672072656365697665642066726F6D205353",68\n\nOK</response>
<set name="USD" value="1"/>
</chat>
<chat>
<!-- SAT initiated UCS2 USSD query that is supported by the network -->
<command>AT+CUSD=1,"041704140420041004120421042204120423041904220415",72</command>
<response>+CUSD: 0,"005500530053004400200073007400720069006E0067002000720065006300650069007600650064002000660072006F006D002000530053",72\n\nOK</response>
<set name="USD" value="1"/>
</chat>
<chat>
<!-- Initiate USSD query that is not supported by the network -->
<command>AT+CUSD=1,"*123#",15</command>
<response>+CUSD: 4\n\nOK</response>
<set name="USD" value="1"/>
</chat>
<chat>
<!-- Initiate USSD query that will be replied to via UI -->
<command>AT+CUSD=1,*</command>
<response>OK</response>
<set name="USD" value="1"/>
</chat>
<chat>
<!-- cancel USSD session -->
<command>AT+CUSD=2</command>
<response>OK</response>
<set name="USD" value="1"/>
</chat>
<chat>
<!-- Enable unstructured supplementary service presentation mode -->
<command>AT+CUSD=1</command>
<response>OK</response>
<set name="USD" value="1"/>
</chat>
<chat>
<!-- Disable unstructured supplementary service presentation mode -->
<command>AT+CUSD=0</command>
<response>OK</response>
<set name="USD" value="0"/>
</chat>
<chat>
<!-- Query Advice of charge value from the ME -->
<command>AT+CAOC=0</command>
<response>+CAOC: "${AOC}"\n\nOK</response>
</chat>
<chat>
<!-- (De)activate the unsolicited reporting of CCM value -->
<command>AT+CAOC=*</command>
<response>OK</response>
<set name="AOCMODE" value="*"/>
</chat>
<chat>
<!-- Query CCM reporting mode command -->
<command>AT+CAOC?</command>
<response>+CAOC: ${AOCMODE}\n\nOK</response>
</chat>
<chat>
<!-- Query support for advice of charge command -->
<command>AT+CAOC=?</command>
<response>+CAOC: (0-2)\n\nOK</response>
</chat>
<chat>
<!-- Reset Accumulated Call Meter command -->
<command>AT+CACM="${SIMPIN2VALUE}"</command>
<response>OK</response>
<set name="ACM" value="000000"/>
</chat>
<chat>
<!-- Query Accumulated Call Meter value -->
<command>AT+CACM?</command>
<response>+CACM: "${ACM}"\n\nOK</response>
</chat>
<chat>
<!-- Query Accumulated Call Meter support command -->
<command>AT+CACM=?</command>
<response>OK</response>
</chat>
<chat>
<!-- Set Accumulated Call Meter Maximum command -->
<command>AT+CAMM="*","${SIMPIN2VALUE}"</command>
<response>OK</response>
<set name="ACMMAX" value="*"/>
</chat>
<chat>
<!-- Query Accumulated Call Meter Maximum value -->
<command>AT+CAMM?</command>
<response>+CAMM: "${ACMMAX}"\n\nOK</response>
</chat>
<chat>
<!-- Query Accumulated Call Meter Maximum support command -->
<command>AT+CAMM=?</command>
<response>OK</response>
</chat>
<chat>
<!-- Set Price per Unit and Currency command -->
<command>AT+CPUC="*","${SIMPIN2VALUE}"</command>
<response>OK</response>
<set name="PPU" value="${*}"/>
</chat>
<chat>
<!-- Query Price per Unit and Currency command -->
<command>AT+CPUC?</command>
<response>+CPUC: "${PPU}"\n\nOK</response>
</chat>
<chat>
<!-- Query Price per Unit and Currency support command -->
<command>AT+CPUC=?</command>
<response>OK</response>
</chat>
<chat>
<!-- Set Call Meter maximum event mode command -->
<command>AT+CCWE=*</command>
<response>OK</response>
<set name="CWEMODE" value="*"/>
</chat>
<chat>
<!-- Query Call Meter maximum event mode command -->
<command>AT+CCWE?</command>
<response>+CCWE: ${CWEMODE}\n\nOK</response>
</chat>
<chat>
<!-- Query Call Meter maximum event support command -->
<command>AT+CCWE=?</command>
<response>+CCWE: (0,1)\n\nOK</response>
</chat>
<chat>
<!-- Query supplementary service notifications -->
<command>AT+CSSN?</command>
<response>+CSSN: ${SSN}\n\nOK</response>
</chat>
<chat>
<!-- Query support for supplementary service notifications -->
<command>AT+CSSN=?</command>
<response>+CSSN: (0,1),(0,1)\n\nOK</response>
</chat>
<chat>
<!-- Set supplementary service notification flags -->
<command>AT+CSSN=*</command>
<response>OK</response>
<set name="SSN" value="*"/>
</chat>
<chat>
<!-- Query phone activity status -->
<command>AT+CPAS</command>
<response>+CPAS: ${PAS}\n\nOK</response>
</chat>
<chat>
<!-- Query supported phone activity status values -->
<command>AT+CPAS=?</command>
<response>+CPAS: (0-5)\n\nOK</response>
</chat>
<chat>
<!-- Query phone functionality setting -->
<command>AT+CFUN?</command>
<response>+CFUN: ${FUN}\n\nOK</response>
</chat>
<chat>
<!-- Query supported phone functionality settings -->
<command>AT+CFUN=?</command>
<response>+CFUN: (1,4)\n\nOK</response>
</chat>
<chat>
<!-- Set phone functionality Full -->
<command>AT+CFUN=1</command>
<response>OK</response>
<set name="FUN" value="0"/>
</chat>
<chat>
<!-- Set phone functionality Transmit & Receive off -->
<command>AT+CFUN=4</command>
<response>OK\n\n+CREG: 0\n\n+CGREG: 0</response>
<set name="FUN" value="4"/>
</chat>
<chat>
<!-- Query CSMS Support -->
<command>AT+CSMS=?</command>
<response>+CSMS=(0)\n\nOK</response>
</chat>
<chat>
<!-- Query CSMS Setting -->
<command>AT+CSMS?</command>
<response>+CSMS: 0,1,1,1\n\nOK</response>
</chat>
<chat>
<!-- Set CSMS -->
<command>AT+CSMS=0</command>
<response>+CSMS: 1,1,1\n\nOK</response>
</chat>
<chat>
<!-- Supports? SMS Service Center Address -->
<command>AT+CSCA=?</command>
<response>OK</response>
</chat>
<chat>
<!-- Query SMS Service Center Address -->
<command>AT+CSCA?</command>
<response>+CSCA: "${SCA}",${SCAT}\n\nOK</response>
</chat>
<chat>
<!-- Set SMS Service Center Address -->
<command>AT+CSCA="*",145</command>
<response>OK</response>
<set name="SCA" value="*"/>
<set name="SCAT" value="145"/>
</chat>
<chat>
<!-- Set SMS Service Center Address, unknwon -->
<command>AT+CSCA="*",129</command>
<response>OK</response>
<set name="SCA" value="*"/>
<set name="SCAT" value="129"/>
</chat>
<chat>
<!-- Do we support CPINR? -->
<command>AT+CPINR=?</command>
<response>OK\n</response>
</chat>
<chat>
<!-- How many pin unlock attempts remain -->
<command>AT+CPINR</command>
<response>+CPINR: SIM PIN,${PINRETRYCOUNT},3\nOK\n</response>
</chat>
<chat>
<!-- Check for which PIN is required -->
<command>AT+CPIN?</command>
<response delay="2000">+CPIN: ${PINNAME}\n\nOK</response>
</chat>
<chat>
<!-- Enter PIN (success) -->
<command>AT+CPIN="${PINVALUE}"</command>
<response>+CPIN: READY\n\nOK</response>
<set name="PINNAME" value="READY"/>
<set name="PINRETRYCOUNT" value="3"/>
</chat>
<chat>
<!-- Change PIN2 (success) -->
<command>AT+CPWD="P2","${PIN2VALUE}","*"</command>
<response>OK</response>
<set name="PIN2VALUE" value="${*}"/>
</chat>
<chat>
<!-- Change PIN using PUK (success) -->
<command>AT+CPIN="${PUKVALUE}","*"</command>
<response>+CPIN: READY\n\nOK</response>
<set name="PINVALUE" value="${*}"/>
<set name="PINNAME" value="READY"/>
<set name="PINRETRYCOUNT" value="3"/>
</chat>
<chat>
<!-- Change PIN2 using PUK2 (success) -->
<command>AT+CPIN="${PUK2VALUE}","*"</command>
<response>+CPIN: READY\n\nOK</response>
<set name="PIN2VALUE" value="${*}"/>
<set name="PINNAME" value="READY"/>
</chat>
<chat>
<!-- Enter PIN (PUK failure when PINNAME was "SIM PUK" from start) -->
<command>AT+CPIN="*","*"</command>
<response>+CPIN: SIM PUK\n\nERROR</response>
<set name="PINNAME" value="SIM PUK"/>
<set name="PINRETRYCOUNT" value="0"/>
</chat>
<chat>
<!-- Enter PIN (failure) -->
<command>AT+CPIN=*</command>
<response>+CPIN: SIM PIN\n\nERROR</response>
<set name="PINNAME" value="SIM PIN"/>
<set name="PINRETRYCOUNT" value="2"/>
<switch name="pinretry1"/>
</chat>
<state name="pinretry1">
<chat>
<!-- Enter PIN (success) -->
<command>AT+CPIN="${PINVALUE}"</command>
<response>+CPIN: READY\n\nOK</response>
<set name="PINNAME" value="READY"/>
<set name="PINRETRYCOUNT" value="3"/>
<switch name="default"/>
</chat>
<chat>
<!-- Change PIN using PUK (success) -->
<command>AT+CPIN="${PUKVALUE}","*"</command>
<response>+CPIN: READY\n\nOK</response>
<set name="PINVALUE" value="${*}"/>
<set name="PINNAME" value="READY"/>
<set name="PINRETRYCOUNT" value="3"/>
<switch name="default"/>
</chat>
<chat>
<!-- Enter PIN (failure) -->
<command>AT+CPIN=*</command>
<response>+CPIN: SIM PIN\n\nERROR</response>
<set name="PINNAME" value="SIM PIN"/>
<set name="PINRETRYCOUNT" value="1"/>
<switch name="pinretry2"/>
</chat>
</state>
<state name="pinretry2">
<chat>
<!-- Enter PIN (success) -->
<command>AT+CPIN="${PINVALUE}"</command>
<response>+CPIN: READY\n\nOK</response>
<set name="PINNAME" value="READY"/>
<set name="PINRETRYCOUNT" value="3"/>
<switch name="default"/>
</chat>
<chat>
<!-- Change PIN using PUK (success) -->
<command>AT+CPIN="${PUKVALUE}","*"</command>
<response>+CPIN: READY\n\nOK</response>
<set name="PINVALUE" value="${*}"/>
<set name="PINNAME" value="READY"/>
<set name="PINRETRYCOUNT" value="3"/>
<switch name="default"/>
</chat>
<chat>
<!-- Enter PIN (failure) -->
<command>AT+CPIN=*</command>
<response>+CPIN: SIM PUK\n\nERROR</response>
<set name="PINNAME" value="SIM PUK"/>
<set name="PINRETRYCOUNT" value="0"/>
</chat>
</state>
<chat>
<!-- Query battery charge -->
<command>AT+CBC</command>
<response>+CBC: ${BC}\n\nOK</response>
</chat>
<chat>
<!-- Query supported battery charge values -->
<command>AT+CBC=?</command>
<response>+CBC: (0,1,2,3),(1-100)\n\nOK</response>
</chat>
<chat>
<command>AT+CCED=1,8</command>
<response>OK\n+CSQ: ${SQ}</response>
</chat>
<chat>
<!-- Query signal quality (default reported as "not detectable") -->
<command>AT+CSQ</command>
<response>+CSQ: ${SQ}\n\nOK</response>
</chat>
<chat>
<!-- Query supported signal quality values -->
<command>AT+CSQ=?</command>
<response>+CSQ: (0-31,99),(0-7,99)\n\nOK</response>
</chat>
<chat>
<!-- Query mobile equipment control mode -->
<command>AT+CMEC?</command>
<response>+CMEC: ${MEC}\n\nOK</response>
</chat>
<chat>
<!-- Query supported mobile equipment control modes -->
<command>AT+CMEC=?</command>
<response>+CMEC: (0-2),(0-2),(0-2)\n\nOK</response>
</chat>
<chat>
<!-- Set mobile equipment control mode -->
<command>AT+CMEC=*</command>
<response>OK</response>
<set name="MEC" value="*"/>
</chat>
<chat>
<!-- Keypad control (ignored in this version) -->
<command>AT+CKPD=*</command>
<response>OK</response>
</chat>
<chat>
<!-- Display control (ignored in this version) -->
<command>AT+CDIS*</command>
<response>OK</response>
</chat>
<chat>
<!-- Query supported indicators -->
<command>AT+CIND=?</command>
<response>+CIND: ("signal",(0-5)),("service",(0-1))\n\nOK</response>
</chat>
<chat>
<!-- Query mobile equipment event reporting mode -->
<command>AT+CMER?</command>
<response>+CMER: ${MER}\n\nOK</response>
</chat>
<chat>
<!-- Query supported mobile equipment event reporting modes -->
<command>AT+CMER=?</command>
<response>+CMER: (0-3),(0-2),(0-2),(0-2),(0-1)\n\nOK</response>
</chat>
<chat>
<!-- Set mobile equipment event reporting mode -->
<command>AT+CMER=*</command>
<response>OK</response>
<set name="MER" value="*"/>
</chat>
<chat>
<!-- Clock (always ignored) -->
<command>AT+CCLK*</command>
<response>OK</response>
</chat>
<chat>
<!-- Alarm (always ignored) -->
<command>AT+CALA*</command>
<response>OK</response>
</chat>
<chat>
<!-- Generic SIM access (not supported yet) -->
<command>AT+CSIM*</command>
<response>ERROR</response>
</chat>
<!-- Band Selection -->
<chat>
<!-- Query the current band -->
<command>AT*TBAND?</command>
<response>*TBAND: ${BAND}\n\nOK</response>
</chat>
<chat>
<!-- Query the list of available bands -->
<command>AT*TBAND=?</command>
<response>*TBAND: "${BAND0}"\n*TBAND: "${BAND1}"\n*TBAND: "${BAND2}"\n*TBAND: "${BAND3}"\n*TBAND: "${BAND4}"\n*TBAND: "${BAND5}"\n*TBAND: "${BAND6}"\n*TBAND: "${BAND7}"\n*TBAND: "${BAND8}"\n*TBAND: "${BAND9}"\n*TBAND: "${BANDA}"\n*TBAND: "${BANDB}"\n*TBAND: "${BANDC}"\n*TBAND: "${BANDD}"\n*TBAND: "${BANDE}"\n*TBAND: "${BANDF}"\n\nOK</response>
</chat>
<chat>
<!-- Set the current band to automatic -->
<command>AT*TBAND=0</command>
<response>OK</response>
<set name="BAND" value="0"/>
</chat>
<chat>
<!-- Set the current band (bad band name) -->
<command>AT*TBAND=1,""</command>
<response>ERROR</response>
</chat>
<chat>
<!-- Set the current band to BAND0 -->
<command>AT*TBAND=1,"${BAND0}"</command>
<response>OK</response>
<set name="BAND" value="1,&quot;${BAND0}&quot;"/>
</chat>
<chat>
<!-- Set the current band to BAND1 -->
<command>AT*TBAND=1,"${BAND1}"</command>
<response>OK</response>
<set name="BAND" value="1,&quot;${BAND1}&quot;"/>
</chat>
<chat>
<!-- Set the current band to BAND2 -->
<command>AT*TBAND=1,"${BAND2}"</command>
<response>OK</response>
<set name="BAND" value="1,&quot;${BAND2}&quot;"/>
</chat>
<chat>
<!-- Set the current band to BAND3 -->
<command>AT*TBAND=1,"${BAND3}"</command>
<response>OK</response>
<set name="BAND" value="1,&quot;${BAND3}&quot;"/>
</chat>
<chat>
<!-- Set the current band to BAND4 -->
<command>AT*TBAND=1,"${BAND4}"</command>
<response>OK</response>
<set name="BAND" value="1,&quot;${BAND4}&quot;"/>
</chat>
<chat>
<!-- Set the current band to BAND5 -->
<command>AT*TBAND=1,"${BAND5}"</command>
<response>OK</response>
<set name="BAND" value="1,&quot;${BAND5}&quot;"/>
</chat>
<chat>
<!-- Set the current band to BAND6 -->
<command>AT*TBAND=1,"${BAND6}"</command>
<response>OK</response>
<set name="BAND" value="1,&quot;${BAND6}&quot;"/>
</chat>
<chat>
<!-- Set the current band to BAND7 -->
<command>AT*TBAND=1,"${BAND7}"</command>
<response>OK</response>
<set name="BAND" value="1,&quot;${BAND7}&quot;"/>
</chat>
<chat>
<!-- Set the current band to BAND8 -->
<command>AT*TBAND=1,"${BAND8}"</command>
<response>OK</response>
<set name="BAND" value="1,&quot;${BAND8}&quot;"/>
</chat>
<chat>
<!-- Set the current band to BAND9 -->
<command>AT*TBAND=1,"${BAND9}"</command>
<response>OK</response>
<set name="BAND" value="1,&quot;${BAND9}&quot;"/>
</chat>
<chat>
<!-- Set the current band to BANDA -->
<command>AT*TBAND=1,"${BANDA}"</command>
<response>OK</response>
<set name="BAND" value="1,&quot;${BANDA}&quot;"/>
</chat>
<chat>
<!-- Set the current band to BANDB -->
<command>AT*TBAND=1,"${BANDB}"</command>
<response>OK</response>
<set name="BAND" value="1,&quot;${BANDB}&quot;"/>
</chat>
<chat>
<!-- Set the current band to BANDC -->
<command>AT*TBAND=1,"${BANDC}"</command>
<response>OK</response>
<set name="BAND" value="1,&quot;${BANDC}&quot;"/>
</chat>
<chat>
<!-- Set the current band to BANDD -->
<command>AT*TBAND=1,"${BANDD}"</command>
<response>OK</response>
<set name="BAND" value="1,&quot;${BANDD}&quot;"/>
</chat>
<chat>
<!-- Set the current band to BANDE -->
<command>AT*TBAND=1,"${BANDE}"</command>
<response>OK</response>
<set name="BAND" value="1,&quot;${BANDE}&quot;"/>
</chat>
<chat>
<!-- Set the current band to BANDF -->
<command>AT*TBAND=1,"${BANDF}"</command>
<response>OK</response>
<set name="BAND" value="1,&quot;${BANDF}&quot;"/>
</chat>
<chat>
<!-- Set the current band (unknown band name) -->
<command>AT*TBAND=1,*</command>
<response>ERROR</response>
</chat>
<!-- GSM 07.07: Phone book storage -->
<!-- Phonebook commands are implemented in the phone simulator source code -->
<phonebook name="SM" size="150">
<entry index="1" number="123" name="ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEF"/>
<entry index="2" number="24685" name="Adam Zucker/m"/>
<entry index="3" number="48759" name="Bradley Young"/>
<entry index="4" number="45575" name="Chuck Woodbury/w"/>
<entry index="5" number="57968" name="Chuck Woodbury/h"/>
<entry index="6" number="48959" name="Darren Umber"/>
<entry index="7" number="48759" name="Courtney Umber/h"/>
<entry index="8" number="42887" name="Courtney Umber/m"/>
<entry index="9" number="87683" name="Evan Ungar"/>
<entry index="10" number="15798" name="Frank Twedell"/>
<entry index="11" number="12497" name="Greg Smith/w"/>
<entry index="12" number="89765" name="Greg Smith/m"/>
<entry index="13" number="12498" name="Greg Smith/o"/>
<entry index="14" number="34967" name="Greg Smith/h"/>
<entry index="15" number="57682" name="Henry Ross/m"/>
<entry index="16" number="78952" name="Henry Ross/h"/>
<entry index="17" number="44585" name="Ivan Prischmann"/>
<entry index="19" number="13553" name="Jack Odegard/h"/>
<entry index="20" number="49755" name="Jack Odegard/m"/>
<entry index="21" number="57683" name="Rachel Odegard"/>
<entry index="22" number="14573" name="Kevin Norris"/>
<entry index="23" number="48468" name="Logan Minkoff"/>
<entry index="24" number="48468" name="Tracy Minkoff"/>
<entry index="25" number="89624" name="Matthew LeBlanc"/>
<entry index="26" number="57439" name="Nathan Kelly/m"/>
<entry index="27" number="13596" name="Nathan Kelly/w"/>
<entry index="28" number="18279" name="Paul Jacobs"/>
<entry index="29" number="62755" name="Robert Irving"/>
<entry index="30" number="13466" name="Sean Hunt/h"/>
<entry index="31" number="59786" name="Sean Hunt/m"/>
<entry index="32" number="13664" name="Thomas Grayson"/>
<entry index="33" number="77957" name="Victor Frey"/>
<entry index="34" number="14535" name="Wade Emerson"/>
<entry index="35" number="98735" name="Monica Emerson"/>
<entry index="36" number="65865" name="Dorathy Foster"/>
<entry index="37" number="66573" name="Gina Haylock/m"/>
<entry index="38" number="33846" name="Gina Haylock/w"/>
<entry index="39" number="35933" name="BuyIt"/>
<entry index="40" number="2468DD" name="Wildcard"/>
<entry index="101" number="10101" name="GSM Test"/>
<entry index="121" number="10101" name="Test for 75 characters a line: ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ"/>
<entry index="122" number="+12345" name="Test for International number"/>
<entry index="123" number="12345" name="Test for slash: AB;CD,EFG"/>
<entry index="124" number="800820" name="abc/h" hidden="1" group="FSF" adnumber="+800821"/>
<entry index="125" number="800820" name="def/m" hidden="1" group="FSF" adnumber="+800821" secondtext="abd" email="[email protected]" sip_uri="[email protected]" tel_uri="[email protected]"/>
<entry index="126" number="800820" name="上海/m" hidden="1" group="英特尔" adnumber="+800821"/>
</phonebook>
<phonebook name="FD" size="20">
<entry index="1" number="+1357924680" name="FDN111"/>
<entry index="2" number="24680" name="FDN222"/>
<entry index="3" number="+123465678901234567890" name="FDN333"/>
<entry index="4" number="112" name="Emergency"/>
</phonebook>
<phonebook name="SN" size="50">
<entry index="1" number="013" name="Directory Assistance"/>
<entry index="2" number="121" name="Call Minding"/>
</phonebook>
<!-- GSM 07.05: SMS related commands -->
<chat>
<!-- Query SMS message format -->
<command>AT+CMGF?</command>
<response>+CMGF: ${CMGF}\n\nOK</response>
</chat>
<chat>
<!-- Query SMS message format values -->
<command>AT+CMGF=?</command>
<response>+CMGF: (0,1)\n\nOK</response>
</chat>
<chat>
<!-- Set SMS message format to PDU -->
<command>AT+CMGF=0</command>
<response>OK</response>
<set name="CMGF" value="0"/>
</chat>
<chat>
<!-- Set SMS message format to text -->
<command>AT+CMGF=1</command>
<response>OK</response>
<set name="CMGF" value="1"/>
</chat>
<chat>
<!-- Send an SMS message -->
<command>AT+CMGS=*</command>
<response eol="false">&gt; </response>
<switch name="smsread"/>
</chat>
<state name="smsread">
<!-- Read an SMS PDU sent by the client (which is assumed
to start with an empty service centre address). Messages
sent to "199" are reflected back into the incoming queue -->
<chat>
<command>00110003A191F9*</command>
<response>OK\n+CMTI: "ME",1</response>
<switch name="default"/>
<set name="MSGLIST" value="+CMGL: 1,0,,999\n00110003A191F9${*}\n"/>
<set name="MSGCOUNT" value="1"/>
</chat>
<chat>
<!-- messages with the user data header bit set -->
<command>00510003A191F9*</command>
<response>OK\n+CMTI: "ME",1</response>
<switch name="default"/>
<set name="MSGLIST" value="+CMGL: 1,0,,999\n00510003A191F9${*}\n"/>
<set name="MSGCOUNT" value="1"/>
</chat>
<chat>
<command wildcard="true">00*</command>
<response>+CMGS: 0\n\nOK</response>
<switch name="default"/>
</chat>
</state>
<chat>
<!-- CPMS Support -->
<command>AT+CPMS=?</command>
<response>+CPMS: ("SM","ME"),("SM","ME"),("SM")\n\nOK</response>
</chat>
<chat>
<!-- Request the number of messages in the incoming SIM queue -->
<command>AT+CPMS="SM","SM","SM"</command>
<response>+CPMS: 0,99,${MSGCOUNT},99,${MSGCOUNT},99\n\nOK</response>
<set name="MSGLISTCOPY" value=""/>
<set name="MSGMEM" value="SM"/>
</chat>
<chat>
<!-- Request the number of messages in the incoming ordinary queue -->
<command>AT+CPMS="ME","ME","SM"</command>
<response>+CPMS: ${MSGCOUNT},99,${MSGCOUNT},99,${MSGCOUNT},99\n\nOK</response>
<set name="MSGLISTCOPY" value="${MSGLIST}"/>
<set name="MSGMEM" value="ME"/>
</chat>
<chat>
<!-- Query CGDCONT support -->
<command>AT+CGDCONT=?</command>
<response>+CGDCONT: (5-10),("IP"),,,(0-1),(0-1)\n+CGDCONT: (5-10),("IPV6"),,,(0-1),(0-1)\n\nOK</response>
</chat>
<chat>
<!-- Fake CGDCONT -->
<command>AT+CGDCONT=*</command>
<response>OK</response>
</chat>
<chat>
<!-- Fake CGACT -->
<command>AT+CGACT=*</command>
<response>OK</response>
</chat>
<chat>
<!-- Fake attach -->
<command>AT+CGATT=1</command>
<response>OK</response>
</chat>
<chat>
<!-- Fake detach -->
<command>AT+CGATT=0</command>
<response>OK</response>
</chat>
<chat>
<!-- Query CNMI support -->
<command>AT+CNMI=?</command>
<response>+CNMI: (0,1,2,3),(0,1),(0,1,2),(0),(0,1)\n\nOK</response>
</chat>
<chat>
<!-- Enable new message indications -->
<command>AT+CNMI=*</command>
<response>OK</response>
</chat>
<chat>
<!-- List the messages in an SMS message store -->
<command>AT+CMGL*</command>
<listSMS/>
</chat>
<chat>
<!-- Delete a particular message from an SMS message store -->
<command>AT+CMGD=*</command>
<deleteSMS/>
</chat>
<chat>
<!-- Reads a particular message from the SMS message store -->
<command>AT+CMGR=*</command>
<readSMS/>
</chat>
<chat>
<!-- Query Cell broadcast service presentation mode -->
<command>AT+CSCB=?</command>
<response>+CSCB: (0-1)\n\nOK</response>
</chat>
<chat>
<!-- Set cell broadcast channels -->
<command>AT+CSCB=0,*</command>
<response>OK</response>
</chat>
<chat>
<!-- Remove cell broadcast channels -->
<command>AT+CSCB=1,*</command>
<response>OK</response>
</chat>
<!-- GSM 07.07: Mobile equipment errors -->
<chat>
<!-- Query mobile equipment error reporting mode -->
<command>AT+CMEE?</command>
<response>+CMEE: ${MEE}\n\nOK</response>
</chat>
<chat>
<!-- Query available mobile equipment error reporting modes -->
<command>AT+CMEE=?</command>
<response>+CMEE: (0-2)\n\nOK</response>
</chat>
<chat>
<!-- Set mobile equipment error reporting mode (ignored) -->
<command>AT+CMEE=?</command>
<response>OK</response>
<set name="MEE" value="*"/>
</chat>
<!-- GSM 07.07: Voice-related commands -->
<chat>
<!-- Query supported levels -->
<command>AT+CLVL=?</command>
<response>+CLVL: (100-150)\n\nOK</response>
</chat>
<chat>
<!-- Set sound level -->
<command>AT+CLVL=*</command>
<response>OK</response>
<set name="LVL" value="*"/>
</chat>
<chat>
<!-- Read sound level -->
<command>AT+CLVL?</command>
<response>+CLVL: ${LVL}\n\nOK</response>
</chat>
<chat>
<!-- Query supported levels -->
<command>AT+CMUT=?</command>
<response>+CMUT: (0,1)\n\nOK</response>
</chat>
<chat>
<!-- Set sound level -->
<command>AT+CMUT=*</command>
<response>OK</response>
<set name="MUT" value="*"/>
</chat>
<chat>
<!-- Read sound level -->
<command>AT+CMUT?</command>
<response>+CMUT: ${MUT}\n\nOK</response>
</chat>
<chat>
<!-- Query supported bearers -->
<command>AT+CGSMS=?</command>
<response>+CMUT: (0-3)\n\nOK</response>
</chat>
<chat>
<!-- Set bearer -->
<command>AT+CGSMS=*</command>
<response>OK</response>
<set name="CGSMS" value="*"/>
</chat>
<chat>
<!-- Read bearer -->
<command>AT+CGSMS?</command>
<response>+CGSMS: ${CGSMS}\n\nOK</response>
</chat>
<chat>
<!-- Select operation class (ignored) -->
<command>AT+FCLASS*</command>
<response>OK</response>
</chat>
<chat>
<!-- Buffer threshold (not supported yet) -->
<command>AT+VBT*</command>
<response>ERROR</response>
</chat>
<chat>
<!-- Calling number ID presentation (use AT+CLIP instead) -->
<command>AT+VCID*</command>
<response>ERROR</response>
</chat>
<chat>
<!-- Receive gain selector (not supported yet) -->
<command>AT+VGR*</command>
<response>ERROR</response>
</chat>
<chat>
<!-- Transmit gain selector (not supported yet) -->
<command>AT+VGT*</command>
<response>ERROR</response>
</chat>
<chat>
<!-- Initialize voice parameters (not supported yet) -->
<command>AT+VGT*</command>
<response>ERROR</response>
</chat>
<chat>
<!-- Control inactivity timer (not supported yet) -->
<command>AT+VIT*</command>
<response>ERROR</response>
</chat>
<chat>
<!-- Line selection (not supported yet) -->
<command>AT+VLS*</command>
<response>ERROR</response>
</chat>
<chat>
<!-- Receive data state (not supported yet) -->
<command>AT+VRX*</command>
<response>ERROR</response>
</chat>
<chat>
<!-- Select compression method (not supported yet) -->
<command>AT+VSM*</command>
<response>ERROR</response>
</chat>
<chat>
<!-- DTMF tone generation (ignored) -->
<command>AT+VTS*</command>
<response>OK</response>
</chat>
<chat>
<!-- DTMF tone duration (not supported by GSM phones) -->
<command>AT+VTD*</command>
<response>ERROR</response>
</chat>
<chat>
<!-- Transmit data state (not supported yet) -->
<command>AT+VTX*</command>
<response>ERROR</response>
</chat>
<!-- Positioning related commands -->
<chat>
<!-- Query if CPOSR is supported -->
<command>AT+CPOSR=?</command>
<response>OK</response>
</chat>
<chat>
<!-- Set unsolicited position reporting -->
<command>AT+CPOSR=*</command>
<response>OK</response>
<set name="CPOSR" value="*"/>
</chat>
<chat>
<!-- Read unsolicited position reporting state -->
<command>AT+CPOSR?</command>
<response>+CPOSR: ${CPOSR}\n\nOK</response>
</chat>
<chat>
<!-- Query if CPOS supported -->
<command>AT+CPOS=?</command>
<response>OK</response>
</chat>
<chat>
<!-- Send positioning element -->
<command>AT+CPOS</command>
<!-- <response eol="false">&gt; </response> -->
<response eol="false"></response>
<switch name="cposread"/>
</chat>
<state name="cposread">
<chat>
<command wildcard="true"></command>
<response>OK</response>
<switch name="default"/>
</chat>
</state>
<chat>
<command>AT+SIMSTATE?</command>
<response>+SIMSTATE: ${SIMSTATE}\n\nOK</response>
</chat>
<chat>
<!-- Query if SIMSTATE supported -->
<command>AT+SIMSTATE=?</command>
<response>OK</response>
</chat>
<!-- Modem compatibility commands for phones that support data services -->
<chat>
<!-- Select tone dialing (ignored by GSM phones) -->
<command>ATT</command>
<response>OK</response>
</chat>
<chat>
<!-- Select pulse dialing (ignored by GSM phones) -->
<command>ATP</command>
<response>OK</response>
</chat>
<chat>
<!-- Answer modem call (we don't support modem calls yet) -->
<command>ATA</command>
<response>ERROR</response>
</chat>
<chat>
<!-- Hangup modem call, with options -->
<command>ATH*</command>
<response>OK</response>
</chat>
<chat>
<!-- Return to online state (we don't support modem calls yet) -->
<command>ATO*</command>
<response>ERROR</response>
</chat>
<chat>
<!-- Set modem option -->
<command>ATS*</command>
<response>OK</response>
</chat>
<chat>
<!-- Set speaker loudness -->
<command>ATL*</command>
<response>OK</response>
</chat>
<chat>
<!-- Set speaker mode -->
<command>ATM*</command>
<response>OK</response>
</chat>
<chat>
<!-- Modem identifier -->
<command>ATI</command>
<response>${ID}\n\nOK</response>
</chat>
<chat>
<!-- Control data compression options -->
<command>AT+DS*</command>
<response>OK</response>
</chat>
<chat>
<!-- Control extended modem reporting codes -->
<command>AT+DR*</command>
<response>OK</response>
</chat>
<chat>
<!-- Circuit 109 behaviour -->
<command>AT&amp;C*</command>
<response>OK</response>
</chat>
<chat>
<!-- Circuit 108 behaviour -->
<command>AT&amp;D*</command>
<response>OK</response>
</chat>
<chat>
<!-- Set to factory defaults -->
<command>AT&amp;F*</command>
<response>OK</response>
</chat>
<chat>
<!-- Country of installation -->
<command>AT+GCI</command>
<response>TROLLVILLE\n\nOK</response>
</chat>
<chat>
<!-- Global object identification (ignored) -->
<command>AT+GOI</command>
<response>OK</response>
</chat>
<chat>
<!-- Character framing (ignored) -->
<command>AT+ICF*</command>
<response>OK</response>
</chat>
<chat>
<!-- Local flow control (ignored) -->
<command>AT+IFC*</command>
<response>OK</response>
</chat>
<chat>
<!-- Local rate reporting (ignored) -->
<command>AT+ILRR*</command>
<response>OK</response>
</chat>
<chat>
<!-- DTE rate (ignored) -->
<command>AT+IPR*</command>
<response>OK</response>
</chat>
<chat>
<!-- Command echo (ignored) -->
<command>ATE*</command>
<response>OK</response>
</chat>
<chat>
<!-- Result code suppression (ignored) -->
<command>ATQ*</command>
<response>OK</response>
</chat>
<chat>
<!-- Result code response format (ignored) -->
<command>ATV*</command>
<response>OK</response>
</chat>
<chat>
<!-- Result code selection and progress monitoring (ignored) -->
<command>ATX*</command>
<response>OK</response>
</chat>
<chat>
<!-- Reset to default configuration -->
<command>ATZ*</command>
<response>OK</response>
</chat>
<!-- List of all supported commands -->
<chat>
<command>AT*</command>
<alias>AT+GCAP</alias>
<response>+CGMI
+CGMM
+CGMR
+CGSN
+CSCS
+WS46
+CSTA
+CHUP
+CBST
+CRLP
+CR
+CEER
+CRC
+CNUM
+CREG
+COPS
+CLCK
+CPWD
+CLIP
+CLIR
+COLP
+CCUG
+CCFC
+CCWA
+CHLD
+CTFR
+CUSD
+CAOC
+CACM
+CAMM
+CPUC
+CCWE
+CSSN
+CPAS
+CFUN
+CPIN
+CBC
+CSQ
+CMEC
+CKPD
+CDIS
+CIND
+CMER
+CCLK
+CALA
+CSIM
+CPBS
+CPBR
+CPBF
+CPBW
+CPOS
+CPOSR
+CMEE
+CMGF
+CMGS
+CUAD
+DR
+DS
+GCAP
+GCI
+GMI
+GMM
+GMR
+GOI
+GSN
+ICF
+IFC
+ILRR
+IPR
+FCLASS
+PTTY
+VBT
+VCID
+VGR
+VGT
+VIP
+VIT
+VLS
+VRX
+VSM
+VTS
+VTD
+VTX
*ECAM
A
D
E
H
I
L
M
O
P
Q
S0
S3
S4
S5
S6
S7
S8
S10
T
V
X
Z
&amp;C
&amp;D
&amp;F
*
OK</response>
</chat>
<chat>
<!-- Query supported TTY values -->
<command>AT+PTTY=?</command>
<response>+PTTY: (0-1)\n\nOK</response>
</chat>
<chat>
<!-- Set TTY (hearing impaired) set -->
<command>AT+PTTY=*</command>
<response>OK</response>
<set name="PTTY" value="*"/>
</chat>
<chat>
<!-- Query TTY (hearing impaired) state -->
<command>AT+PTTY?</command>
<response>+PTTY: ${PTTY}\n\nOK</response>
</chat>
<chat>
<!-- Discover UICC applications -->
<!-- the response is in sync with the EFdir contents in the filesystem
definition below -->
<command>AT+CUAD</command>
<response>+CUAD: "611B4F10A0000000871002FFFFFFFF8905080000FFFFFFFFFFFFFFFFFFFFFFFFFF611F4F0CA000000063504B43532D313550094D49445066696C657351043F007F80"\n\nOK</response>
</chat>
<chat>
<!-- Query "Discover UICC applications" support -->
<command>AT+CUAD=?</command>
<response>OK</response>
</chat>
<!-- SIM filesystem definition, based on standard test strings
presented in GSM 11.10-4. This is primarily intended for
testing icon definitions within SIM toolkit applications -->
<filesystem>
<file name="EFiccid">
98 94 22 02 47 54 21 24 60 F6
</file>
<file name="EFimsi">
08 09 10 10 10 32 54 76 98
</file>
<file name="EFimg" recordsize="20">
01 2E 28 11 4F 01 00 00 00 E8 FF FF FF FF FF FF FF FF FF FF
01 08 08 21 4F 02 00 00 00 1F FF FF FF FF FF FF FF FF FF FF
01 18 10 11 4F 03 00 00 00 32 FF FF FF FF FF FF FF FF FF FF
01 08 08 11 4F 04 00 00 00 0A FF FF FF FF FF FF FF FF FF FF
01 05 05 11 4F 05 00 00 00 08 FF FF FF FF FF FF FF FF FF FF
</file>
<file name="EFimg1">
2E 28 00 00 00 00 00 00 00 01 FF 80 00 00 00 0F
FF 00 00 00 00 77 FE 00 00 00 01 BF F8 00 00 00
06 FF E0 00 00 00 1A 03 80 00 00 00 6B F6 BC 00
00 01 AF D8 38 00 00 06 BF 60 20 00 00 1A FD 80
40 00 00 6B F6 00 80 00 01 A0 1F 02 00 00 06 FF
E4 04 00 00 1B FF 90 10 00 00 6D EE 40 40 00 01
BF F9 01 00 00 6F FF E4 04 00 00 1B FF 90 10 00
00 6F FE 40 40 00 01 BF F9 01 00 00 06 FF E6 04
00 00 1B FF 88 10 00 00 6F FE 20 40 00 01 BF F8
66 00 00 06 FF E0 F0 00 00 1B FF 80 80 00 00 7F
FE 00 00 00 03 00 0C 00 00 00 1F FF F8 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
1C 21 08 44 EE 00 48 C4 31 92 20 01 25 11 45 50
80 07 14 45 15 43 80 12 71 1C 4D 08 00 4A 24 89
32 20 01 C8 9E 24 4E E0
</file>
<file name="EFimg2">
08 08 02 03 00 16 AA AA 80 02 85 42 81 42 81 42
81 52 80 02 AA AA FF 00 00 00 FF 00 00 00 FF
</file>
<file name="EFimg3">
18 10 FF FF FF 80 00 01 80 00 01 80 00 01 8F 3C
F1 89 20 81 89 20 81 89 20 F1 89 20 11 89 20 11
89 20 11 8F 3C F1 80 00 01 80 00 01 80 00 01 FF
FF FF
</file>
<file name="EFimg4">
08 08 FF 03 A5 99 99 A5 C3 FF
</file>
<file name="EFimg5">
05 05 FE EB BF FF FF FF
</file>
<file name="EFspn">
03 6F 46 6F 6E 6F FF FF FF FF FF FF FF FF FF FF FF
</file>
<file name="EFmsisdn" recordsize="28">
4F 57 4E 20 4E 55 4D 42 45 52 FF FF FF FF
07 81 53 58 10 32 54 76 FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF
</file>
<file name="EFust">
3C 00 FC 0C 00 00 7F DF 00 31 0F C0
</file>
<file name="EFest">
00
</file>
<file name="EFcbmi">
03 E7 FF FF FF FF FF FF FF FF FF FF FF FF
</file>
<file name="EFcbmid">
10 01 FF FF FF FF FF FF FF FF FF FF FF FF
</file>
<file name="EFcbmir">
00 32 00 32 FF FF FF FF FF FF FF FF FF FF FF FF
</file>
<file name="EFcfis" recordsize="16">
01 1E FF FF FF FF FF FF FF FF FF FF FF FF FF FF
</file>
<!-- Record 1
Length of alpha identifier: 32 chars
Alpha Identifier: "ABC"
Length of BCD number: "03"
TON & NPI: Telephony & Unknown
Dialed Number: 123
CCI: None
EXT2: None
Record 2
Length of alpha identifier: 32 chars
Alpha Identifier: "DEF"
Length of BCD number "04"
TON & NPI: Telephony & Unknown
Dialed Number: 9876
CCI: None
EXT2: None
-->
<file name="EFfdn" recordsize="48">
41 42 43 FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
03 81 21 F3 FF FF FF FF FF FF FF FF FF FF 44 45
46 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF 03 81
89 67 FF FF FF FF FF FF FF FF FF FF
</file>
<file name="EFbdn" recordsize="48">
43 42 41 FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
03 81 23 F1 FF FF FF FF FF FF FF FF FF FF
</file>
<file name="EFecc" recordsize="4">
01 02 FF 00
11 F2 FF 00
</file>
<file name="EFsmsp" recordsize="28">
FD FF FF FF FF FF FF FF FF FF FF FF FF 09
91 11 22 33 44 55 66 77 F8 FF FF FF FF FF
</file>
<file name="EFspdi">
A3 05 80 03 42 F6 18
</file>
<file name="EFopl" recordsize="8">
42 F6 1D 00 00 FF FE 01
</file>
<file name="EFpnn" recordsize="20">
43 08 80 D4 3A 1E 34 7C B7 DB 80 04 49 6E 66 6F FF FF FF FF
43 05 84 CC B7 FB 0C 45 06 85 53 F4 5B 4E 07 FF FF FF FF FF
</file>
<file name="EFmwis" recordsize="6">
01 01 00 00 00 00
</file>
<file name="EFmbdn" recordsize="48">
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF 03 81 76 98 FF FF FF FF FF FF FF FF FF FF
</file>
<file name="EFmbi" recordsize="5">
01 00 00 00 00
</file>
<file name="EFad">
00 FF FF 02
</file>
<file name="EFli">
00 01 02 03 04 05
</file>
<file name="EFpl">
FF FF FF FF FF FF
</file>
<file name="EFsdn" recordsize="28">
2E 65 44 65 73 6B FF FF FF FF FF FF FF FF
04 FF 1A 01 FB FF FF FF FF FF FF FF FF FF
31 31 32 FF FF FF FF FF FF FF FF FF FF FF
03 81 11 F2 FF FF FF FF FF FF FF FF FF FF
45 6D 65 72 67 65 6E 63 79 FF FF FF FF FF
03 81 99 F9 FF FF FF FF FF FF FF FF FF FF
50 6F 6C 69 63 65 FF FF FF FF FF FF FF FF
03 81 99 F7 FF FF FF FF FF FF FF FF FF FF
46 69 72 65 6D 65 6E FF FF FF FF FF FF FF
03 81 99 F8 FF FF FF FF FF FF FF FF FF FF
53 65 61 20 65 6D 65 72 67 65 6E 63 79 FF
07 91 84 06 11 00 01 F0 FF FF FF FF FF FF
4D 6F 75 6E 74 61 69 6E 20 65 6D 65 72 2E
07 91 84 06 11 00 03 F0 FF FF FF FF FF FF
2E 48 45 4C 50 20 44 45 53 4B FF FF FF FF
03 81 62 10 FF FF FF FF FF FF FF FF FF FF
2E 52 45 43 48 41 52 47 45 FF FF FF FF FF
03 81 55 55 FF FF FF FF FF FF FF FF FF FF
2E 43 72 65 64 69 74 20 6C 65 66 74 FF FF
04 FF 1A 52 FB FF FF FF FF FF FF FF FF FF
2E 45 6E 67 6C 69 73 68 FF FF FF FF FF FF
05 FF 1A 50 1A B0 FF FF FF FF FF FF FF FF
2E 53 70 61 6E 69 73 68 FF FF FF FF FF FF
05 FF 1A 50 2A B0 FF FF FF FF FF FF FF FF
2E 56 6D 61 69 6C 2E 20 73 74 61 74 75 73
04 FF 1A 22 FB FF FF FF FF FF FF FF FF FF
2E 56 6F 69 63 65 6D 61 69 6C 20 6F 66 66
05 FF 1A 22 0A B0 FF FF FF FF FF FF FF FF
2E 56 6F 69 63 65 6D 61 69 6C 20 6F 6E FF
05 FF 1A 22 1A B1 FF FF FF FF FF FF FF FF
2E 52 6F 61 6D 69 6E 67 20 6F 6E FF FF FF
07 FF 1A 10 1A A1 10 FB FF FF FF FF FF FF
2E 52 6F 61 6D 69 6E 67 20 6F 66 66 FF FF
07 FF 1A 10 0A A0 10 FB FF FF FF FF FF FF
2E 47 50 52 53 2F 4D 4D 53 20 6F 6E FF FF
07 FF 1A 10 1A A1 20 FB FF FF FF FF FF FF
2E 47 50 52 53 2F 4D 4D 53 20 6F 66 66 FF
07 FF 1A 10 0A A0 20 FB FF FF FF FF FF FF
2E 41 63 74 2E 20 73 65 72 76 69 63 65 73
04 FF 1A 10 FB FF FF FF FF FF FF FF FF FF
2E 53 65 6C 65 63 74 20 54 45 41 4D 37 FF
05 FF 1A 74 7A B0 FF FF FF FF FF FF FF FF
2E 53 65 6C 65 63 74 20 45 41 53 59 FF FF
05 FF 1A 74 8A B0 FF FF FF FF FF FF FF FF
2E 56 6F 69 63 65 6D 61 69 6C FF FF FF FF
07 91 84 06 21 22 22 F2 FF FF FF FF FF FF
2E 56 6F 69 63 65 20 61 63 63 65 73 73 FF
07 91 84 06 11 40 44 F4 FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF
</file>
<file name="EFcphs_info">
02 FF 03 00
</file>
<file name="EFcphs_cff">
55 55
</file>
<file name="EFcphs_mbdn" recordsize="48">
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF 03 81 76 90 FF FF FF FF FF FF FF FF FF FF
</file>
<file name="EFcphs_mwis">
5A 55
</file>
<file name="EFdir" recordsize="33">
61 1B 4F 10 A0 00 00 00 87 10 02 FF FF FF FF 89 05 08 00 00 FF FF
FF FF FF FF FF FF FF FF FF FF FF
61 1F 4F 0C A0 00 00 00 63 50 4B 43 53 2D 31 35 50 09 4D 49 44 50
66 69 6C 65 73 51 04 3F 00 7F 80"
</file>
<file name="EFcphs_csp">
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 C0 80
</file>
<file name="EFcphs_spn">
63 70 68 73 11 73 70 6E
</file>
<file name="EFcphs_spns">
63 70 68 73 11 73 70 6E 73 FF
</file>
</filesystem>
<application type="ISim" id="61184F10A0000000871004FFFFFFFF890619000050044953494DFFFFFFFFFFFFFF">
<filesystem>
<file name="EFimpi">
<!-- [email protected] -->
80 15 31 32 33 34 35 36 37 38 40 70 68 6f 6e 65 73 69 6d 2e 6f 72 67
</file>
</filesystem>
</application>
<application type="USim" id="61184F10A0000000871002FFFFFFFF890619000050045553494DFFFFFFFFFFFFFF">
</application>
</simulator>
OSZAR »