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

    Orange Belgium Gpy

    Scheduled Pinned Locked Moved Discussion
    gpy nbiotorange belgium
    25 Posts 10 Posters 4.2k Views 13 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
      peterv
      last edited by

      Still works for me on 1.20.0.rc4/NB-IOT firmware 40343:

      >>> import sqnsupgrade
      >>> sqnsupgrade.info()
      <<< Welcome to the SQN3330 firmware updater [1.2.1] >>>
      >>> FiPy with firmware version 1.20.0.rc4
      Your modem is in application mode. Here is the current version:
      UE6.0.0.0
      LR6.0.0.0-40343
      

      and

      >>> from network import LTE
      >>> lte = LTE()
      >>> lte.send_at_cmd('AT+CGDCONT=1,"IP","nbiot.iot"')
      '\r\nOK\r\n'
      >>> lte.attach(band=20)
      >>> lte.isattached()
      False
      >>> lte.isattached()
      True
      >>> lte.connect()
      >>> lte.isconnected()
      True
      

      Still no DNS:

      >>> socket.getaddrinfo('www.pycom.io', 80)
      Traceback (most recent call last):
        File "<stdin>", line 1, in <module>
      OSError: -202
      
      1 Reply Last reply Reply Quote 0
      • L Offline
        Lonefish @mp
        last edited by Lonefish

        @mp My solution was making sure the SIM cards are still activated. That was it, the code just works. I suspect you have the antenna connected?

        I have to say tho, the first time it seems to take a while to connect (like a few minutes even) but after that it just 'flies' through. Have you let it sit for a while? Like during lunch?

        EDIT: Have you updated the firmware to the latest version?

        1 Reply Last reply Reply Quote 0
        • J Offline
          johanbrichau @mp
          last edited by

          @mp I have my Gpy connecting to Orange NB-IoT. I’m using latest dev firmware and modem firmware. See https://github.com/jbrichau/TrackingPrototype/blob/b3c5ec0cd3a7cd434fb6cec64c85c206d8d3277e/Device/main.py#L75 for my code.

          What is the firmware you are using?

          1 Reply Last reply Reply Quote 0
          • M Offline
            mp
            last edited by

            Hello all,
            I use 40343, but it was painful to flash the firmware, is it possible that the firmware is corrupted? If upgrade success the firmware have to be ok?

            Yes i let it connected many minutes, and the antenna is connected. I dont use this anthena https://pycom.io/product/lte-m-antenna-kit/ but another nbiot antena (https://shop.sodaq.com/sodaq-sara-ubee-n211.html)
            I will retry this Sunday

            Thank you for you help

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

              Hello all,

              Finally I manage to make it works.

              The problem wasn't in the software, but hardware.

              I don't use a expansion board, I use a ttl converter like this one https://www.ebay.com/itm/5V-3-3V-FTDI-FT232RL-USB-to-TTL-Serial-Converter-Adapter-Module-Arduino-Mini-Hot/182736917146
              With this converter 3.3V is not enough to power on stably the board, so, I used it in 5V mode, but it seem that 5v for serial communication is ok for the python REPL, but have problem when flashing the modem or use the LTE modem. Finally, I changed my design by using another 5v power source, and use the ttl converter un 3v3 mode with common ground. And then it just works fine ;)

              Thank you for you support

              1 Reply Last reply Reply Quote 2

              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
              • 2
              • 2 / 2
              • First post
                Last post

              Pycom on Twitter

              Pycom