Holger's qtopia repo: Changes to 'master'
git at git.openmoko.org
git at git.openmoko.org
Sun Aug 10 11:15:00 CEST 2008
.../multiplexers/ficgta01/ficgta01multiplexer.cpp | 34 +++++++++++++------
.../phonevendors/ficgta01/vendor_ficgta01.cpp | 7 +++-
src/libraries/qtopiacomm/serial/qatchat.cpp | 31 +++++++++++++++++-
src/libraries/qtopiacomm/serial/qatchat.h | 1 +
4 files changed, 59 insertions(+), 14 deletions(-)
New commits:
commit dfc2b2c070c0b5feeeb073f1751f3cab8b8fc9a7
Author: Holger Freyther <zecke at selfish.org>
Date: Sat Aug 9 21:42:40 2008 +0200
[atchat] Do not add an \r to the wakeup command to avoid many issues
- If an \r is needed this has to be added in the register command
call now.
- The removal allows to send wakeup commands that will wake the modem
but will never generate a response. So missed notifications or
not ignoring commands long enough and relating the "OK" to the wrong
command can be totally avoided.
Aug 8 17:21:50 om-gta02 user.notice root: AtChat : T : "ATE0"
Aug 8 17:21:51 om-gta02 user.notice root: AtChat : T : "AT%CSTAT=1"
Aug 8 17:21:51 om-gta02 user.notice root: AtChat : F : "OK" <- OK from ATE0
Aug 8 17:21:51 om-gta02 user.notice root: AtChat : T : "AT+CSCS?"
Aug 8 17:21:51 om-gta02 user.notice root: AtChat : F : "OK" <- OK from AT%CSTAT
Aug 8 17:21:51 om-gta02 user.notice root: AtChat : T : "AT+CIMI"
Aug 8 17:21:51 om-gta02 user.notice root: AtChat : F : "+CSCS: "IRA""
Aug 8 17:21:51 om-gta02 user.notice root: AtChat : F : "OK" <- OK from AT+CSCS?...
commit 361c980351fe0990df4ff013254127427827cf61
Author: Holger Freyther <zecke at selfish.org>
Date: Sat Aug 9 20:48:53 2008 +0200
[atchat] Write the log message before we possible emit signals...
In case of %CPI I want to see the log message before the handling
of that notification.
commit eed9ef416f73d86116123f95fdee895303949529
Author: Holger Freyther <zecke at selfish.org>
Date: Sat Aug 9 20:43:53 2008 +0200
[ti calypso] Change the init sequence to use ^Z and disable echo on startup
- Read away everything from the serial before we send our first command
- Send a ^Z and wait for OK
- Disable echo, QAtChat seems to be more happy with that.
commit d3dbabc594c492d0541d0b2c63e8c1960cb580c4
Author: Holger Freyther <zecke at selfish.org>
Date: Sat Aug 9 16:54:45 2008 +0200
[qatchat] Add a paranoia check that we do not send commands while we are waking up
Do not prime any command while our wake up is in progress. This is a paranoia
mode to be able to find the root cause for issues like the one attached...
Aug 9 02:13:00 om-gta02 user.notice root: AtChat : T : "^Z"
Aug 9 02:13:01 om-gta02 user.notice root: AtChat : T : "AT%CTZV=1"
Aug 9 02:13:02 om-gta02 user.notice root: AtChat : F : "^Z"
Aug 9 02:13:02 om-gta02 user.notice root: AtChat : F : "OK"
Aug 9 02:13:02 om-gta02 user.notice root: AtChat : T : "AT%CPI=2"
Aug 9 02:13:02 om-gta02 user.notice root: AtChat : F : "AT%CTZV=1"
Aug 9 02:13:02 om-gta02 user.notice root: AtChat : F : "OK"
Aug 9 02:13:02 om-gta02 user.notice root: AtChat : T : "AT+COPS=0"
Aug 9 02:13:02 om-gta02 user.notice root: AtChat : F : "AT%CPI=2"
Aug 9 02:13:02 om-gta02 user.notice root: AtChat : F : "OK"
Aug 9 02:13:02 om-gta02 user.notice root: AtChat : T : "AT%CSTAT=1"
Aug 9 02:13:02 om-gta02 user.notice root: AtChat : F : "AT+COPS=0"
Aug 9 02:13:02 om-gta02 user.notice root: AtChat : F : "ERROR"
Aug 9 02:13:02 om-gta02 user.notice root: AtChat : T : "AT+CSCS?"
Aug 9 02:13:02 om-gta02 user.notice root: AtChat : F : "AT%CSTAT=1"
Aug 9 02:13:02 om-gta02 user.notice root: AtChat : F : "OK"
Aug 9 02:13:02 om-gta02 user.notice root: AtChat : T : "AT+CIMI"
Aug 9 02:13:02 om-gta02 user.notice root: AtChat : F : "AT+CSCS?"
Aug 9 02:13:02 om-gta02 user.notice root: AtChat : F : "+CSCS: "IRA""
commit d8c378da04474e94e3f7308579b24564e13b84db
Author: Holger Freyther <zecke at selfish.org>
Date: Sat Aug 9 16:39:20 2008 +0200
[ti calypso] Move the init to the write place.
QSerialIODeviceMultiplexer::chat is just a simple implementation and
not a good a place to execute more complex commands, it does not take
echo into account so we might get a "wrong" OK...
Move that to the vendor plugin that is using a real QAtChat. The only downside
is that AT+CFUN=0 gets executed after the AT+CBC (invoked from QModemIndicator
and created in QModemService) but that is fine for our use.
commit 286f960d582e46310e25a4f649ceeccc7b4d94a6
Author: Holger Freyther <zecke at selfish.org>
Date: Sat Aug 9 16:34:19 2008 +0200
[ti calypso] Use 0x1a for the wakeup command.
This is from mickeyl's ogsmd and is a command that will _never_
generate a response and will wake the modem up. The last part is
actually not quite true as an "\r\n" is added which will make the
modem generate an OK but that is okay as it is ignored by the
QAtChat. But there is no semantic attached which makes it better
over ATE0 (which should be send early in the init sequence).
More information about the commitlog
mailing list