[Bug 766] New: gsmd misbehaves on back-to-back AT+CFUN=1/AT+COPS=0
bugzilla-daemon at bugzilla.openmoko.org
bugzilla-daemon at bugzilla.openmoko.org
Wed Aug 29 01:47:46 CEST 2007
http://bugzilla.openmoko.org/cgi-bin/bugzilla/show_bug.cgi?id=766
Summary: gsmd misbehaves on back-to-back AT+CFUN=1/AT+COPS=0
Product: OpenMoko
Version: current svn head
Platform: Neo1973
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: gsmd
AssignedTo: laforge at openmoko.org
ReportedBy: cesarb at cesarb.net
CC: buglog at lists.openmoko.org
Starting gsmd manually (so the GUI does not tell it to register), and typing "O"
and "r" very quickly to libgsmd-tool's shell (so both commands are sent almost
at the same time to the modem) results on gsmd receiving only one answer and
getting confused:
Tue Feb 1 00:22:25 2000 <1> atcmd.c:545:atcmd_submit() submitting command
`AT+CFUN=1'
Tue Feb 1 00:22:25 2000 <1> atcmd.c:545:atcmd_submit() submitting command
`AT+COPS=0'
Tue Feb 1 00:22:25 2000 <1> atcmd.c:210:ml_parse() buf=`OK'(2)
Tue Feb 1 00:22:25 2000 <1> atcmd.c:406:ml_parse() Calling final cmd->cb()
Tue Feb 1 00:22:25 2000 <1> usock.c:249:phone_powerup_cb() Radio powered-up
Tue Feb 1 00:22:25 2000 <1> atcmd.c:415:ml_parse() Clearing mlbuf
(gets stuck at this point, no more answers)
Telling it to power off ("o") is enough to get it unstuck. If you wait a couple
of seconds between the "O" and the "r", gsmd receives an answer before sending
the AT+COPS=0, and everything works fine.
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the buglog
mailing list