[Bug 1034] No return status for lgsm_pin

bugzilla-daemon at bugzilla.openmoko.org bugzilla-daemon at bugzilla.openmoko.org
Thu Nov 29 04:13:36 CET 2007


------- Additional Comments From balrogg at gmail.com  2007-11-29 04:13 -------
Created an attachment (id=400)
 --> (http://bugzilla.openmoko.org/cgi-bin/bugzilla/attachment.cgi?id=400&action=view)
(1 of 3) Add result events for modem power-up and -down.

Currently the modem power-up and power-down operations returned no result
report back to the client who requested the operation, so that the client could
never tell if the operation finished yet.  The power-up command is the first
that will request PIN so we need to know whether it succeeded and when.

Me and Thomas figured out that the initialisation done by a gsmd client (say,
Phonekit or dialer) should be something along the lines of:

while (1) {
    power up the modem;
    wait for the result code;
    if (successfull)

    if (pin required) {
	ask for pin and send to modem;
	wait for the result code;
    } else
	deal with other errors;

    /* Retry from start */

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