Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    GPy with Hologram.io SIM

    Scheduled Pinned Locked Moved GPy
    hologram.io
    100 Posts 10 Posters 39.8k Views 12 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J Offline
      jmarcelino
      last edited by

      As a first step maybe try:

      lte.send_at_cmd('AT+CGDCONT=1,"IP","hologram"') 
      
      lte.attach()        
      
      

      to set the APN correctly

      T 1 Reply Last reply Reply Quote 0
      • T Offline
        tlanier @jmarcelino
        last edited by

        @jmarcelino

        I've modified the program as recommended; still does not attach to the tower.

        Hologram technical support has verified that the SIM should work with the GPy and CAT-M1 connecting to both Verizon and AT&T.

        Any ideas of what I can do to troubleshoot further?

        import pycom
        import socket
        import ssl
        import time
        from network import LTE
        
        def send_at_cmd_pretty(cmd):
            response = lte.send_at_cmd(cmd).split('\r\n')
            for line in response:
                print(line)
                
        print("CAT M1 Test - V0.1")
        
        pycom.heartbeat(False)
        
        lte = LTE()         # instantiate the LTE object
        
        send_at_cmd_pretty('AT+CGDCONT=1,"IP","hologram"')
        
        lte.attach()        # attach the cellular modem to a base station
        i = 0
        while not lte.isattached():
            i = i + 1
            print("not attached: {}".format(i))
            
            if (i % 2 == 0):
                pycom.rgbled(0xFF0000)  # Red
            else:
                pycom.rgbled(0x000000)  # off
                
            time.sleep(0.25)
        
        lte.connect()       # start a data session and obtain an IP address
        i = 0
        while not lte.isconnected():
            i = i + 1
            print("not connected: {}".format(i))
        
            if (i % 2 == 0):
                pycom.rgbled(0x00FF00)  # Green
            else:
                pycom.rgbled(0x000000)  # off
                
            time.sleep(0.25)
        
        pycom.rgbled(0x0000FF)  # Blue
        
        s = socket.socket()
        s = ssl.wrap_socket(s)
        s.connect(socket.getaddrinfo('www.google.com', 443)[0][-1])
        s.send(b"GET / HTTP/1.0\r\n\r\n")
        print(s.recv(4096))
        s.close()
        
        lte.disconnect()
        lte.dettach()
        
        pycom.rgbled(0x000000)  # off
        
        
        J 1 Reply Last reply Reply Quote 0
        • J Offline
          jmarcelino @tlanier
          last edited by

          @tlanier
          I'm really not sure about Hologram with our modules in the US, but lets do the basic checks first:

          • Have you connected the LTE antenna to the correct port - for the GPy should be next to LED
          • Have you waited enough time? - sometimes it can take up to 45 seconds to attach
          • Maybe reception isn't very good in your area - Cat M1 coverage is still limited. Try elsewhere or ideally outside.
          T 1 Reply Last reply Reply Quote 0
          • T Offline
            tlanier @jmarcelino
            last edited by

            @jmarcelino

            Hologram tech support indicates that their SIM card should work with Verizon and AT&T with your GPy device. They've indicated that they have a GPy and will try the test at their site.

            Yes, the LTE antenna is connected to the correct port.

            Yes, I've waited many minutes at 3 indoor locations (work and home) and 1 outdoor location with no successful attach to tower.

            A cell phone shows the Verizon signal strength to be 3 bars.

            Any other ideas of what I can try?

            Are there any modem commands that would help understand what is taking place?

            J 1 Reply Last reply Reply Quote 0
            • ChrisGammellC Offline
              ChrisGammell
              last edited by

              Hey Jose,

              I've been testing it on a GPy, FiPy I have here. Is there an exhaustive list of the AT command set available anywhere? I'm also tracking my progress of troubleshooting on our forum where @tlanier also posted: https://community.hologram.io/t/pycom-gpy/1664

              J 1 Reply Last reply Reply Quote 1
              • J Offline
                jmarcelino @tlanier
                last edited by

                Ok thanks @tlanier

                Can you try replacing your LTE attach code with:

                lte = LTE() 
                
                send_at_cmd_pretty('AT+CPIN?')
                send_at_cmd_pretty('AT+CGDCONT=1,"IP","hologram"')
                send_at_cmd_pretty('AT+CFUN=0')
                send_at_cmd_pretty('AT+CEREG=2')
                
                send_at_cmd_pretty('AT!="clearscanconfig"')
                send_at_cmd_pretty('AT!="RRC::addscanfreq band=4 dl-earfcn=2175"') 
                send_at_cmd_pretty('AT!="RRC::addscanfreq band=12 dl-earfcn=5095"')
                send_at_cmd_pretty('AT!="RRC::addscanfreq band=13 dl-earfcn=5230"')
                send_at_cmd_pretty('AT+CFUN=1')
                 
                while not lte.isattached():
                    time.sleep(1)
                    send_at_cmd_pretty('AT!="showphy"')
                    send_at_cmd_pretty('AT!="fsm"')
                    send_at_cmd_pretty('AT+CEREG?')   
                

                This will produce a lot of debug output

                ChrisGammellC T 2 Replies Last reply Reply Quote 0
                • J Offline
                  jmarcelino @ChrisGammell
                  last edited by

                  Thanks @chrisgammell !

                  The only AT command guide we can publish is this: https://docs.pycom.io/chapter/datasheets/downloads/Monarch_4G-EZ_LR5110_ATCommands_ReferenceManual_Rev3_NOCONFIDENTIAL.pdf

                  But really that should be enough, Sequans doesn't share the special AT!= commands even with us other than to solve particular problems.

                  1 Reply Last reply Reply Quote 0
                  • ChrisGammellC Offline
                    ChrisGammell @jmarcelino
                    last edited by

                    @jmarcelino said in GPy with Hologram.io SIM:

                    AT+CEREG?')

                    Here's mine:

                    
                    DL SYNCHRO STATISTICS
                    =====================
                        Synchro state                         : CELL SEARCH
                        PPU SIB1 ACQ watchdog                 : 1
                        Frequency Hypothesis RF  (Hz)         : -4000
                        RSRP (dBm)                            : -21474836.00
                        RSRQ  (dB)                            : -22.71
                        Channel estimation state (Cell-spec.) : LOW CINR
                        Channel estimation state (UE-spec.)   : LOW CINR
                        Channel estimation state (MBSFN)      : LOW CINR
                        Channel estimation CINR               : 0.00
                        Channel length                        : SHORT
                      AGC
                        AGC RX gain (dB)                      : 52.76
                        RX PSD BO (dBFs)                      : -21.92
                        RX PSD (dBm)                          : -93.92
                        Noise level RS (dBm)                  : -123.92
                        Digital gain (dB)                     : 12.24
                        CINR RS (dB)                          : -9.76
                      NARROWBANDS
                        Last DL NB                            : Central
                        Last UL NB                            : 0
                      AFC
                        Frequency offset RF  (Hz)             : 0
                        Frequency offset BB  (Hz)             : 0
                      PBCH
                        MIB received quantity                 : 573
                        MIB timeout quantity                  : 0
                    
                    OK
                    
                    
                    SYSTEM FSM
                    ==========
                        +--------------------------+--------------------+
                        |            FSM           |        STATE       |
                        +--------------------------+--------------------+
                        | RRC TOP FSM              |SCANNING            |
                        | RRC SEARCH FSM           |WAIT_CELL_ID        |
                        | RRC ACTIVE FSM           |NULL                |
                        | PMM PLMN FSM             |NORM_WAITCELL       |
                        | EMM MAIN FSM             |REGISTERED          |
                        | EMM AUTH FSM             |KASME_DEFINED       |
                        | EMM CONN FSM             |EMM_IDLE            |
                        | EMM TAU FSM              |NULL                |
                        | EMM TEST FSM             |NULL                |
                        | ESM BEARER FSM           |BEARER_ACTIVE       |
                        | SMS MT FSM               |IDLE                |
                        | SMS MO FSM               |IDLE                |
                        | HP MAIN FSM              |IDLE                |
                        | HP USIM FSM              |READY               |
                        | HP SMS MO FSM            |IDLE                |
                        | HP SMS MT FSM            |IDLE                |
                        | HP CAT FSM               |IDLE                |
                        +--------------------------+--------------------+
                    
                    OK
                    
                    
                    +CEREG: 2,4
                    
                    OK
                    
                    
                    DL SYNCHRO STATISTICS
                    =====================
                        Synchro state                         : CELL SEARCH
                        PPU SIB1 ACQ watchdog                 : 1
                        Frequency Hypothesis RF  (Hz)         : -2000
                        RSRP (dBm)                            : -21474836.00
                        RSRQ  (dB)                            : -22.71
                        Channel estimation state (Cell-spec.) : LOW CINR
                        Channel estimation state (UE-spec.)   : LOW CINR
                        Channel estimation state (MBSFN)      : LOW CINR
                        Channel estimation CINR               : 0.00
                        Channel length                        : SHORT
                      AGC
                        AGC RX gain (dB)                      : 25.26
                        RX PSD BO (dBFs)                      : -21.92
                        RX PSD (dBm)                          : -93.92
                        Noise level RS (dBm)                  : -123.92
                        Digital gain (dB)                     : 4.74
                        CINR RS (dB)                          : -9.76
                      NARROWBANDS
                        Last DL NB                            : Central
                        Last UL NB                            : 0
                      AFC
                        Frequency offset RF  (Hz)             : 0
                        Frequency offset BB  (Hz)             : 0
                      PBCH
                        MIB received quantity                 : 573
                        MIB timeout quantity                  : 0
                    
                    OK
                    
                    
                    SYSTEM FSM
                    ==========
                        +--------------------------+--------------------+
                        |            FSM           |        STATE       |
                        +--------------------------+--------------------+
                        | RRC TOP FSM              |SCANNING            |
                        | RRC SEARCH FSM           |WAIT_CELL_ID        |
                        | RRC ACTIVE FSM           |NULL                |
                        | PMM PLMN FSM             |NORM_WAITCELL       |
                        | EMM MAIN FSM             |REGISTERED          |
                        | EMM AUTH FSM             |KASME_DEFINED       |
                        | EMM CONN FSM             |EMM_IDLE            |
                        | EMM TAU FSM              |NULL                |
                        | EMM TEST FSM             |NULL                |
                        | ESM BEARER FSM           |BEARER_ACTIVE       |
                        | SMS MT FSM               |IDLE                |
                        | SMS MO FSM               |IDLE                |
                        | HP MAIN FSM              |IDLE                |
                        | HP USIM FSM              |READY               |
                        | HP SMS MO FSM            |IDLE                |
                        | HP SMS MT FSM            |IDLE                |
                        | HP CAT FSM               |IDLE                |
                        +--------------------------+--------------------+
                    
                    OK
                    
                    
                    +CEREG: 2,4
                    
                    OK
                    
                    
                    J 1 Reply Last reply Reply Quote 0
                    • ChrisGammellC Offline
                      ChrisGammell
                      last edited by

                      Also I'm still getting 99,99 for AT+CSQ

                      Yes, I double checked, the antenna is plugged into the correct ports :-D

                      @tlanier, did you check that command on yours?

                      T 1 Reply Last reply Reply Quote 1
                      • T Offline
                        tlanier @ChrisGammell
                        last edited by

                        @chrisgammell

                        Yes, I'm also getting +CSQ: 99,99

                        1 Reply Last reply Reply Quote 1
                        • J Offline
                          jmarcelino @ChrisGammell
                          last edited by

                          Thanks @chrisgammell

                          Can you try this instead please:

                          send_at_cmd_pretty('AT+CFUN=0')
                          send_at_cmd_pretty('AT+SQNCTM="verizon"')
                          
                          send_at_cmd_pretty('AT+CGDCONT=1,"IP","hologram"')
                          send_at_cmd_pretty('AT+CEREG=2')
                          send_at_cmd_pretty('AT+CFUN=1')
                          
                          send_at_cmd_pretty('AT!="showinit"')
                          
                          while not lte.isattached():
                              time.sleep(1)
                              send_at_cmd_pretty('AT!="showphy"')
                              send_at_cmd_pretty('AT!="fsm"')
                              send_at_cmd_pretty('AT+CEREG?')  
                          

                          The AT+SQNCTM="verizon"' setups up some other parameters for Verizon including scanning the correct bands. These should be reflected in the new debug command AT!="showinit" after CFUN=1

                          T 1 Reply Last reply Reply Quote 0
                          • T Offline
                            tlanier @jmarcelino
                            last edited by jmarcelino

                            @jmarcelino

                            Notice the first command (AT+CPIN?) generates an error.

                            CAT M1 Test - V0.1
                            
                            ERROR
                            
                            
                            OK
                            
                            
                            
                            OK
                            
                            
                            OK
                            
                            
                            OK
                            
                            
                            
                            OK
                            
                            
                            
                            OK
                            
                            
                            
                            OK
                            
                            
                            OK
                            
                            
                            DL SYNCHRO STATISTICS
                            =====================
                                Synchro state                         : OFF
                                PPU SIB1 ACQ watchdog                 : 0
                                Frequency Hypothesis RF  (Hz)         : 0
                                RSRP (dBm)                            : -21474836.00
                                RSRQ  (dB)                            : -12.36
                                Channel estimation state (Cell-spec.) : LOW CINR
                                Channel estimation state (UE-spec.)   : LOW CINR
                                Channel estimation state (MBSFN)      : LOW CINR
                                Channel estimation CINR               : 0.00
                                Channel length                        : SHORT
                              AGC
                                AGC RX gain (dB)                      : 44.55
                                RX PSD BO (dBFs)                      : -21.15
                                RX PSD (dBm)                          : -85.50
                                Noise level RS (dBm)                  : -87.44
                                Digital gain (dB)                     : 6.48
                                CINR RS (dB)                          : 3.73
                              NARROWBANDS
                                Last DL NB                            : Central
                                Last UL NB                            : 0
                              AFC
                                Frequency offset RF  (Hz)             : -359
                                Frequency offset BB  (Hz)             : 0
                              PBCH
                                MIB received quantity                 : 1778
                                MIB timeout quantity                  : 0
                            
                            OK
                            
                            
                            SYSTEM FSM
                            ==========
                                +--------------------------+--------------------+
                                |            FSM           |        STATE       |
                                +--------------------------+--------------------+
                                | RRC TOP FSM              |STOPPED             |
                                | RRC SEARCH FSM           |NULL                |
                                | RRC ACTIVE FSM           |NULL                |
                                | PMM PLMN FSM             |NULL                |
                                | EMM MAIN FSM             |NULL                |
                                | EMM AUTH FSM             |NULL                |
                                | EMM CONN FSM             |NULL                |
                                | EMM TAU FSM              |NULL                |
                                | EMM TEST FSM             |NULL                |
                                | ESM BEARER FSM           |BEARER_NULL         |
                                | SMS MT FSM               |IDLE                |
                                | SMS MO FSM               |IDLE                |
                                | HP MAIN FSM              |IDLE                |
                                | HP USIM FSM              |NULL                |
                                | HP SMS MO FSM            |IDLE                |
                                | HP SMS MT FSM            |IDLE                |
                                | HP CAT FSM               |NULL                |
                                +--------------------------+--------------------+
                            
                            OK
                            
                            
                            +CEREG: 2,0
                            
                            OK
                            
                            
                            DL SYNCHRO STATISTICS
                            =====================
                                Synchro state                         : OFF
                                PPU SIB1 ACQ watchdog                 : 0
                                Frequency Hypothesis RF  (Hz)         : 0
                                RSRP (dBm)                            : -21474836.00
                                RSRQ  (dB)                            : -12.36
                                Channel estimation state (Cell-spec.) : LOW CINR
                                Channel estimation state (UE-spec.)   : LOW CINR
                                Channel estimation state (MBSFN)      : LOW CINR
                                Channel estimation CINR               : 0.00
                                Channel length                        : SHORT
                              AGC
                                AGC RX gain (dB)                      : 44.55
                                RX PSD BO (dBFs)                      : -21.15
                                RX PSD (dBm)                          : -85.50
                                Noise level RS (dBm)                  : -87.44
                                Digital gain (dB)                     : 6.48
                                CINR RS (dB)                          : 3.73
                              NARROWBANDS
                                Last DL NB                            : Central
                                Last UL NB                            : 0
                              AFC
                                Frequency offset RF  (Hz)             : -359
                                Frequency offset BB  (Hz)             : 0
                              PBCH
                                MIB received quantity                 : 1778
                                MIB timeout quantity                  : 0
                            
                            OK
                            
                            
                            SYSTEM FSM
                            ==========
                                +--------------------------+--------------------+
                                |            FSM           |        STATE       |
                                +--------------------------+--------------------+
                                | RRC TOP FSM              |STOPPED             |
                                | RRC SEARCH FSM           |NULL                |
                                | RRC ACTIVE FSM           |NULL                |
                                | PMM PLMN FSM             |NULL                |
                                | EMM MAIN FSM             |NULL                |
                                | EMM AUTH FSM             |NULL                |
                                | EMM CONN FSM             |NULL                |
                                | EMM TAU FSM              |NULL                |
                                | EMM TEST FSM             |NULL                |
                                | ESM BEARER FSM           |BEARER_NULL         |
                                | SMS MT FSM               |IDLE                |
                                | SMS MO FSM               |IDLE                |
                                | HP MAIN FSM              |IDLE                |
                                | HP USIM FSM              |NULL                |
                                | HP SMS MO FSM            |IDLE                |
                                | HP SMS MT FSM            |IDLE                |
                                | HP CAT FSM               |NULL                |
                                +--------------------------+--------------------+
                            
                            OK
                            
                            
                            +CEREG: 2,0
                            
                            OK
                            
                            1 Reply Last reply Reply Quote 0
                            • T Offline
                              tlanier @jmarcelino
                              last edited by jmarcelino

                              @jmarcelino

                              CAT M1 Test - V0.1
                              
                              
                              OK
                              
                              
                              OK
                              
                              
                              OK
                              
                              
                              OK
                              
                              
                              OK
                              
                              -- Scan options -------------------------------------------
                              | . Init Stored info use     : true
                              | . Init MRU freq use        : true
                              | . Init REG freq use        : false
                              | . Init FastScan use        : true
                              | . Init iterative band scan : false
                              | . Init scan batch of freq  : false
                              | . Init hybrid 1 mode       : false
                              | . Init optim SIB rx        : true
                              | . Forced freq              : false
                              | . MRU cell use             : true
                              -----------------------------------------------------------
                              -- Scan Command config ----------------------------------------------------
                              | id | type  | object                                                     |
                              ---------------------------------------------------------------------------
                              | 1  | BAND  | (id:1) 4,13                                                |
                              | 2  | DELAY | 5000 msec                                                  |
                              | 3  | LOOP  | jump to cmd:1, dur:5000ms                                  |
                              ---------------------------------------------------------------------------
                              
                              OK
                              
                              
                              DL SYNCHRO STATISTICS
                              =====================
                                  Synchro state                         : IDLE
                                  PPU SIB1 ACQ watchdog                 : 0
                                  Frequency Hypothesis RF  (Hz)         : 0
                                  RSRP (dBm)                            : -21474836.00
                                  RSRQ  (dB)                            : -12.79
                                  Channel estimation state (Cell-spec.) : LOW CINR
                                  Channel estimation state (UE-spec.)   : LOW CINR
                                  Channel estimation state (MBSFN)      : LOW CINR
                                  Channel estimation CINR               : 0.00
                                  Channel length                        : SHORT
                                AGC
                                  AGC RX gain (dB)                      : 44.55
                                  RX PSD BO (dBFs)                      : -21.06
                                  RX PSD (dBm)                          : -85.55
                                  Noise level RS (dBm)                  : -86.52
                                  Digital gain (dB)                     : 6.53
                                  CINR RS (dB)                          : 2.09
                                NARROWBANDS
                                  Last DL NB                            : Central
                                  Last UL NB                            : 0
                                AFC
                                  Frequency offset RF  (Hz)             : -359
                                  Frequency offset BB  (Hz)             : 0
                                PBCH
                                  MIB received quantity                 : 83
                                  MIB timeout quantity                  : 0
                              
                              OK
                              
                              
                              SYSTEM FSM
                              ==========
                                  +--------------------------+--------------------+
                                  |            FSM           |        STATE       |
                                  +--------------------------+--------------------+
                                  | RRC TOP FSM              |STOPPED             |
                                  | RRC SEARCH FSM           |NULL                |
                                  | RRC ACTIVE FSM           |NULL                |
                                  | PMM PLMN FSM             |NULL                |
                                  | EMM MAIN FSM             |NULL                |
                                  | EMM AUTH FSM             |NULL                |
                                  | EMM CONN FSM             |NULL                |
                                  | EMM TAU FSM              |NULL                |
                                  | EMM TEST FSM             |NULL                |
                                  | ESM BEARER FSM           |BEARER_NULL         |
                                  | SMS MT FSM               |IDLE                |
                                  | SMS MO FSM               |IDLE                |
                                  | HP MAIN FSM              |IDLE                |
                                  | HP USIM FSM              |NULL                |
                                  | HP SMS MO FSM            |IDLE                |
                                  | HP SMS MT FSM            |IDLE                |
                                  | HP CAT FSM               |NULL                |
                                  +--------------------------+--------------------+
                              
                              OK
                              
                              
                              +CEREG: 2,0
                              
                              OK
                              
                              
                              DL SYNCHRO STATISTICS
                              =====================
                                  Synchro state                         : IDLE
                                  PPU SIB1 ACQ watchdog                 : 0
                                  Frequency Hypothesis RF  (Hz)         : 0
                                  RSRP (dBm)                            : -21474836.00
                                  RSRQ  (dB)                            : -12.79
                                  Channel estimation state (Cell-spec.) : LOW CINR
                                  Channel estimation state (UE-spec.)   : LOW CINR
                                  Channel estimation state (MBSFN)      : LOW CINR
                                  Channel estimation CINR               : 0.00
                                  Channel length                        : SHORT
                                AGC
                                  AGC RX gain (dB)                      : 44.55
                                  RX PSD BO (dBFs)                      : -21.06
                                  RX PSD (dBm)                          : -85.55
                                  Noise level RS (dBm)                  : -86.52
                                  Digital gain (dB)                     : 6.53
                                  CINR RS (dB)                          : 2.09
                                NARROWBANDS
                                  Last DL NB                            : Central
                                  Last UL NB                            : 0
                                AFC
                                  Frequency offset RF  (Hz)             : -359
                                  Frequency offset BB  (Hz)             : 0
                                PBCH
                                  MIB received quantity                 : 83
                                  MIB timeout quantity                  : 0
                              
                              OK
                              
                              
                              SYSTEM FSM
                              ==========
                                  +--------------------------+--------------------+
                                  |            FSM           |        STATE       |
                                  +--------------------------+--------------------+
                                  | RRC TOP FSM              |STOPPED             |
                                  | RRC SEARCH FSM           |NULL                |
                                  | RRC ACTIVE FSM           |NULL                |
                                  | PMM PLMN FSM             |NULL                |
                                  | EMM MAIN FSM             |NULL                |
                                  | EMM AUTH FSM             |NULL                |
                                  | EMM CONN FSM             |NULL                |
                                  | EMM TAU FSM              |NULL                |
                                  | EMM TEST FSM             |NULL                |
                                  | ESM BEARER FSM           |BEARER_NULL         |
                                  | SMS MT FSM               |IDLE                |
                                  | SMS MO FSM               |IDLE                |
                                  | HP MAIN FSM              |IDLE                |
                                  | HP USIM FSM              |NULL                |
                                  | HP SMS MO FSM            |IDLE                |
                                  | HP SMS MT FSM            |IDLE                |
                                  | HP CAT FSM               |NULL                |
                                  +--------------------------+--------------------+
                              
                              OK
                              
                              
                              +CEREG: 2,0
                              
                              J 1 Reply Last reply Reply Quote 1
                              • J Offline
                                jmarcelino @tlanier
                                last edited by

                                @tlanier said in GPy with Hologram.io SIM:

                                RRC TOP FSM |STOPPED

                                Can you leave it for a minute or so please. You should see this changing to SCANNING but it's not immediate, it's done in cycles. Thanks.

                                T 1 Reply Last reply Reply Quote 0
                                • ChrisGammellC Offline
                                  ChrisGammell
                                  last edited by

                                  Looks like mine just needed to cycle a few more times as well, just got this:

                                  +CEREG: 2,5,"CC14","031D4803",7

                                  J 1 Reply Last reply Reply Quote 1
                                  • J Offline
                                    jmarcelino @ChrisGammell
                                    last edited by jmarcelino

                                    @chrisgammell

                                    That's great! 2,5 is what we want for Hologram (5 means attached as roaming)

                                    So does the while not lte.isattached(): loop finish correctly then and move to the connection step - which means PPP is established?

                                    lte.connect()   
                                    while not lte.isconnected():
                                        time.sleep(1)
                                    print("Connected!")
                                    
                                    ChrisGammellC 1 Reply Last reply Reply Quote 0
                                    • T Offline
                                      tlanier @jmarcelino
                                      last edited by

                                      @jmarcelino

                                      Mine has been running for about 10 minutes returning:

                                      +CEREG: 2,0

                                      My cell phone uses Verizon and it shows a strong 3 bar signal.

                                      I'm going to try powering down and back up to see if that will help.

                                      T J 2 Replies Last reply Reply Quote 0
                                      • T Offline
                                        tlanier @tlanier
                                        last edited by

                                        @tlanier

                                        After power off/on I'm now getting +CEREG: 2,4

                                        It never gets the 2,5 you mentioned after 10 mins.

                                        DL SYNCHRO STATISTICS

                                        Synchro state                         : MIB DETECT
                                        PPU SIB1 ACQ watchdog                 : 0
                                        Frequency Hypothesis RF  (Hz)         : -1000
                                        RSRP (dBm)                            : -21474836.00
                                        RSRQ  (dB)                            : -25.99
                                        Channel estimation state (Cell-spec.) : LOW CINR
                                        Channel estimation state (UE-spec.)   : LOW CINR
                                        Channel estimation state (MBSFN)      : LOW CINR
                                        Channel estimation CINR               : 0.00
                                        Channel length                        : SHORT
                                        

                                        AGC
                                        AGC RX gain (dB) : 54.90
                                        RX PSD BO (dBFs) : -21.71
                                        RX PSD (dBm) : -95.99
                                        Noise level RS (dBm) : -124.46
                                        Digital gain (dB) : 6.62
                                        CINR RS (dB) : -16.11
                                        NARROWBANDS
                                        Last DL NB : Central
                                        Last UL NB : 0
                                        AFC
                                        Frequency offset RF (Hz) : 47
                                        Frequency offset BB (Hz) : 0
                                        PBCH
                                        MIB received quantity : 1394
                                        MIB timeout quantity : 0

                                        OK

                                        SYSTEM FSM

                                        +--------------------------+--------------------+
                                        |            FSM           |        STATE       |
                                        +--------------------------+--------------------+
                                        | RRC TOP FSM              |SCANNING            |
                                        | RRC SEARCH FSM           |WAIT_CELL_ID        |
                                        | RRC ACTIVE FSM           |NULL                |
                                        | PMM PLMN FSM             |ANY_WAITCELL        |
                                        | EMM MAIN FSM             |NULL                |
                                        | EMM AUTH FSM             |NULL                |
                                        | EMM CONN FSM             |NULL                |
                                        | EMM TAU FSM              |NULL                |
                                        | EMM TEST FSM             |NULL                |
                                        | ESM BEARER FSM           |BEARER_NULL         |
                                        | SMS MT FSM               |IDLE                |
                                        | SMS MO FSM               |IDLE                |
                                        | HP MAIN FSM              |IDLE                |
                                        | HP USIM FSM              |ABSENT              |
                                        | HP SMS MO FSM            |IDLE                |
                                        | HP SMS MT FSM            |IDLE                |
                                        | HP CAT FSM               |NULL                |
                                        +--------------------------+--------------------+
                                        

                                        OK

                                        +CEREG: 2,4

                                        OK

                                        DL SYNCHRO STATISTICS

                                        Synchro state                         : CELL SEARCH
                                        PPU SIB1 ACQ watchdog                 : 0
                                        Frequency Hypothesis RF  (Hz)         : -1000
                                        RSRP (dBm)                            : -21474836.00
                                        RSRQ  (dB)                            : -25.99
                                        Channel estimation state (Cell-spec.) : LOW CINR
                                        Channel estimation state (UE-spec.)   : LOW CINR
                                        Channel estimation state (MBSFN)      : LOW CINR
                                        Channel estimation CINR               : 0.00
                                        Channel length                        : SHORT
                                        

                                        AGC
                                        AGC RX gain (dB) : 54.87
                                        RX PSD BO (dBFs) : -21.44
                                        RX PSD (dBm) : -96.46
                                        Noise level RS (dBm) : -126.46
                                        Digital gain (dB) : 10.13
                                        CINR RS (dB) : -16.11
                                        NARROWBANDS
                                        Last DL NB : Central
                                        Last UL NB : 0
                                        AFC
                                        Frequency offset RF (Hz) : 70
                                        Frequency offset BB (Hz) : 0
                                        PBCH
                                        MIB received quantity : 1422
                                        MIB timeout quantity : 0

                                        OK

                                        SYSTEM FSM

                                        +--------------------------+--------------------+
                                        |            FSM           |        STATE       |
                                        +--------------------------+--------------------+
                                        | RRC TOP FSM              |SYNCING             |
                                        | RRC SEARCH FSM           |WAIT_SYNC           |
                                        | RRC ACTIVE FSM           |NULL                |
                                        | PMM PLMN FSM             |ANY_WAITCELL        |
                                        | EMM MAIN FSM             |NULL                |
                                        | EMM AUTH FSM             |NULL                |
                                        | EMM CONN FSM             |NULL                |
                                        | EMM TAU FSM              |NULL                |
                                        | EMM TEST FSM             |NULL                |
                                        | ESM BEARER FSM           |BEARER_NULL         |
                                        | SMS MT FSM               |IDLE                |
                                        | SMS MO FSM               |IDLE                |
                                        | HP MAIN FSM              |IDLE                |
                                        | HP USIM FSM              |ABSENT              |
                                        | HP SMS MO FSM            |IDLE                |
                                        | HP SMS MT FSM            |IDLE                |
                                        | HP CAT FSM               |NULL                |
                                        +--------------------------+--------------------+
                                        

                                        OK

                                        +CEREG: 2,4

                                        OK

                                        DL SYNCHRO STATISTICS

                                        Synchro state                         : IDLE
                                        PPU SIB1 ACQ watchdog                 : 1
                                        Frequency Hypothesis RF  (Hz)         : -1000
                                        RSRP (dBm)                            : -21474836.00
                                        RSRQ  (dB)                            : -25.99
                                        Channel estimation state (Cell-spec.) : LOW CINR
                                        Channel estimation state (UE-spec.)   : LOW CINR
                                        Channel estimation state (MBSFN)      : LOW CINR
                                        Channel estimation CINR               : 0.00
                                        Channel length                        : SHORT
                                        

                                        AGC
                                        AGC RX gain (dB) : 54.87
                                        RX PSD BO (dBFs) : -21.78
                                        RX PSD (dBm) : -98.39
                                        Noise level RS (dBm) : -126.46
                                        Digital gain (dB) : 9.05
                                        CINR RS (dB) : -16.11
                                        NARROWBANDS
                                        Last DL NB : Central
                                        Last UL NB : 0
                                        AFC
                                        Frequency offset RF (Hz) : 43
                                        Frequency offset BB (Hz) : 0
                                        PBCH
                                        MIB received quantity : 1429
                                        MIB timeout quantity : 0

                                        OK

                                        SYSTEM FSM

                                        +--------------------------+--------------------+
                                        |            FSM           |        STATE       |
                                        +--------------------------+--------------------+
                                        | RRC TOP FSM              |INITIAL             |
                                        | RRC SEARCH FSM           |INITIAL             |
                                        | RRC ACTIVE FSM           |NULL                |
                                        | PMM PLMN FSM             |PARKING             |
                                        | EMM MAIN FSM             |NULL                |
                                        | EMM AUTH FSM             |NULL                |
                                        | EMM CONN FSM             |NULL                |
                                        | EMM TAU FSM              |NULL                |
                                        | EMM TEST FSM             |NULL                |
                                        | ESM BEARER FSM           |BEARER_NULL         |
                                        | SMS MT FSM               |IDLE                |
                                        | SMS MO FSM               |IDLE                |
                                        | HP MAIN FSM              |IDLE                |
                                        | HP USIM FSM              |ABSENT              |
                                        | HP SMS MO FSM            |IDLE                |
                                        | HP SMS MT FSM            |IDLE                |
                                        | HP CAT FSM               |NULL                |
                                        +--------------------------+--------------------+
                                        

                                        OK

                                        +CEREG: 2,4

                                        OK

                                        DL SYNCHRO STATISTICS

                                        Synchro state                         : IDLE
                                        PPU SIB1 ACQ watchdog                 : 1
                                        Frequency Hypothesis RF  (Hz)         : -1000
                                        RSRP (dBm)                            : -21474836.00
                                        RSRQ  (dB)                            : -25.99
                                        Channel estimation state (Cell-spec.) : LOW CINR
                                        Channel estimation state (UE-spec.)   : LOW CINR
                                        Channel estimation state (MBSFN)      : LOW CINR
                                        Channel estimation CINR               : 0.00
                                        Channel length                        : SHORT
                                        

                                        AGC
                                        AGC RX gain (dB) : 54.87
                                        RX PSD BO (dBFs) : -21.78
                                        RX PSD (dBm) : -98.39
                                        Noise level RS (dBm) : -126.46
                                        Digital gain (dB) : 9.05
                                        CINR RS (dB) : -16.11
                                        NARROWBANDS
                                        Last DL NB : Central
                                        Last UL NB : 0
                                        AFC
                                        Frequency offset RF (Hz) : 43
                                        Frequency offset BB (Hz) : 0
                                        PBCH
                                        MIB received quantity : 1429
                                        MIB timeout quantity : 0

                                        OK

                                        SYSTEM FSM

                                        +--------------------------+--------------------+
                                        |            FSM           |        STATE       |
                                        +--------------------------+--------------------+
                                        | RRC TOP FSM              |INITIAL             |
                                        | RRC SEARCH FSM           |INITIAL             |
                                        | RRC ACTIVE FSM           |NULL                |
                                        | PMM PLMN FSM             |PARKING             |
                                        | EMM MAIN FSM             |NULL                |
                                        | EMM AUTH FSM             |NULL                |
                                        | EMM CONN FSM             |NULL                |
                                        | EMM TAU FSM              |NULL                |
                                        | EMM TEST FSM             |NULL                |
                                        | ESM BEARER FSM           |BEARER_NULL         |
                                        | SMS MT FSM               |IDLE                |
                                        | SMS MO FSM               |IDLE                |
                                        | HP MAIN FSM              |IDLE                |
                                        | HP USIM FSM              |ABSENT              |
                                        | HP SMS MO FSM            |IDLE                |
                                        | HP SMS MT FSM            |IDLE                |
                                        | HP CAT FSM               |NULL                |
                                        +--------------------------+--------------------+
                                        

                                        OK

                                        +CEREG: 2,4

                                        OK

                                        DL SYNCHRO STATISTICS

                                        Synchro state                         : IDLE
                                        PPU SIB1 ACQ watchdog                 : 1
                                        Frequency Hypothesis RF  (Hz)         : -1000
                                        RSRP (dBm)                            : -21474836.00
                                        RSRQ  (dB)                            : -25.99
                                        Channel estimation state (Cell-spec.) : LOW CINR
                                        Channel estimation state (UE-spec.)   : LOW CINR
                                        Channel estimation state (MBSFN)      : LOW CINR
                                        Channel estimation CINR               : 0.00
                                        Channel length                        : SHORT
                                        

                                        AGC
                                        AGC RX gain (dB) : 54.87
                                        RX PSD BO (dBFs) : -21.78
                                        RX PSD (dBm) : -98.39
                                        Noise level RS (dBm) : -126.46
                                        Digital gain (dB) : 9.05
                                        CINR RS (dB) : -16.11
                                        NARROWBANDS
                                        Last DL NB : Central
                                        Last UL NB : 0
                                        AFC
                                        Frequency offset RF (Hz) : 43
                                        Frequency offset BB (Hz) : 0
                                        PBCH
                                        MIB received quantity : 1429
                                        MIB timeout quantity : 0

                                        OK

                                        SYSTEM FSM

                                        +--------------------------+--------------------+
                                        |            FSM           |        STATE       |
                                        +--------------------------+--------------------+
                                        | RRC TOP FSM              |INITIAL             |
                                        | RRC SEARCH FSM           |INITIAL             |
                                        | RRC ACTIVE FSM           |NULL                |
                                        | PMM PLMN FSM             |PARKING             |
                                        | EMM MAIN FSM             |NULL                |
                                        | EMM AUTH FSM             |NULL                |
                                        | EMM CONN FSM             |NULL                |
                                        | EMM TAU FSM              |NULL                |
                                        | EMM TEST FSM             |NULL                |
                                        | ESM BEARER FSM           |BEARER_NULL         |
                                        | SMS MT FSM               |IDLE                |
                                        | SMS MO FSM               |IDLE                |
                                        | HP MAIN FSM              |IDLE                |
                                        | HP USIM FSM              |ABSENT              |
                                        | HP SMS MO FSM            |IDLE                |
                                        | HP SMS MT FSM            |IDLE                |
                                        | HP CAT FSM               |NULL                |
                                        +--------------------------+--------------------+
                                        

                                        OK

                                        +CEREG: 2,4

                                        1 Reply Last reply Reply Quote 0
                                        • J Offline
                                          jmarcelino @tlanier
                                          last edited by

                                          @tlanier
                                          Maybe Cat M1 coverage in your area just isn’t very good yet, Verizon only uses one band (band 13) for Cat M1 while on mobile phones they support more.

                                          T 1 Reply Last reply Reply Quote 0
                                          • T Offline
                                            tlanier @jmarcelino
                                            last edited by

                                            @tlanier

                                            Do you know if Verizon publishes a coverage map for CAT-M1?

                                            Maybe I should try taking the device to a larger city (Newnan or Atlanta) to see if it works there.

                                            This is what it displays at the start of the test:

                                            CAT M1 Test - V0.1

                                            OK

                                            OK

                                            OK

                                            OK

                                            OK

                                            -- Scan options -------------------------------------------
                                            | . Init Stored info use : true
                                            | . Init MRU freq use : true
                                            | . Init REG freq use : false
                                            | . Init FastScan use : true
                                            | . Init iterative band scan : false
                                            | . Init scan batch of freq : false
                                            | . Init hybrid 1 mode : false
                                            | . Init optim SIB rx : true
                                            | . Forced freq : false
                                            | . MRU cell use : true

                                            -- Scan Command config ----------------------------------------------------
                                            | id | type | object |

                                            | 1 | BAND | (id:1) 4,13 |
                                            | 2 | DELAY | 5000 msec |
                                            | 3 | LOOP | jump to cmd:1, dur:5000ms |

                                            OK

                                            1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 4 / 5
                                            • First post
                                              Last post

                                            Pycom on Twitter

                                            Pycom