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

    HELP! with LTE connectivity loss

    Scheduled Pinned Locked Moved Support & Troubleshooting
    3 Posts 2 Posters 68 Views 2 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.
    • P Offline
      PVBRAIN CETENMA
      last edited by

      Hello,

      I've been searching some solutions for my LTE connectivity loss, and I've seen that it's a common issue, but can not implement the right solution. May someone help me?

      Now the solution it's to do a power reset to re-start the program and do the connection again. But it's not possible in my final solution. I need it to be sending PV data each minute during all day.

      I've try using the WDT as explained in here. But as lte.isconnected() doesn't return False when the connection is lost, I don't know how to be aware when the connection falls to force a re-start.

      When trying this example I get the following error:

      NameError: name 'lte_callback' isn't defined

      Could anyone explain me how should I define this and make it work?

      Thank you in advance.

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

        The callback example does work, only you need to change the last line to :

        lte.lte_callback(LTE.EVENT_BREAK, lte_cb_handler)

        1 Reply Last reply Reply Quote 0
        • P Offline
          PVBRAIN CETENMA
          last edited by

          Thanks! Now it's working

          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