Holger's qtopia repo: Changes to 'master'

git at git.openmoko.org git at git.openmoko.org
Mon Jun 23 19:09:04 CEST 2008


 .../phonevendors/ficgta01/vendor_ficgta01.cpp      |   24 ++++++++++++++++++++
 .../phonevendors/ficgta01/vendor_ficgta01_p.h      |    5 ++++
 .../qtopiaphonemodem/qmodemcallprovider.cpp        |   24 ++++++++++++-------
 .../qtopiaphonemodem/qmodemcallprovider.h          |    4 ++-
 4 files changed, 47 insertions(+), 10 deletions(-)

New commits:
commit 0f0db245478872d8b5c49fa69bf47834b0c6db7a
Author: Holger Freyther <zecke at selfish.org>
Date:   Mon Jun 23 18:50:08 2008 +0200

    [gsm] Do not create a new call when a %CPI/CRING arrives during local hangup
    
    Currently Qtopia starts a timer to collect the call information from RING/CRING,
    CLIP and other services and then dispatches it. It looks like we can get rid of
    a call with HangupLocal, do not yet execute the AT command and treat the next
    CRING/CPI as a new call.
    
    This is a blind fix for the neo solely relying on %CPI for call indication. We will
    not start any timers, we will dispatch/announce a call on the right %CPI with all
    the information we need for that. The %CPI state 1 and 7 should not recreate a
    call when it was already hung up. Test pending.
    
    Make announceCall protected, attempt to override resetModem, make sure that it is
    not registering for the notifications that we don't want.
    
    attached log:
    
    PowerManagement :  Resume event [ 1562.585000] glamo-mci glamo-mci.0: glamo_mci_set_ios: power down.
    AtChat :  N : "%CPI: 1,0,1,0,1,0,"+886287514769",145"
    AtChat :  N : "+CRING: VOICE"
    AtChat :  N : "+CLIP: "+886287514769",145,,,,0"
    AtChat :  N : "%CPI: 1,4,1,1,1,0,"+886287514769",145"
    AtChat :   Ficgta01ModemService::wake()
    AtChat :  T : "ATE0"
    " Chat :  T : "
    Modem :  Qtopia detected an incoming call, notifying applications. QTime("23:21:12")
    Modem :  Qtopia detected an incoming call, notifying applications. QTime("23:21:12")
    
    ....
    
    Modem :  QModemCall::hangup()
    AtChat :  T : "ATE0"
    AtChat :  W : ""
    AtChat :  W : "OK"
    AtChat :  T : "AT+CHLD=0"
    AtChat :  N : "+CRING: VOICE"
    AtChat :  N : "+CLIP: "+886287514769",145,,,,0"
    AtChat :  N : "%CPI: 1,1,1,0,1,0,"+886287514769",145"
    AtChat :  F : "OK"
    AtChat :  N : "%CPI: 1,7,1,0,1,0,"+886287514769",145"
    AtChat :  setVibrateNow false
    Modem :  Qtopia detected an incoming call, notifying applications. QTime("23:21:27")
    Modem :  Qtopia detected an incoming call, notifying applications. QTime("23:21:27")





More information about the commitlog mailing list