[Bug 574] timing issues / buffer parsing issues in gsmd

bugzilla-daemon at bugzilla.openmoko.org bugzilla-daemon at bugzilla.openmoko.org
Tue Jul 31 21:43:11 CEST 2007


------- Additional Comments From balrogg at gmail.com  2007-07-31 21:43 -------
Created an attachment (id=232)
 --> (http://bugzilla.openmoko.org/cgi-bin/bugzilla/attachment.cgi?id=232&action=view)
Correctly segment usock reads into packets.

This is a patch for an unrelated to the above discussion timing issue in
libgsmd. In particular, when the modem responds fast enough, gsmd generates
usock packets fast enough for libgsmd to read multiple packets in a single read
and concatenate them thus discarding all packets but first. This happens on
Neo1973 when requesting for example the list of preferred operators or all
operators or, sometimes, list of short messages.

Do we also want to handle short reads and short writes in libgsmd and gsmd? I
think we should, but I'd rather ask before fixing it.

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