Menu

#1 use CGREG for registration checking

open-accepted
None
7
2010-03-03
2007-02-24
No

I have this patch in the openSUSE package for some time. It was needed by the Option icon box, since it did not register to GSM, the +CREG did not return success, but +CGREG does. It does not seem to have negative effects on other option cards (nozomi and fusion+ tested)

Discussion

  • Guenter Knauf

    Guenter Knauf - 2010-03-01
    • assigned_to: nobody --> gknauf
    • status: open --> pending
     
  • Guenter Knauf

    Guenter Knauf - 2010-03-01

    Hi Stefan,
    I tried to check a bit about your suggestion, but it looks somehow wrong to me.
    the AT+CREG is the generic network registration command where AT+CGREG seems to be a GPRS registration only, see f.e.:
    http://gatling.ikk.sztaki.hu/~kissg/gsm/at+c.html
    Isnt it possible that the Option icon box works with AT+CREG if it gets first switched to GPRS, f.e. with AT+CGATT ?
    Or maybe we can use AT+CGREG as a second trial if AT+CREG failed?
    What do you think? I really would like to push out a new version soon so that the nasty patching has an end ...

     
  • Paul Hardwick

    Paul Hardwick - 2010-03-03

    Hi gknauf,

    For the majority of devices now (2010) it is better to reverse your proposed solution with +CGREG as the default command and falling back to +CREG if that generates an error.

    When I wrote the script I assumed that all devices would support the original GSM commands but this is not true and many devices now only support the 3GSM (GPRS/UMTS) versions of the command.

    Paul

     
  • Paul Hardwick

    Paul Hardwick - 2010-03-03
    • priority: 5 --> 7
    • status: pending --> pending-accepted
     
  • Stefan Seyfried

    Stefan Seyfried - 2010-03-03
    • status: pending-accepted --> open-accepted
     
  • Stefan Seyfried

    Stefan Seyfried - 2010-03-03

    Hi guys,

    I have no real opinion on the matter - I neither have the hardware available, nor am I using comgt anymore, so just go ahead with what approach you like best.

    Have fun,

    Stefan

     

Log in to post a comment.