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

    LTE -NB connection issues

    Scheduled Pinned Locked Moved GPy
    lte nb iotltedeep sleepnb-iot
    1 Posts 1 Posters 346 Views 1 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.
    • S Offline
      sandris
      last edited by

      Do anyone had success with keeping a stable NB-IoT attachment through a sleep cycle.
      I have previously succsessfully connected to the Telenor NB-IoT network, but are not able to do so suddenly. Further on I'm trying to understand how to get a stable connection after a deep sleep, using the py.go_to_sleep(False) command with the pytrack.

      As far as I understand this command should keep the attachment to the network through a deep sleep cycle. The attachment is kept sometimes but not often enough to be able to use. Updated to newest firmware.

      NB-IoT Firmware: (lte.send_at_cmd('ATI1') )
      UE6.0.0.0
      LR6.0.0.0-38729

      Minimum example code:

      from network import LTE
      import time
      import machine
      
      lte = LTE()
      lte.init()
      #lte.reset()
      
      lte.attach(band=20, apn="mda.ee")
      i = 0
      while not (lte.isattached() or i > 15):
          time.sleep(1)
          i=i+1
          print("", i, " seconds passed")
      if i > 15:
          lte.reset()
          machine.reset()
      lte.connect()       # start a data session and obtain an IP address
      
      while not lte.isconnected():
          time.sleep(1)
      print("Connected")
      
      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