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

    Important update regarding LTE modem updates

    Scheduled Pinned Locked Moved Announcements & News
    lte
    123 Posts 26 Posters 44.7k Views 32 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.
    • T Offline
      tuftec @Xykon
      last edited by

      @xykon can you please advise the status of support for band 8.

      When I use lte.attach(band=8) it reports band not supported.

      If I use AT!="addband band=8" it just returns ok.

      The published specifications for FiPy clearly indicate that band 8 SHOULD be supported.

      It appears that some other users are having success with bands 20 and 3, but I can not get connection using band 8 which is required for Vodafone here in Australia.

      How can I test that my command sequence is correct?

      I can read the IMSI back from the SIM card, so I know the SIM card is working.
      The SIM card has been provided by the Vodafone NB-IoT team here in Australia.

      Please respond as soon as possible.

      Peter.

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

        @tuftec That's true. Glancing at the code, file esp32/mods/modlte.c, lines 370-480, shows, that band 8 is not supported by lte.atach(). It is however very easy to add that. The code structure is obvious.

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

          @robert-hh thanks. Would the other command method work though?

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

            @tuftec The only thing this lte-attach() API does is send out AT commands for the supported bands like:

            lte_push_at_command("AT!=\"RRC::addScanBand band=20\"", LTE_RX_TIMEOUT_MIN_MS);
            

            So using the AT command directly or extending lte-.attach() works the same way.

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

              @tuftec where do I find the code?

              Ok. So with me using the addband band=3 command this should effectively do the same thing.

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

                @tuftec said in Important update regarding LTE modem updates:

                addband band=3

                Should'nt that be "addband band=8"

                Edit: besides that, I've send a PR. Eventually it will be included.
                Edit2: the code is in: https://github.com/pycom/pycom-micropython-sigfox/blob/master/esp32/mods/modlte.c

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

                  @robert-hh no. Band 3 is required for operation in Australia with Vodafone.

                  Eventually is a long time.

                  Thanks

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

                    @tuftec OK. Band 3 is accepted by the API already. The actual set is 3, 4, 12, 13, 20 and 28. But that only means, it's forwarded to the Sequans firmware.

                    X T 2 Replies Last reply Reply Quote 1
                    • X Offline
                      Xykon administrators @robert-hh
                      last edited by

                      I believe I found the issue with the modem not attaching. It’s a problem in the MicroPython firmware. Unfortunately I have to travel today and I’m currently in the train on the way to the airport.

                      If anyone with capabilities to modify & build the firmware can try this: in esp32/mods/modlte.c
                      Find && (strlen(pos) >= 31) && pos[30] == '7') {

                      Replace with && (strlen(pos) >= 31) && (pos[30] == '7' || pos[30] == '9')) {

                      Let me know if this helps I’ll try to build new firmware packages at the airport and at least try to make them available for manual flashing.

                      I’ve only tested this with the latest NB-IoT firmware.

                      As for the start-up commands, it seems Sequans has adapted the NB-IoT firmware to use largely the same startup code as CAT-M1.

                      So you can use the attach method as shown here https://forum.pycom.io/topic/3476/orange-belgium-gpy/7 or you can do the attach manually by sending the necessary AT commands.

                      For this, in a possible correction to my earlier post (I’m not entirely sure if it makes a difference), please try and replace the following two lines:

                      lte.send_at_cmd('AT!="addscanfreq band=20 dl-earfcn=6300"')
                      lte.send_at_cmd('AT!="zsp0:npc 1"')
                      

                      with these:

                      lte.send_at_cmd('AT!="RRC::addScanBand band=20'")
                      lte.send_at_cmd('AT!="disablelog 1"')
                      

                      However this should only be necessary if your band is not currently implemented in the firmware.

                      Christian Ehlers

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

                        @xykon OK. I added that, w/o a difference. I did not expect any change, because the response to AT+CEREG? is always either 2,0 or 2,2. I'm monitoring the link between the ESP32 and the Sequancs chip, and there are unsolicited messages of alternating +CEREG: 0and +CEREG: 2 every 30 seconds. Other people may be more successful, which after the lte.send_at_cmd("AT+CEREG?") command receive a string, starting with +CEREG: 2,1 or +CEREG: 2,5

                        X 1 Reply Last reply Reply Quote 1
                        • X Offline
                          Xykon administrators @robert-hh
                          last edited by Xykon

                          @robert-hh Thanks for trying... for everyone else I have uploaded test firmware packages for GPy and FiPy at [LINK NO LONGER AVAILABLE]

                          I'll be travelling for the next 16 hours without access to Internet.

                          Christian Ehlers

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

                            @robert-hh Not sure what I was thinking in my earlier reply.
                            For clarification - BAND 8 is needed for Vodafone Australia!!!!!
                            Sorry about that.

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

                              @xykon thanks.
                              Look forward to receiving further instructions.

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

                                Another thing to try is sending the command lte.send_at_cmd('AT+CEMODE=0') before calling the attach method or lte.send_at_cmd('AT+CFUN=1').

                                This will configure the modem to use EPS attach instead of combined EPS/IMSI attach.

                                Christian Ehlers

                                1 Reply Last reply Reply Quote 0
                                • S Offline
                                  stsiafak @tuftec
                                  last edited by

                                  @tuftec Yes you are right. I have tried this and I am getting the message you describe. Seems there is a bug in the libraries because the hardcore commands (addScanBand, addScanFreqRange, addScanFreq) return no error in case using the value of 8(?). Have you tried something more robust like:

                                  send_at_cmd_pretty('AT!="addScanFreqRange band=8 dl-earfcn-min=3450 dl-earfcn-max=3799"')
                                  
                                  T 1 Reply Last reply Reply Quote 1
                                  • T Offline
                                    tuftec @stsiafak
                                    last edited by

                                    @stsiafak I have not tried the pretty command at this point. Everything else I have tried does not seem to work.
                                    I have not got the time to just keep trying different suggestions.
                                    We need a clear direction from Pycom/Sequans to get this working.

                                    1 Reply Last reply Reply Quote 2
                                    • X Offline
                                      Xykon administrators
                                      last edited by

                                      In regards to band 8, I was informed now that, while the hardware supports all bands (1,2,3,4,5,8,12,13,18,19,20,28), the Sequans firmware currently only supports a maximum of 6 bands so we chose the ones that gave us the best support at the time of launch. I have a call with Sequans later today to discuss this limitation and provide a firmware that can be used with band 8 as soon as possible. I hope to have an update on that within 24 hours.

                                      Christian Ehlers

                                      T robert-hhR K 5 Replies Last reply Reply Quote 4
                                      • T Offline
                                        tuftec @Xykon
                                        last edited by

                                        @xykon thanks

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

                                          @xykon I have been advised that for future compatibility with Vodafone's Australian network, all devices should support bands 5, 8 & 28. Currently only band 8 is supported.
                                          If there is only a limitation in the modem firmware for only 6 bands, then maybe there should be a special version for Australia that will provide support for Vodafone, Telstra & Optus/Singtel.

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

                                            @xykon How do I have to understand the answer. I read, that the set of bands the firmware can support is 6, but which bands are in this set of 6 can be freely chosen. If that is true, then there should be not problem, unless in a certain region more than 6 bands are used simultaneously.

                                            mfalkviddM 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
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 7
                                            • 6 / 7
                                            • First post
                                              Last post

                                            Pycom on Twitter

                                            Pycom