[Bug 757] New: Patch to openmoko-dialer to handle CREG: 2 responses

bugzilla-daemon at bugzilla.openmoko.org bugzilla-daemon at bugzilla.openmoko.org
Mon Aug 27 09:47:34 CEST 2007


http://bugzilla.openmoko.org/cgi-bin/bugzilla/show_bug.cgi?id=757

           Summary: Patch to openmoko-dialer to handle CREG: 2 responses
           Product: OpenMoko
           Version: 2007.2
          Platform: PC
               URL: http://pastebin.ca/672064
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: openmoko-dialer
        AssignedTo: thomas at openedhand.com
        ReportedBy: rod at whitby.id.au
                CC: buglog at lists.openmoko.org


It seems that registration on my cellular provider's network takes more than 5
seconds.

This patch allows openmoko-dialer to properly handle a
MOKO_GSMD_CONNECTION_NETREG_SEARCHING event from the libmokogsmd2 library, and
wait for registration to complete, instead of continually retrying the
registration request and thereby causing the phone *never* to register.

The patch is at http://pastebin.ca/672064

Basically, I replace the boolean reg_request and registered private variables
with a new version of the registered private variable of type
MokoGsmdConnectionNetregType.  This allows the code in register_network_cb to
handle the different cases of NONE, SEARCHING, DENIED, and HOME/ROAMING.



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