[Bug 21] sms function missing

bugzilla-daemon at bugzilla.openmoko.org bugzilla-daemon at bugzilla.openmoko.org
Wed Jul 11 16:40:46 CEST 2007


------- Additional Comments From balrogg at gmail.com  2007-07-11 16:40 -------
Created an attachment (id=204)
 --> (http://bugzilla.openmoko.org/cgi-bin/bugzilla/attachment.cgi?id=204&action=view)
Adds parser code for multiline commands.

This adds support for commands like +CMGS and +CMGW that span mroe than one
line and the lines can't be sent to modem as separate commands because every
next line has to wait for a "> " prompt from modem before writing (otherwise
beginnings of the lines get eaten).

This patch also corrects a number of miscellaneous glitches that I have hit. I
can split them each out if needed, but they are all quite obvious. The
cms_error variable is introduced because there are CME and possibly other
errors with the same codes, which resulted in that when I was sending a message
and got error 42 ("congestion") on sending, openmoko-dialer asked for PIN
because CMS event 42 happens to be PIN inquiry. The change in libgsmd-tool
fixes the issue described by Philipp Zabel on the list, with usock locking up.

Apply this patch on top of pH5's patches from the list.  In turn, it replaces
the SMS-sending patch I sent to gsmd-devel.

------- 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