emulator: fix CCWA for PTS
authorFrédéric Danis <frederic.danis@linux.intel.com>
Thu, 30 Jun 2011 14:52:54 +0000 (16:52 +0200)
committerDenis Kenzior <denkenz@gmail.com>
Wed, 6 Jul 2011 09:16:12 +0000 (04:16 -0500)
commit8c64487098f3fb0f1724d7ec37f7b45ae0b460ff
tree67e4eba0ea3467bce45ba04ba53aa9e03f2a9c67
parent045ac8cf941faaa2e108bafc5caf436bb7606bdf
emulator: fix CCWA for PTS

During test TP/TCA/BV-05-I [Terminate Ongoing Call – While Call Waiting]
PTS fails if multiple +CCWA are sent (waiting for 1st phone number when
waiting one becomes incoming, intead of 2nd phone number).
So, send only 1 +CCWA.

Update RING timer management to be started as soon as an incoming call
exists, and retrieve +CLIP info for incoming or waiting call (in case
of waiting call becoming incoming call, call indicator changes before
internal call status is updated)

Force to send +CCWA (if needed) on reception of AT+CCWA=1
src/emulator.c