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

ModalAI Forum

  1. ModalAI Support Forum
  2. Ask your questions right here!
  3. Support Request Format for Best Results
  4. How to use test SIM to connect to a 5G test network. VOXL2 drone platform

How to use test SIM to connect to a 5G test network. VOXL2 drone platform

Scheduled Pinned Locked Moved Support Request Format for Best Results
testsim
14 Posts 3 Posters 2.2k Views 2 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 groupo

    @RSAUser1 you may want to query the modem more directly with AT commands to confirm it can 1) see your BTS 2) is able to connect on that band (it should be available on all bands by default but doesnt hurt to check)

    ModalAI hasnt seemed to implement AT commands w/ the EM9291 yet but I posted a way to do it here

    Link Preview Image
    Monitor Sierra Wireless 5G signal?

    @Thomas-Eiszler Hey Thomas I will save you some time I ran into this issue within the past few months as well. I believe Modal AI is using drivers that pred...

    favicon

    ModalAI Forum (forum.modalai.com)

    There is a reference guide on AT commands on the Sierra Wireless website. "AT+COPS=?" would probably be a good starting point

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

    @tom Any idea when AT commands to the EM9291 will be supported by VOXL SDK?

    1 Reply Last reply
    0
    • groupoG groupo

      @RSAUser1 you may want to query the modem more directly with AT commands to confirm it can 1) see your BTS 2) is able to connect on that band (it should be available on all bands by default but doesnt hurt to check)

      ModalAI hasnt seemed to implement AT commands w/ the EM9291 yet but I posted a way to do it here

      Link Preview Image
      Monitor Sierra Wireless 5G signal?

      @Thomas-Eiszler Hey Thomas I will save you some time I ran into this issue within the past few months as well. I believe Modal AI is using drivers that pred...

      favicon

      ModalAI Forum (forum.modalai.com)

      There is a reference guide on AT commands on the Sierra Wireless website. "AT+COPS=?" would probably be a good starting point

      R Offline
      R Offline
      RSAUser1
      Contributor
      wrote on last edited by
      #6

      @groupo Thanks for the information.
      When I follow your other post starting with lsusb I do not see a sierra wireless interface? Do I need to access through one of the debugging ports on the side, instead of the main USB-type C?
      Here is what lsusb returned:
      voxl2:/$ lsusb
      Bus 002 Device 002: ID 0424:5744 Standard Microsystems Corp.
      Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
      Bus 001 Device 004: ID 0424:2740 Standard Microsystems Corp.
      Bus 001 Device 003: ID 0bda:0811 Realtek Semiconductor Corp.
      Bus 001 Device 002: ID 0424:2744 Standard Microsystems Corp.
      Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

      R groupoG 2 Replies Last reply
      0
      • R RSAUser1

        @groupo Thanks for the information.
        When I follow your other post starting with lsusb I do not see a sierra wireless interface? Do I need to access through one of the debugging ports on the side, instead of the main USB-type C?
        Here is what lsusb returned:
        voxl2:/$ lsusb
        Bus 002 Device 002: ID 0424:5744 Standard Microsystems Corp.
        Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
        Bus 001 Device 004: ID 0424:2740 Standard Microsystems Corp.
        Bus 001 Device 003: ID 0bda:0811 Realtek Semiconductor Corp.
        Bus 001 Device 002: ID 0424:2744 Standard Microsystems Corp.
        Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

        R Offline
        R Offline
        RSAUser1
        Contributor
        wrote on last edited by
        #7

        So one thing I forgot to mention is we installed the sierra wireless drivers SDX65 on their website but we still arent seeing a modem in device manager as noted in the EM9291 user guide (when connecting USB C there should be QC in ports and Sierra wireless in modems):
        264bcd5f-ec98-493d-9a0a-2f2e6be9f8c7-image.png

        groupoG 1 Reply Last reply
        0
        • R RSAUser1

          @groupo Thanks for the information.
          When I follow your other post starting with lsusb I do not see a sierra wireless interface? Do I need to access through one of the debugging ports on the side, instead of the main USB-type C?
          Here is what lsusb returned:
          voxl2:/$ lsusb
          Bus 002 Device 002: ID 0424:5744 Standard Microsystems Corp.
          Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
          Bus 001 Device 004: ID 0424:2740 Standard Microsystems Corp.
          Bus 001 Device 003: ID 0bda:0811 Realtek Semiconductor Corp.
          Bus 001 Device 002: ID 0424:2744 Standard Microsystems Corp.
          Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

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

          @RSAUser1 That is interesting. No, I don't think so. Here is something that got me. You have to unscrew the modem board to put the SIM in on the underbelly. Did you screw it back on fully? I had not and it took embarrassingly long to realize (Tom told me). Make you you screw it back down so it connects properly. I don't see your WIFI dongle either (if you have one). That also would be knocked offline if the modem board wasnt connected properly (at least for me that was the case)

          R 1 Reply Last reply
          0
          • R RSAUser1

            So one thing I forgot to mention is we installed the sierra wireless drivers SDX65 on their website but we still arent seeing a modem in device manager as noted in the EM9291 user guide (when connecting USB C there should be QC in ports and Sierra wireless in modems):
            264bcd5f-ec98-493d-9a0a-2f2e6be9f8c7-image.png

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

            @RSAUser1 you should not need to download any drivers to do the steps I listed, in fact I almost advise against it unless you know what you're doing. I certainly didn't and still don't. I found my workaround much easier. The idea of outdated drivers is a theory I have, but modalAI never confirmed if that was the case. Probably @tom or Travis could speak more to that

            1 Reply Last reply
            1
            • groupoG groupo

              @RSAUser1 That is interesting. No, I don't think so. Here is something that got me. You have to unscrew the modem board to put the SIM in on the underbelly. Did you screw it back on fully? I had not and it took embarrassingly long to realize (Tom told me). Make you you screw it back down so it connects properly. I don't see your WIFI dongle either (if you have one). That also would be knocked offline if the modem board wasnt connected properly (at least for me that was the case)

              R Offline
              R Offline
              RSAUser1
              Contributor
              wrote on last edited by
              #10

              @groupo Wow, trying to save time since I need to remove the SIM after I validate this connecting. Thanks, I was thinking since we were talking to it all was good. Getting some errors when doing status voxl-modem but believe thats because we have a test SIM and it cant connect to a live network.
              Mar 02 12:59:53 m0054 voxl-modem-start[1854]: Service: 'wds'

                 Mar 02 12:59:53 m0054 voxl-modem-start[1854]:             CID: '102'
                 
                 Mar 02 12:59:53 m0054 voxl-modem-start[1854]: Error detected! Retrying...
                 
                 Mar 02 12:59:54 m0054 voxl-modem-start[1854]: error: couldn't start network: QMI protocol error (14): 'CallFailed'
                 
                 Mar 02 12:59:54 m0054 voxl-modem-start[1854]: call end reason (3): generic-no-service
                 
                 Mar 02 12:59:54 m0054 voxl-modem-start[1854]: verbose call end reason (3,2001): [cm] no-service
                 
                 Mar 02 12:59:54 m0054 voxl-modem-start[1854]: [/dev/cdc-wdm0] Client ID not released:
                 
                 Mar 02 12:59:54 m0054 voxl-modem-start[1854]:         Service: 'wds'
                 
                 Mar 02 12:59:54 m0054 voxl-modem-start[1854]:             CID: '103'
                 
                 Mar 02 12:59:54 m0054 voxl-modem-start[1854]: Error detected! Retrying...
              

              Going to see if we setup our BS emulator

              groupoG 1 Reply Last reply
              0
              • R RSAUser1

                @groupo Wow, trying to save time since I need to remove the SIM after I validate this connecting. Thanks, I was thinking since we were talking to it all was good. Getting some errors when doing status voxl-modem but believe thats because we have a test SIM and it cant connect to a live network.
                Mar 02 12:59:53 m0054 voxl-modem-start[1854]: Service: 'wds'

                   Mar 02 12:59:53 m0054 voxl-modem-start[1854]:             CID: '102'
                   
                   Mar 02 12:59:53 m0054 voxl-modem-start[1854]: Error detected! Retrying...
                   
                   Mar 02 12:59:54 m0054 voxl-modem-start[1854]: error: couldn't start network: QMI protocol error (14): 'CallFailed'
                   
                   Mar 02 12:59:54 m0054 voxl-modem-start[1854]: call end reason (3): generic-no-service
                   
                   Mar 02 12:59:54 m0054 voxl-modem-start[1854]: verbose call end reason (3,2001): [cm] no-service
                   
                   Mar 02 12:59:54 m0054 voxl-modem-start[1854]: [/dev/cdc-wdm0] Client ID not released:
                   
                   Mar 02 12:59:54 m0054 voxl-modem-start[1854]:         Service: 'wds'
                   
                   Mar 02 12:59:54 m0054 voxl-modem-start[1854]:             CID: '103'
                   
                   Mar 02 12:59:54 m0054 voxl-modem-start[1854]: Error detected! Retrying...
                

                Going to see if we setup our BS emulator

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

                @RSAUser1 glad its working! You can use AT commands to confirm you can 'see' your network too

                R 1 Reply Last reply
                0
                • groupoG groupo

                  @RSAUser1 glad its working! You can use AT commands to confirm you can 'see' your network too

                  R Offline
                  R Offline
                  RSAUser1
                  Contributor
                  wrote on last edited by RSAUser1
                  #12

                  @groupo THanks for your help! One strange thing is that I still don't have the modem listed in my PCs device manager. Still waiting on my emulator to become available to test if we see the 5G broadcast.

                  Seems like some part of the modem is still not reachable, as I it still cant communicate QMI device which is part of modem @tom have you seen this issue before?

                  R 1 Reply Last reply
                  0
                  • R RSAUser1

                    @groupo THanks for your help! One strange thing is that I still don't have the modem listed in my PCs device manager. Still waiting on my emulator to become available to test if we see the 5G broadcast.

                    Seems like some part of the modem is still not reachable, as I it still cant communicate QMI device which is part of modem @tom have you seen this issue before?

                    R Offline
                    R Offline
                    RSAUser1
                    Contributor
                    wrote on last edited by RSAUser1
                    #13

                    Could something still not be seated properly or maybe a cable has come lose,?
                    voxl2:/$ systemctl status voxl-modem
                    ● voxl-modem.service - Modem Initialization
                    Loaded: loaded (/etc/systemd/system/voxl-modem.service; enabled; vendor preset: enabled)
                    Active: active (running) since Thu 2023-03-02 12:58:06 UTC; 31s ago
                    Process: 1263 ExecStartPre=/bin/sleep 2 (code=exited, status=0/SUCCESS)
                    Main PID: 1861 (voxl-modem-star)
                    Tasks: 7 (limit: 4915)
                    CGroup: /system.slice/voxl-modem.service
                    ├─1861 /bin/bash /usr/bin/voxl-modem-start
                    ├─2144 /usr/lib/libmbim/mbim-proxy

                           ******************└─2208 qmicli --device=/dev/cdc-wdm0 --device-open-proxy --wds-start-network=ip-type=4,apn=cmx500.rohde-schwa
                    

                    Mar 02 12:58:14 m0054 voxl-modem-start[1861]: Waiting for wwan0 to come up...**
                    Mar 02 12:58:15 m0054 voxl-modem-start[1861]: Waiting for wwan0 to come up...
                    Mar 02 12:58:16 m0054 voxl-modem-start[1861]: Waiting for wwan0 to come up...
                    Mar 02 12:58:17 m0054 voxl-modem-start[1861]: Waiting for wwan0 to come up...
                    Mar 02 12:58:18 m0054 voxl-modem-start[1861]: Waiting for wwan0 to come up...
                    Mar 02 12:58:19 m0054 voxl-modem-start[1861]: wwan0 is up!
                    Mar 02 12:58:19 m0054 voxl-modem-start[1861]: Sierra detected!
                    Mar 02 12:58:20 m0054 voxl-modem-start[1861]: Starting qmi network...
                    Mar 02 12:58:35 m0054 voxl-modem-start[1861]: error: couldn't open the QmiDevice: Transaction timed out
                    Mar 02 12:58:35 m0054 voxl-modem-start[1861]: Error detected! Retrying...****************

                    Then sometimes it will give 'error: couldn't create client for the 'wds' service: QMI protocol error (5)'

                    groupoG 1 Reply Last reply
                    0
                    • R RSAUser1

                      Could something still not be seated properly or maybe a cable has come lose,?
                      voxl2:/$ systemctl status voxl-modem
                      ● voxl-modem.service - Modem Initialization
                      Loaded: loaded (/etc/systemd/system/voxl-modem.service; enabled; vendor preset: enabled)
                      Active: active (running) since Thu 2023-03-02 12:58:06 UTC; 31s ago
                      Process: 1263 ExecStartPre=/bin/sleep 2 (code=exited, status=0/SUCCESS)
                      Main PID: 1861 (voxl-modem-star)
                      Tasks: 7 (limit: 4915)
                      CGroup: /system.slice/voxl-modem.service
                      ├─1861 /bin/bash /usr/bin/voxl-modem-start
                      ├─2144 /usr/lib/libmbim/mbim-proxy

                             ******************└─2208 qmicli --device=/dev/cdc-wdm0 --device-open-proxy --wds-start-network=ip-type=4,apn=cmx500.rohde-schwa
                      

                      Mar 02 12:58:14 m0054 voxl-modem-start[1861]: Waiting for wwan0 to come up...**
                      Mar 02 12:58:15 m0054 voxl-modem-start[1861]: Waiting for wwan0 to come up...
                      Mar 02 12:58:16 m0054 voxl-modem-start[1861]: Waiting for wwan0 to come up...
                      Mar 02 12:58:17 m0054 voxl-modem-start[1861]: Waiting for wwan0 to come up...
                      Mar 02 12:58:18 m0054 voxl-modem-start[1861]: Waiting for wwan0 to come up...
                      Mar 02 12:58:19 m0054 voxl-modem-start[1861]: wwan0 is up!
                      Mar 02 12:58:19 m0054 voxl-modem-start[1861]: Sierra detected!
                      Mar 02 12:58:20 m0054 voxl-modem-start[1861]: Starting qmi network...
                      Mar 02 12:58:35 m0054 voxl-modem-start[1861]: error: couldn't open the QmiDevice: Transaction timed out
                      Mar 02 12:58:35 m0054 voxl-modem-start[1861]: Error detected! Retrying...****************

                      Then sometimes it will give 'error: couldn't create client for the 'wds' service: QMI protocol error (5)'

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

                      @RSAUser1 yeah i'd probably pass to @tom . The modem is seems connected, otherwise you wouldnt see wwan0 come up. Once I had access to AT commands I ditched QMI which I think is more or less a wrapper for those commands anyway.

                      1 Reply Last reply
                      1

                      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

                      • Don't have an account? Register

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