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

    Any success with GPy on T-Mobile NB-IoT in US? (Maybe with Twilio?)

    Scheduled Pinned Locked Moved GPy
    gpy nbiott-mobiletwilio
    6 Posts 5 Posters 1.1k Views 5 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.
    • E Offline
      Eric24
      last edited by

      T-Mobile has (or soon will) enable NB-IoT on their US network. Does anyone have any experience with getting a GPy connected to it? Either direct to T-Mobile or with a Twilio SIM (although Twilio doesn't specifically list NB-IoT as an option, but I have to imagine that's coming soon based on their partnership with T-Mobile)?

      M 1 Reply Last reply Reply Quote 0
      • M Offline
        mgranberry @Eric24
        last edited by

        @eric24 it's a little late, but I was able to connect to T-Mobile's network today using a Google Fi data SIM.

        K E 2 Replies Last reply Reply Quote 0
        • K Offline
          kevin @mgranberry
          last edited by

          @mgranberry Related to a different question (https://forum.pycom.io/topic/4118/gpy-or-fipy-using-lte-in-the-us), could I please ask you to check the result of 'AT+SQNHPLMN?'. I am trying to find out if Sequans supports 6-digit PLMNs in the US.

          1 Reply Last reply Reply Quote 0
          • E Offline
            Elizar @mgranberry
            last edited by

            @mgranberry Can you please share a litte code snippet how to attach to the NB-IoT network of T-Mobile? My attempts all endet fruitless, yet.

            M 1 Reply Last reply Reply Quote 0
            • M Offline
              mgranberry @Elizar
              last edited by mgranberry

              @elizar

              from network import LTE
              lte = LTE()
              time.sleep(.500)
              # lte.send_at_cmd('AT+CPSMS=1')
              if not lte.isattached():
                  print("Attaching to h2g2")
                  lte.attach(apn='h2g2')
                  time.sleep(.2)
              while True:
                  if not lte.isconnected():
                      time.sleep(0.01)
                      lte.connect()
                      print("LTE not connected")
                      time.sleep(1)
                      continue
                  else:
                      break
              

              Network support is pretty bad right now. Attempts to use SSL always timed out. HTTP is unreliable. Connections go up and down without warning and sometimes towers don't talk. But it does connect fairly reliably if you give the modem a little time between initialization and the attempt to attach.

              edit: I'm using Project Fi on T-Mobile's network, so your APN setup will likely need to be different.

              John BairdJ 1 Reply Last reply Reply Quote 0
              • John BairdJ Offline
                John Baird @mgranberry
                last edited by

                @mgranberry Do you have any idea what the NB-IoT coverage in the US is like at the moment? Also, what LTE modem firmware version were you running that code snippet with?

                Thx

                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