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

    NB-IoT in Austria

    Scheduled Pinned Locked Moved FiPy
    nb-iotfipyattach
    12 Posts 3 Posters 1.7k Views 4 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.
    • D Offline
      dommei
      last edited by

      Hello,
      i am trying to connect to NB-IoT in Austria. The APN data is from my provider A1. I would like to send some sensor data over NB-IoT to test it.

      when i try to attach it fails everytime.

      Do you have any advice for me how can I attach the modem and how could I send/receive data? I didn't find many documentation about that..

      Thank you.

      My Code:

      import pycom
      import socket
      import time
      from network import LTE
      from SI7006A20 import SI7006A20
      
      # Disable WiFi
      from network import WLAN
      wlan = WLAN()
      wlan.init()
      
      # Disable Heartbeat
      pycom.heartbeat(False)
      pycom.rgbled(0x0)
      
      lte = LTE()
      lte.send_at_cmd('AT+CFUN=0') # disable modem
      lte.send_at_cmd('AT!="clearscanconfig"') # clear scanned frequencies
      lte.send_at_cmd('AT!="addscanfreq band=20 dl-earfcn=6300"') # set scanned frequency
      lte.send_at_cmd('AT+CGDCONT=1,"IP","try.a1.net"') # set APN (Access Point Name)
      lte.send_at_cmd('AT+COPS=?') # scan available networks
      lte.send_at_cmd('AT+CFUN=1') # enable modem
      
      while not lte.isattached():
          print("attaching...")
          pass
      ​
      lte.connect()
      while not lte.isconnected():
          print("connecting...")
          pass
      ​
      # now use socket as usual...```
      1 Reply Last reply Reply Quote 0
      • T Offline
        tuftec
        last edited by

        Hi Dom,

        Firstly, you need Band 8 support for Vodafone Australia. This is currently not supported in the existing FiPy firmware. There is an upgrade coming, but you might need to srnd your FiPy back to Pycom. See annocements elsewhere in the forum.

        Secondly, you need to contact Vadafone to obtain correct SIMs and access details.

        Good luck.

        Cheers.

        Peter.

        robert-hhR 1 Reply Last reply Reply Quote 0
        • robert-hhR Offline
          robert-hh @tuftec
          last edited by

          @tuftec Austria, not Australia!

          T 1 Reply Last reply Reply Quote 1
          • T Offline
            tuftec @robert-hh
            last edited by

            @robert-hh ha ha!!!
            My bad.
            Cheers.

            robert-hhR 1 Reply Last reply Reply Quote 0
            • robert-hhR Offline
              robert-hh @tuftec
              last edited by

              @tuftec said in NB-IoT in Austria:

              @robert-hh ha ha!!!
              My bad.
              Cheers.

              There are quite a few jokes about that.

              1 Reply Last reply Reply Quote 0
              • D Offline
                dommei
                last edited by

                yes Austria not Australia...

                The APN data is from the provider and they said they activated NB-IoT in my area. The bad thing is that they didn't test it with pycom devices.. so thats the reason why i ask here for help :)

                robert-hhR 1 Reply Last reply Reply Quote 0
                • robert-hhR Offline
                  robert-hh @dommei
                  last edited by robert-hh

                  @dommei What is the result of:

                  lte.send_at_cmd('AT+CEREG?')

                  You may have to wait for a while, until the device attaches, and obviously you need a specific SIM for NB-IoT.

                  Edit: Looking at the press announcement, it is likely that they use Band 8 (900 MHz band). This is not supported by the Pycom devices yet. You have to send them back to Pycom for an fix. See this post: https://forum.pycom.io/topic/3843/important-news-regarding-cat-m1-and-nb-iot-cellular-range

                  D 1 Reply Last reply Reply Quote 0
                  • D Offline
                    dommei @robert-hh
                    last edited by

                    @robert-hh The return value of AT+CEREG? is 2.4

                    robert-hhR 1 Reply Last reply Reply Quote 0
                    • robert-hhR Offline
                      robert-hh @dommei
                      last edited by

                      @dommei 2,4 means:
                      2: scanning with unsolicited messages enabled
                      4: unknown (e.g. out of E-UTRAN coverage)
                      So: not attached

                      D 1 Reply Last reply Reply Quote 0
                      • T Offline
                        tuftec
                        last edited by

                        If a lack of band 8 support, this is the same problem that I have with Vodafone Australia!

                        I am waiting for a response to my RMA request.

                        Peter.

                        1 Reply Last reply Reply Quote 1
                        • D Offline
                          dommei @robert-hh
                          last edited by

                          @robert-hh
                          hey again, now i have

                          2,0 as return value

                          any advice now? thank you

                          robert-hhR 1 Reply Last reply Reply Quote 0
                          • robert-hhR Offline
                            robert-hh @dommei
                            last edited by robert-hh

                            @dommei That's means: "not registered, MT is not currently searching an operator to register to". At my device, it toggles between 2,0 and 2,2. The response you need is 2,1 or 2,5.
                            The AT command set document is here: https://firebasestorage.googleapis.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-LIL0iGdl11z7Jos_jpX%2F-LKN7scqKKkb6TqB3uYO%2F-LKN866sBhZY7wCqpQPA%2Fmonarch_4g-ez_lr5110_atcommands_referencemanual_rev3_noconfidential.pdf?generation=1534782117167775&alt=media

                            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