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

    Can't connect Fipy via LTE NB-IoT to Pybytes

    Scheduled Pinned Locked Moved Support & Troubleshooting
    3 Posts 2 Posters 436 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.
    • W Offline
      weingami
      last edited by

      Hello there, I tried to connect via NB-IoT to as described in this article , later I tried out this tip after I had no success, but it's still complaining with the same error message that it cannot connect to the MQTT server.

      Connecting to COM13...
      WMAC: 807D3AC2E464
      Firmware: 1.18.2.r3
      Pybytes: 0.9.10
      Pybytes configuration read from /flash/pybytes_config.json
      Initialed watchdog for WiFi and LTE connection with timeout 660000 ms
      LTE init(carrier=standard, cid=1)
      LTE attach(band=8, apn=iot.1nce.net, type=None)
      LTE connect()
      LTE is_connected()
      LTE connection established
      MQTTClient: Can't connect to MQTT server: "mqtt.pybytes.pycom.io"
      MQTTClient: Can't connect to MQTT server: "mqtt.pybytes.pycom.io"
      

      As a second connection preference
      was set to ["lte", "lora"]

      Any tips on how I could get this to work? Am I overlooking anything?

      X 1 Reply Last reply Reply Quote 0
      • X Offline
        Xykon administrators @weingami
        last edited by

        @weingami Are you sure the operator you are using allows TCP (MQTT) connections to external platforms?

        Most NB-IoT network carriers don't support TCP and only allow UDP/CoAP connections to their own internal platforms.

        Christian Ehlers

        1 Reply Last reply Reply Quote 0
        • W Offline
          weingami
          last edited by

          I was able to successfully connect via HTTPS to google and do a simple GET request, so it seemed. Though I don't do dabble around to often in network protocols. Would you have any suggestion for a safer way to determine whether our carrier supports UDP. The name of the carrier is 1NCE, btw.

          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