Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse
Brand Logo

ModalAI Forum

  1. ModalAI Support Forum
  2. VOXL Accessories
  3. Cellular Modems
  4. AT commands to a Sierra Wireless EM9291

AT commands to a Sierra Wireless EM9291

Scheduled Pinned Locked Moved Cellular Modems
42 Posts 4 Posters 18.9k Views 4 Watching
  • 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.
  • groupoG Offline
    groupoG Offline
    groupo
    Regular
    wrote on last edited by
    #1

    Re: Connecting to a private 5G network

    I saw in the above post some steps for sending AT commands with a different modem than mine. How is this done with the EM9291 and where is/should this be done?

    Another inquiry: I am trying to connect to a private 4G-LTE network. I ran "qmicli device=/dev/cdc-wdm0 --nas-network-scan" but my private network does not appear. I know it is up and running, and I have another phone connected to it to verify. After reading some Sierra forums, I am going to play around with some AT commands... but has anyone run into not seeing a network with --nas-network-scan before?

    1 Reply Last reply
    0
    • groupoG Offline
      groupoG Offline
      groupo
      Regular
      wrote on last edited by groupo
      #2

      After a little more digging, I suppose this is the same line of questioning here... which looks unanswered

      Re: Serial communication with Sierra Wireless EM9291

      1 Reply Last reply
      0
      • groupoG Offline
        groupoG Offline
        groupo
        Regular
        wrote on last edited by
        #3

        Looked thru the repo as suggested here

        @Eric-Katzfey said in Serial communication with Sierra Wireless EM9291:

        There are some scripts in our voxl-modem repo that use AT commands. https://gitlab.com/voxl-public/voxl-sdk/utilities/voxl-modem/-/tree/master/scripts?ref_type=heads

        it looks like all examples of AT commands there are done by echoing to ttyUSB2 which, as I understand the scripts, is only applicable to a v2 modem, not the em9291. Am i overlooking something?

        groupoG 1 Reply Last reply
        0
        • groupoG groupo

          Looked thru the repo as suggested here

          @Eric-Katzfey said in Serial communication with Sierra Wireless EM9291:

          There are some scripts in our voxl-modem repo that use AT commands. https://gitlab.com/voxl-public/voxl-sdk/utilities/voxl-modem/-/tree/master/scripts?ref_type=heads

          it looks like all examples of AT commands there are done by echoing to ttyUSB2 which, as I understand the scripts, is only applicable to a v2 modem, not the em9291. Am i overlooking something?

          groupoG Offline
          groupoG Offline
          groupo
          Regular
          wrote on last edited by groupo
          #4

          @groupo @tom @Eric-Katzfey @Alex-Kushleyev any traction on this? I am in a holding pattern with my project until i can establish how to send these AT commands. I have another post up on Sierra Wireless forums who want me to install MBPL USB driver but would like to talk to yall before I move forward with that

          Alex KushleyevA tomT 2 Replies Last reply
          0
          • groupoG groupo

            @groupo @tom @Eric-Katzfey @Alex-Kushleyev any traction on this? I am in a holding pattern with my project until i can establish how to send these AT commands. I have another post up on Sierra Wireless forums who want me to install MBPL USB driver but would like to talk to yall before I move forward with that

            Alex KushleyevA Offline
            Alex KushleyevA Offline
            Alex Kushleyev
            ModalAI Team
            wrote on last edited by
            #5

            @groupo , sorry, this is not my area of expertise, hopefully Tom and Eric can help!

            Alex

            groupoG 1 Reply Last reply
            0
            • Alex KushleyevA Alex Kushleyev

              @groupo , sorry, this is not my area of expertise, hopefully Tom and Eric can help!

              Alex

              groupoG Offline
              groupoG Offline
              groupo
              Regular
              wrote on last edited by
              #6

              @Alex-Kushleyev Thank you, I figured... but I saw you were online and wanted to poke the devs 😉

              1 Reply Last reply
              0
              • groupoG groupo

                @groupo @tom @Eric-Katzfey @Alex-Kushleyev any traction on this? I am in a holding pattern with my project until i can establish how to send these AT commands. I have another post up on Sierra Wireless forums who want me to install MBPL USB driver but would like to talk to yall before I move forward with that

                tomT Offline
                tomT Offline
                tom
                admin
                wrote on last edited by
                #7

                @groupo I haven't been able to send AT commands to that flavor of Sierra modem, I've done everything via. qmicli at this point.

                There's a good chance that driver would enable it but I haven't dug any deeper into it at this point.

                groupoG 1 Reply Last reply
                0
                • tomT tom

                  @groupo I haven't been able to send AT commands to that flavor of Sierra modem, I've done everything via. qmicli at this point.

                  There's a good chance that driver would enable it but I haven't dug any deeper into it at this point.

                  groupoG Offline
                  groupoG Offline
                  groupo
                  Regular
                  wrote on last edited by
                  #8

                  @tom thanks for getting back to me. My hesitation with installing it was messing up something you guys have put into place and having to reflash. Can you think of any easy gotchas before I go through with it?

                  tomT 1 Reply Last reply
                  0
                  • groupoG groupo

                    @tom thanks for getting back to me. My hesitation with installing it was messing up something you guys have put into place and having to reflash. Can you think of any easy gotchas before I go through with it?

                    tomT Offline
                    tomT Offline
                    tom
                    admin
                    wrote on last edited by
                    #9

                    @groupo Nah doesn't sound like anything too sketchy. It's easy to re-flash the SDK if you do mess anything up and I can help you through that if you get stuck.

                    groupoG 1 Reply Last reply
                    0
                    • tomT tom

                      @groupo Nah doesn't sound like anything too sketchy. It's easy to re-flash the SDK if you do mess anything up and I can help you through that if you get stuck.

                      groupoG Offline
                      groupoG Offline
                      groupo
                      Regular
                      wrote on last edited by groupo
                      #10

                      @tom Might you be able to help with the install? I have the drivers but I am a not very savvy with any software that isnt MATLAB.

                      the readme is very straightforward, but I am running into issues:

                      1. run 'make' to install driver binaries
                      2. run 'make install' and reboot to install them

                      The makefile script looks for /lib/modules($shell uname -r)/build... which does not exist. I can mkdir it but I still get make errors. I am not even sure where I should place the folder 'usb' that these drivers are in.

                      I can provide the actual make script and anything else you'd wanna see... just want to see if youre able to help before dumping it all haha

                      tomT 1 Reply Last reply
                      0
                      • groupoG groupo

                        @tom Might you be able to help with the install? I have the drivers but I am a not very savvy with any software that isnt MATLAB.

                        the readme is very straightforward, but I am running into issues:

                        1. run 'make' to install driver binaries
                        2. run 'make install' and reboot to install them

                        The makefile script looks for /lib/modules($shell uname -r)/build... which does not exist. I can mkdir it but I still get make errors. I am not even sure where I should place the folder 'usb' that these drivers are in.

                        I can provide the actual make script and anything else you'd wanna see... just want to see if youre able to help before dumping it all haha

                        tomT Offline
                        tomT Offline
                        tom
                        admin
                        wrote on last edited by
                        #11

                        @groupo Try this before building:

                        sudo ln -s /usr/src/header /lib/modules/$(uname -r)/build
                        
                        groupoG 2 Replies Last reply
                        0
                        • tomT tom

                          @groupo Try this before building:

                          sudo ln -s /usr/src/header /lib/modules/$(uname -r)/build
                          
                          groupoG Offline
                          groupoG Offline
                          groupo
                          Regular
                          wrote on last edited by
                          #12

                          @tom

                          Done but still get errors

                          voxl2:/$ sudo ln -s /usr/src/header/ /lib/modules/$(uname -r)/build 
                          voxl2:/$ cd usb
                          voxl2:/usb$ make
                          make -C /lib/modules/4.19.125/build M=/usb
                          make[1]: Entering directory '/lib/modules/4.19.125/build'
                          make[1]: *** No targets specified and no makefile found.  Stop.
                          make[1]: Leaving directory '/lib/modules/4.19.125/build'
                          Makefile:12: recipe for target 'all' failed
                          
                          1 Reply Last reply
                          0
                          • tomT tom

                            @groupo Try this before building:

                            sudo ln -s /usr/src/header /lib/modules/$(uname -r)/build
                            
                            groupoG Offline
                            groupoG Offline
                            groupo
                            Regular
                            wrote on last edited by
                            #13

                            @tom I see this is running libqmi 1.22.0. The latest, 1.32.0, has a command for AT commands. Have you tried this new version internally? Could I upgrade mine?

                            tomT 1 Reply Last reply
                            0
                            • groupoG groupo

                              @tom I see this is running libqmi 1.22.0. The latest, 1.32.0, has a command for AT commands. Have you tried this new version internally? Could I upgrade mine?

                              tomT Offline
                              tomT Offline
                              tom
                              admin
                              wrote on last edited by
                              #14

                              @groupo Ooh cool, we haven't tried that before. Looks like you should be able to try upgrading it via. apt. Feel free to try that and let me know if you have luck!

                              groupoG 1 Reply Last reply
                              0
                              • tomT tom

                                @groupo Ooh cool, we haven't tried that before. Looks like you should be able to try upgrading it via. apt. Feel free to try that and let me know if you have luck!

                                groupoG Offline
                                groupoG Offline
                                groupo
                                Regular
                                wrote on last edited by groupo
                                #15

                                @tom just apt update libqmi ? Again sorry, but I am not very familiar with linux.

                                Another thing, I may have deleted the contents of /usr/src/header while trying to delete that symbolic link you had me make earlier. I swore there was stuff in /header, but I dont see anything in there now. I ran rm -r /lib/modules/###/build which I thought should not touch anything past the link itself. If there is supposed to be stuff in there, can I get it back without reflashing?

                                tomT 1 Reply Last reply
                                0
                                • groupoG groupo

                                  @tom just apt update libqmi ? Again sorry, but I am not very familiar with linux.

                                  Another thing, I may have deleted the contents of /usr/src/header while trying to delete that symbolic link you had me make earlier. I swore there was stuff in /header, but I dont see anything in there now. I ran rm -r /lib/modules/###/build which I thought should not touch anything past the link itself. If there is supposed to be stuff in there, can I get it back without reflashing?

                                  tomT Offline
                                  tomT Offline
                                  tom
                                  admin
                                  wrote on last edited by
                                  #16

                                  @groupo I don't know of a way to get those files back without reflashing.

                                  I just checked and it doesn't seem like there's a newer version available via. apt with the repos currently on there.

                                  You may have to build and install it via. source

                                  groupoG 1 Reply Last reply
                                  0
                                  • tomT tom

                                    @groupo I don't know of a way to get those files back without reflashing.

                                    I just checked and it doesn't seem like there's a newer version available via. apt with the repos currently on there.

                                    You may have to build and install it via. source

                                    groupoG Offline
                                    groupoG Offline
                                    groupo
                                    Regular
                                    wrote on last edited by
                                    #17

                                    @tom I was just typing a msg up to relay apt isnt showing any of them available for updating. I will try to reflash.

                                    I need to be able to connect to a private LTE network (MCC-MNC 001-01) which, as far as I have read, the EM9291 does not natively search for. I've read you can issue AT commands to tweak how the modem operates but am at a standstill trying to either install drivers to enumerate ttyUSB0 or update qmicli to the newest version so that I can issue AT commands that way. I think reflashing is necessary to get those files back and reestablish some ground truth with my drone. I should be able to go through those directions on my own. After that, are you able to assist me with either of the two avenues I discussed? I am grossly unfamiliar with the platform's architecture, but if I could get you on even a short call I think it would greatly accelerate this process for the two of us.

                                    tomT 1 Reply Last reply
                                    0
                                    • groupoG groupo

                                      @tom I was just typing a msg up to relay apt isnt showing any of them available for updating. I will try to reflash.

                                      I need to be able to connect to a private LTE network (MCC-MNC 001-01) which, as far as I have read, the EM9291 does not natively search for. I've read you can issue AT commands to tweak how the modem operates but am at a standstill trying to either install drivers to enumerate ttyUSB0 or update qmicli to the newest version so that I can issue AT commands that way. I think reflashing is necessary to get those files back and reestablish some ground truth with my drone. I should be able to go through those directions on my own. After that, are you able to assist me with either of the two avenues I discussed? I am grossly unfamiliar with the platform's architecture, but if I could get you on even a short call I think it would greatly accelerate this process for the two of us.

                                      tomT Offline
                                      tomT Offline
                                      tom
                                      admin
                                      wrote on last edited by
                                      #18

                                      @groupo I can't provide a ton of help as I haven't tried it myself but you should be able to build and install a newer version of libqmi by following the instructions from here:

                                      Building libqmi 1.30 or earlier using GNU autotools

                                      How to build and install the libqmi library using GNU autotools.

                                      favicon

                                      (modemmanager.org)

                                      In terms of which AT commands are required to send I can't really help there, it may require reading through Sierra's AT command docs

                                      groupoG 2 Replies Last reply
                                      0
                                      • tomT tom

                                        @groupo I can't provide a ton of help as I haven't tried it myself but you should be able to build and install a newer version of libqmi by following the instructions from here:

                                        Building libqmi 1.30 or earlier using GNU autotools

                                        How to build and install the libqmi library using GNU autotools.

                                        favicon

                                        (modemmanager.org)

                                        In terms of which AT commands are required to send I can't really help there, it may require reading through Sierra's AT command docs

                                        groupoG Offline
                                        groupoG Offline
                                        groupo
                                        Regular
                                        wrote on last edited by
                                        #19

                                        @tom I am talking to a dev from Sierra Wireless who can help with the AT commands. there are some very useful forum posts there for connecting to 'test' LTE networks. I just need to send the AT commands to do so. I need your assistance in either installing that driver to enumerate the port or updating qmi. I will try to update qmi first, as that seems like the simpler approach. I need libqmi 1.34 which switched from GNU autotools to Meson. That means nothing to me, I will just follow the steps, more FYI

                                        1 Reply Last reply
                                        0
                                        • tomT tom

                                          @groupo I can't provide a ton of help as I haven't tried it myself but you should be able to build and install a newer version of libqmi by following the instructions from here:

                                          Building libqmi 1.30 or earlier using GNU autotools

                                          How to build and install the libqmi library using GNU autotools.

                                          favicon

                                          (modemmanager.org)

                                          In terms of which AT commands are required to send I can't really help there, it may require reading through Sierra's AT command docs

                                          groupoG Offline
                                          groupoG Offline
                                          groupo
                                          Regular
                                          wrote on last edited by groupo
                                          #20

                                          @tom need Meson to get newest libqmi. Tried installing that but ran into more errors, I hate feeling like I am asking to be spoonfed but I really could use some guided direction here - I am extremely out of my element

                                          tomT 1 Reply Last reply
                                          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
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          ModalAI
                                          Categories Recent Tags ModalAI.com Docs
                                          © 2026 ModalAI® · Accelerating autonomy for smaller, smarter, safer drones · Powered by NodeBB
                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Users
                                          • Groups