[Bug 21] sms function missing

bugzilla-daemon at bugzilla.openmoko.org bugzilla-daemon at bugzilla.openmoko.org
Thu Jul 12 14:43:10 CEST 2007


------- Additional Comments From balrogg at gmail.com  2007-07-12 14:43 -------
Created an attachment (id=207)
 --> (http://bugzilla.openmoko.org/cgi-bin/bugzilla/attachment.cgi?id=207&action=view)
Incoming SMS event and dynamic registration of unsolicited responses.

This is a proposed patch to emit a gsmd event when a new SMS arrives, also
modifies libgsmd-tool to display the notification.  It makes sms_cb.c compile
but only really implements the bits necessary to make it build and for the
notifications to work.	I chose AT+CNMI mode 1 (i.e. store messages in memory
and report the location through +CMTI, rather than print the message right away
through +CMT) because the parser doesn't support multiline unsolicited
responses - in fact it can't support those because in a situation when a normal
command is executing and an unsolicited response comes in (which is the case
when sending a message to yourself) it is impossible for the parser to
distinguish whether the line after the unsolicited response is part of that
response or part of the command's response.

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