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

    FiPy unable to connect to T-Mobile NL (LTE-M)

    Scheduled Pinned Locked Moved FiPy
    5 Posts 3 Posters 85 Views 3 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.
    • L Offline
      Lars van Velzen
      last edited by Lars van Velzen

      Hello,

      I'm trying to connect to the LTE-M network of T-Mobile NL. But the FiPy is unable to connect to the network.

      The simcard used in the FiPy is a special IoT Creators LTE-M simcard.

      When I use the command AT+CPIN? it returns Ready.

      To verify if the network is found the command AT+COPS=? is used, this returns 20416 what means that the network is found.

      To verify the freqency band the command AT+SQNINS=0 is used, this returns the T-Mobile celltower on frequencyband 8.

      To verify the operational capabilities the command AT+CFUN? is used, this returns 1.

      The code used:

      from network import LTE
      import time
      import socket
      
      lte = LTE()
      
      lte.attach(band=8, apn="iot.t-mobile.nl")
      print("attaching..",end='')
      while not lte.isattached():
          time.sleep(0.25)
      
          print('.',end='')
          print(lte.send_at_cmd('AT!="fsm"'))         
      print("attached!")
      
      lte.connect()
      print("connecting [##",end='')
      while not lte.isconnected():
          time.sleep(0.25)
          print('#',end='')
          #print(lte.send_at_cmd('AT!="showphy"'))
          print(lte.send_at_cmd('AT!="fsm"'))
      print("] connected!")
      
      

      It returns:

      DL SYNCHRO STATISTICS
      =====================
          Synchro state                         : OFF
          PPU SIB1 ACQ watchdog                 : 0
          Frequency Hypothesis RF  (Hz)         : 0
          RSRP (dBm)                            : 0.00
          RSRQ  (dB)                            : 0.00
          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)                      : 0.00
          RX PSD BO (dBFs)                      : 0.00
          RX PSD (dBm)                          : 0.00
          Noise level RS (dBm)                  : 0.00
          Digital gain (dB)                     : 0.00
          CINR RS (dB)                          : 0.00
        NARROWBANDS
          Last DL NB                            : 0
          Last UL NB                            : 0
        AFC
          Frequency offset RF  (Hz)             : 0
          Frequency offset BB  (Hz)             : 0
        PBCH
          MIB received quantity                 : 0
          MIB timeout quantity                  : 0
      
      OK
      
      attaching...
      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             |KASME_DEFINED       |
          | 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              |READY               |
          | HP SMS MO FSM            |IDLE                |
          | HP SMS MT FSM            |IDLE                |
          | HP CAT FSM               |IDLE                |
          +--------------------------+--------------------+
      
      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             |KASME_DEFINED       |
          | 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              |READY               |
          | HP SMS MO FSM            |IDLE                |
          | HP SMS MT FSM            |IDLE                |
          | HP CAT FSM               |IDLE                |
          +--------------------------+--------------------+
      
      OK
      
      .
      SYSTEM FSM
      ==========
          +--------------------------+--------------------+
          |            FSM           |        STATE       |
          +--------------------------+--------------------+
          | RRC TOP FSM              |CAMPED              |
          | RRC SEARCH FSM           |CAMPED_ANY          |
          | RRC ACTIVE FSM           |IDLE                |
          | PMM PLMN FSM             |ANY_CAMPED          |
          | EMM MAIN FSM             |NULL                |
          | EMM AUTH FSM             |KASME_DEFINED       |
          | 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              |READY               |
          | HP SMS MO FSM            |IDLE                |
          | HP SMS MT FSM            |IDLE                |
          | HP CAT FSM               |IDLE                |
          +--------------------------+--------------------+
      
      OK
      

      Does anyone have any experience of connecting to the T-Mobile NL LTE-M network? I tried resetting multiple times and codes from the forum but i did not have any succes (so far).

      Thanks,

      Lars

      1 Reply Last reply Reply Quote 0
      • G Offline
        Gijs
        last edited by

        Hi,

        Could you perhaps update the LTE modem firmware to the latest available version and try again? The update procedure is described here: https://docs.pycom.io/updatefirmware/ltemodem/. Shifting locations to get a better signal might help as well.

        Let me know!

        L 1 Reply Last reply Reply Quote 0
        • L Offline
          Lars van Velzen @Gijs
          last edited by

          Hello,

          Thanks for the quick reaction!

          After the update the RCC TOP FSM switches from Scanning to Syncing to Camped and back. It seems that it is stuck somewhere.

          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             |KASME_DEFINED       |
              | 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                |
              | LPP 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
          
          .
          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             |KASME_DEFINED       |
              | 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                |
              | LPP 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
          
          .
          SYSTEM FSM
          ==========
              +--------------------------+--------------------+
              |            FSM           |        STATE       |
              +--------------------------+--------------------+
              | RRC TOP FSM              |CAMPED              |
              | RRC SEARCH FSM           |CAMPED_ANY          |
              | RRC ACTIVE FSM           |IDLE                |
              | PMM PLMN FSM             |ANY_CAMPED          |
              | EMM MAIN FSM             |NULL                |
              | EMM AUTH FSM             |KASME_DEFINED       |
              | 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                |
              | LPP 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
          

          This has been going on for more than an hour. Most of the time the device is Scanning.

          Does anyone have any other suggestions?

          Thanks,

          Lars

          1 Reply Last reply Reply Quote 0
          • G Offline
            Gijs
            last edited by

            Could you contact me at support@pycom.io linking this forum thread, we might be able to help you further there!
            Gijs

            C 1 Reply Last reply Reply Quote 0
            • C Offline
              Cees_Meijer @Gijs
              last edited by

              @Gijs I have exactly the same problem as described above (T-Mobile SIM etc.). Aparently you have assisted Lars outside this thread, but I'm curious if you found the solution.

              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 / 1
              • First post
                Last post

              Pycom on Twitter

              Pycom