LTE -NB connection issues
-
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-38729Minimum 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")
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