Changeset 3278


Ignore:
Timestamp:
10/26/07 01:02:14 (6 years ago)
Author:
andrew
Message:

Emit cellular result codes according to AT+CRC value.
More TI Calypso compatiblity (AT+CLIP, AT+CFUN, AT+CBC, AT+CNUM).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/host/qemu-neo1973/openmoko/neo1973.xml

    r3277 r3278  
    9696    <!-- Calling line identification presentation flag --> 
    9797    <set name="LIP" value="0"/> 
     98    <set name="CLIP" value="\n+CLIP: &quot;313373&quot;,145,,,,1"/> 
    9899 
    99100    <!-- Calling line identification restriction flag --> 
     
    174175    <!-- Call Progress Indication type --> 
    175176    <set name="CPI" value="0"/> 
     177 
     178    <!-- Format of cellular result codes --> 
     179    <set name="RING" value="RING"/> 
    176180 
    177181<!-- Broadcast a cell location --> 
     
    348352 
    349353<state name="dialback"> 
    350     <unsolicited switch="incoming">RING\n+CLIP: "1234567",129</unsolicited> 
     354    <unsolicited switch="incoming">${RING}${CLIP}</unsolicited> 
    351355</state> 
    352356 
     
    370374 
    371375<state name="199dialback"> 
    372     <unsolicited delay="2000" switch="incoming">RING\n+CLIP: "1234567",129</unsolicited> 
     376    <unsolicited delay="2000" switch="incoming">${RING}${CLIP}</unsolicited> 
    373377</state> 
    374378 
     
    382386 
    383387<state name="1993dialback"> 
    384     <unsolicited delay="30000" switch="incoming">RING\n+CLIP: "1234567",129</unsolicited> 
     388    <unsolicited delay="30000" switch="incoming">${RING}${CLIP}</unsolicited> 
    385389</state> 
    386390 
     
    406410         or until 4 rings have been delivered.  After 4 rings, 
    407411         indicate that the call has been missed --> 
    408     <unsolicited delay="2000" switch="incoming1">RING</unsolicited> 
     412    <unsolicited delay="2000" switch="incoming1">${RING}</unsolicited> 
    409413</state> 
    410414 
     
    427431    </chat> 
    428432 
    429     <unsolicited delay="2000" switch="incoming2">RING</unsolicited> 
     433    <unsolicited delay="2000" switch="incoming2">${RING}</unsolicited> 
    430434</state> 
    431435 
     
    448452    </chat> 
    449453 
    450     <unsolicited delay="2000" switch="incoming3">RING</unsolicited> 
     454    <unsolicited delay="2000" switch="incoming3">${RING}</unsolicited> 
    451455</state> 
    452456 
     
    483487 
    484488<state name="177dialback"> 
    485     <unsolicited delay="2000" switch="177incoming">RING\n+CLIP: "1234567",129</unsolicited> 
     489    <unsolicited delay="2000" switch="177incoming">${RING}${CLIP}</unsolicited> 
    486490</state> 
    487491 
     
    506510         or until 4 rings have been delivered.  After 4 rings, 
    507511         indicate that the call has been missed --> 
    508     <unsolicited delay="2000" switch="177incoming1">RING</unsolicited> 
     512    <unsolicited delay="2000" switch="177incoming1">${RING}</unsolicited> 
    509513</state> 
    510514 
     
    526530    </chat> 
    527531 
    528     <unsolicited delay="2000" switch="177incoming2">RING</unsolicited> 
     532    <unsolicited delay="2000" switch="177incoming2">${RING}</unsolicited> 
    529533</state> 
    530534 
     
    546550    </chat> 
    547551 
    548     <unsolicited delay="2000" switch="177incoming3">RING</unsolicited> 
     552    <unsolicited delay="2000" switch="177incoming3">${RING}</unsolicited> 
    549553</state> 
    550554 
     
    729733    <response>OK</response> 
    730734    <set name="CRC" value="0"/> 
     735    <set name="RING" value="RING"/> 
    731736</chat> 
    732737 
     
    736741    <response>OK</response> 
    737742    <set name="CRC" value="1"/> 
     743    <set name="RING" value="+CRING: VOICE"/> 
    738744</chat> 
    739745 
     
    743749    <!-- Query subscriber number --> 
    744750    <command>AT+CNUM</command> 
    745     <response>+CNUM: "${NUM}",129,0,7\nOK</response> 
     751    <response>+CNUM: ,"${NUM}",129\nOK</response> 
    746752</chat> 
    747753 
     
    13901396    <!-- Query supported phone functionality settings --> 
    13911397    <command>AT+CFUN=?</command> 
    1392     <response>+CFUN: (0-4)\nOK</response> 
     1398    <response>+CFUN: (0,1,4),(0)\nOK</response> 
    13931399</chat> 
    13941400 
     
    14391445    <!-- Query supported battery charge values --> 
    14401446    <command>AT+CBC=?</command> 
    1441     <response>+CBC: (0,1,2,3),(1-100)\nOK</response> 
     1447    <response>+CBC: (0-3),(0-100)\nOK</response> 
    14421448</chat> 
    14431449 
Note: See TracChangeset for help on using the changeset viewer.