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

    FiPy, NB-IoT, 1nce/ Telekom.de germany: fails, no band 8 support?

    Scheduled Pinned Locked Moved FiPy
    fipynb-iotband8lte
    20 Posts 8 Posters 2.8k Views 9 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.
    • robert-hhR Offline
      robert-hh @bqpd
      last edited by robert-hh

      @bqpd That is a short script which works:

      #
      from network import LTE
      import time
      
      lte = LTE()
      lte.attach(band=8, apn="iot.1nce.net")
      while not lte.isattached():
          time.sleep(0.5)
          print(".", end="")
      
      print("\nAttached!")
      
      print(lte.send_at_cmd("AT+CSQ"))
      
      lte.connect()       # start a data session and obtain an IP address
      while not lte.isconnected():
          time.sleep(0.5)
          print("-", end="")
      
      print("Connected!")
      

      The value returned by AT+CSQ is 25,99, which indicated a good reception. As antenna I use a quarter-wavelength 868 MHz antenna, which I tested to work well enough up to the LTE band 8 frequency. The Pycom Lora antenna should be fine too.

      B A T 3 Replies Last reply Reply Quote 0
      • B Offline
        bqpd @robert-hh
        last edited by

        @robert-hh Thanks a lot! I will test it soon. Maybe i should also try it in a larger city to minimize the risk of net availability issues.

        1 Reply Last reply Reply Quote 0
        • A Offline
          Andy_N. @robert-hh
          last edited by

          @robert-hh
          today i was able to try this script. I updatetd the firmware to MicroPython 1.20.0.rc1 and the sequans firmware updatetd with "upgdiff_33080-to-40343.dup" on my GPy successfully.
          I inserted the 1nce SIM and tried your script with connected pycom LTE-antenna via Atom shell in Munich.

          Unfortunately i wasnt able to attach... i tried several times, each for 45 min but nothing happend.

          Any idea what can be wrong? What else i can try?

          Thanks

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

            @andy_n I do not recall if you have a FiPy module refurbished by PyCom for BAND=8 support. If not, the software may accept the setting, but it will simply not work. You can query the list of supported bands with:
            from network import LTE

            lte = LTE()
            lte.send_at_command('at!="RRC:showcaps"')
            

            It should return something like:

            == CAPS config =============================
              .Lock UE on SRV band    : false
              .MFBI support           : true
              .TM8 TDD support        : false
            ============================================
            == CAPS ====================================
              . access stratum: R13
              . catM          : 1
              . nb-IoT        : 1
            -- EUTRA bands --
              . supported     : 28/20/13/12/8/5/4/3
              . board         : 3/4/5/8/12/13/20/28
              . admin         : 
              . pending admin : 
            -- EUTRA carriers --
              . admin         : 
              . pending admin : 
            ============================================
            OK
            
            1 Reply Last reply Reply Quote 0
            • J Offline
              Joop Susan
              last edited by

              @robert-hh Showcaps does not work for me.

              >>> from network import LTE
              >>> lte = LTE()
              >>> lte.send_at_cmd('at!="RRC:showcaps"')
              '\r\nNo permission to use the RRC private debug CLI\r\n\r\nOK\r\n'
              >>> 
              

              I also have the problem that I can't connect on band 8 on an upgraded GPy.

              What other way is there to see if the firmware supports band 8?

              See: T-Mobile NB-IoT in the Netherlands?

              1 Reply Last reply Reply Quote 1
              • J Offline
                Joop Susan
                last edited by

                Found solution for showcaps rejection from another thread.

                >>> from network import LTE
                >>> lte = LTE()
                >>> print(lte.send_at_cmd('AT!="RRC:setDbgPerm full"'))
                OK
                >>> print(lte.send_at_cmd('at!="RRC:showcaps"'))
                == CAPS config =============================
                  .Lock UE on SRV band    : false
                  .MFBI support           : true
                  .TM8 TDD support        : false
                ============================================
                == CAPS ====================================
                  . access stratum: R13
                  . catM          : 1
                  . nb-IoT        : 1
                -- EUTRA bands --
                  . supported     : 28/20/13/12/4/3
                  . board         : 3/4/12/13/20/28
                  . admin         : 
                  . pending admin : 
                -- EUTRA carriers --
                  . admin         : 
                  . pending admin : 
                ============================================
                OK
                >>> 
                

                So this means that this one needs to be RMA'ed?

                robert-hhR A 2 Replies Last reply Reply Quote 0
                • robert-hhR Offline
                  robert-hh @Joop Susan
                  last edited by

                  @joop-susan Yes.

                  1 Reply Last reply Reply Quote 0
                  • T Offline
                    tvetter1976 @tvetter1976
                    last edited by

                    I am lucky to have:

                    
                    >>> print(lte.send_at_cmd('at!="RRC:showcaps"'))
                    
                    == CAPS config =============================
                      .Lock UE on SRV band    : false
                      .MFBI support           : true
                      .TM8 TDD support        : false
                    ============================================
                    == CAPS ====================================
                      . access stratum: R13
                      . catM          : 1
                      . nb-IoT        : 1
                    -- EUTRA bands --
                      . supported     : 28/20/13/12/8/5/4/3
                      . board         : 3/4/5/8/12/13/20/28
                      . admin         :
                      . pending admin :
                    -- EUTRA carriers --
                      . admin         :
                      . pending admin :
                    ============================================```
                    
                    
                    

                    And I can confirm that it works without any SimCard inserted!

                    1 Reply Last reply Reply Quote 0
                    • A Offline
                      Andy_N. @Joop Susan
                      last edited by

                      @joop-susan
                      here the same problem, but your code worked.

                      >>> from network import LTE
                      >>> lte = LTE()
                      >>> print(lte.send_at_cmd('AT!="RRC:setDbgPerm full"'))
                      OK
                      >>>  print(lte.send_at_cmd('at!="RRC:showcaps"'))
                      Traceback (most recent call last):
                        File "<stdin>", line 1
                      IndentationError: unexpected indent
                      >>> print(lte.send_at_cmd('at!="RRC:showcaps"'))
                      
                      == CAPS config =============================
                        .Lock UE on SRV band    : false
                        .MFBI support           : true
                        .TM8 TDD support        : false
                      ============================================
                      == CAPS ====================================
                        . access stratum: R13
                        . catM          : 1
                        . nb-IoT        : 1
                      -- EUTRA bands --
                        . supported     : 28/20/13/12/4/3
                        . board         : 3/4/12/13/20/28
                        . admin         :
                        . pending admin :
                      -- EUTRA carriers --
                        . admin         :
                        . pending admin :
                      ============================================
                      
                      OK
                      

                      ok so there is no band 8 in the supported line...
                      i also need to send the boards back to geht upgraded ones...
                      Thanks a lot!

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

                        @robert-hh
                        Can you give an example how to send data using 1nce sim card?

                        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