Holger's qtopia repo: Changes to 'master'
git at git.openmoko.org
git at git.openmoko.org
Sun Aug 3 22:52:58 CEST 2008
src/libraries/qtopiaphonemodem/qmodemphonebook.cpp | 12 ++++++++++++
src/libraries/qtopiaphonemodem/qmodemservice.cpp | 2 +-
2 files changed, 13 insertions(+), 1 deletions(-)
New commits:
commit 84733d7f97194a1c05591169f17a6f8477dd6762
Author: Holger Freyther <zecke at selfish.org>
Date: Sun Aug 3 22:43:50 2008 +0200
[modem] AT+COPS=3,0 might fail on init, increase the retryChat count..
Part of the fix was to call simready at a later point of time
(after %CSTAT) the other part is to retry the COPS call more often.
The only users of retryChat are so far the one in this log message. The
only one we actually use is COPS and we want to retry this more often.
45 is just a case but this means we will try at least 45 times to
connect.
src/libraries/qtopiaphonemodem/qmodemcallprovider.cpp: d->service->retryChat( "AT+CLIP=1" );
src/libraries/qtopiaphonemodem/qmodemcallprovider.cpp: d->service->retryChat( "AT+COLP=1" );
src/libraries/qtopiaphonemodem/qmodemcallprovider.cpp: d->service->retryChat( "AT+CCWA=1" );
src/libraries/qtopiaphonemodem/qmodemnetworkregistration.cpp: d->service->retryChat( "AT+COPS=3,0" );
Aug 2 08:33:16 om-gta02 user.notice root: AtChat : F : "+CME ERROR: 100"
Aug 2 08:33:17 om-gta02 user.notice root: AtChat : T : "AT+COPS=3,0"
Aug 2 08:33:17 om-gta02 user.notice root: AtChat : F : "+CME ERROR: 100"
Aug 2 08:33:17 om-gta02 user.notice root: AtChat : T : "AT+COPS=3,0"
Aug 2 08:33:17 om-gta02 user.notice root: AtChat : F : "+CME ERROR: 100"
Aug 2 08:33:18 om-gta02 user.notice root: AtChat : T : "AT+COPS=3,0"
Aug 2 08:33:18 om-gta02 user.notice root: AtChat : F : "+CME ERROR: 100"
Aug 2 08:33:18 om-gta02 user.notice root: AtChat : T : "AT+COPS=3,0"
Aug 2 08:33:18 om-gta02 user.notice root: AtChat : F : "+CME ERROR: 100"
Aug 2 08:33:19 om-gta02 user.notice root: AtChat : T : "AT+COPS=3,0"
Aug 2 08:33:19 om-gta02 user.notice root: AtChat : F : "+CME ERROR: 100"
Aug 2 08:33:19 om-gta02 user.notice root: AtChat : T : "AT+CPBS=?"
commit c017d3b09596d4ea1aa77e960214e4f3f6e558e3
Author: Holger Freyther <zecke at selfish.org>
Date: Sun Aug 3 22:09:47 2008 +0200
[phonebook] AT+CPBR=? might fail on modem init, force a retry
Assume that the phone storage does exist and retry if CPBR=? failed. This
can happen on modem initialisation. The existing "retry" code does not work
and instead of issueing 'AT+CPBS="SM";AT+CPBR=?' in one race free command
the current code will attempt to fixup any damage with reading a wrong
phonebook because the two commands get executed separately...
Any other/better solution would require to rewrite this code.
More information about the commitlog
mailing list