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 not attaching to Vodafone NB-IOT

    Scheduled Pinned Locked Moved FiPy
    fipyvodafonenb-iot
    4 Posts 2 Posters 1.0k 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.
    • N Offline
      NickB
      last edited by

      Hi,
      I'm having problems connecting my FiPy to the vodafone network.
      I have upgraded the firmware to NB1-38729, that succeeded but still it's not connecting.
      The sim card is activated so that should work also.
      Please leave me suggestions so I can fix this problem.

      My code is:0_1538734963707_Screenshot from 2018-10-03 16-08-21.png

      When I run this it continuously prints the "not attached".

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

        @nickb When you send after lte.attach() the command:
        lte.send_at_cmd("AT+CEREG?")
        what do you get? Please note, that attaching can take a while, up to 15 minutes, and you have to repeat the command a few times.
        if you get somthing like.
        +CEREG: 2,1,"xxxx","yyyyyyyy",7 or +CEREG: 2,1,"xxxx","yyyyyyyy",9
        then the device is in fact attached, and it's just the parsing within lte.attach() which is wrong. @Xykon has provided a patched version which addreses this fault.

        N 1 Reply Last reply Reply Quote 0
        • N Offline
          NickB @robert-hh
          last edited by

          @robert-hh
          The return from that command is 2,2.
          I cant figure out what that means.

          I have the command executing a lot in a while loop ( while not lte.isattached()).
          After 20 minutes it's still at +CEREG 2,2
          And seen as it doesn't break out the loop I guess it's still not attached, or is that the wrong parsing you mentioned?

          Thanks a lot!

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

            @nickb This is a standard AT command. the response tells:
            "scanning with unsolicited response enabled" (first 2), and
            "not registered, but MT is currently trying to attach or searching an operator to register to" (second 2)
            https://www.etsi.org/deliver/etsi_ts/127000_127099/127007/12.07.00_60/ts_127007v120700p.pdf
            or
            https://firebasestorage.googleapis.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-LIL0iGdl11z7Jos_jpX%2F-LKN7scqKKkb6TqB3uYO%2F-LKN82sqi_sHewyinxC5%2Fmonarch_4g-ez_lr5110_atcommands_referencemanual_rev3_noconfidential (2).pdf?generation=1534782114581269&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