ModalAI Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

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

    Support Request Format for Best Results
    testsim
    3
    14
    249
    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.
    • R
      RSAUser1
      last edited by

      How do we activate voxl_modem? We see enabled but not running. used systemctl enable voxl-modem
      When going through setup process voxl-configure-modem, we pick 1(V2) 2 (no modallink) and 7 (for custom), we then enter our APN. We get a response of waiting for ttyUSB2 then it gets hung up.

      We have been trying to search if there is an issue with USB2, here were some steps we tried on powershell
      d652cc1e-da32-4182-a86f-e6a6fa6a3c82-image.png
      b57c73ea-172e-4393-804a-ab852f0fe359-image.png

      Any idea for getting this modem activated? The drone is using the Sierra wireless 5G EM9091 modem.

      tomT 1 Reply Last reply Reply Quote 0
      • tomT
        tom admin @RSAUser1
        last edited by

        @RSAUser1 You'll want to run voxl-configure-modem and select em9191, say no to ModalLink and then select/enter your SIM card's APN

        R 1 Reply Last reply Reply Quote 0
        • R
          RSAUser1 @tom
          last edited by

          @tom Sorry I had a typo we are using the EM9291 5G modem
          but it looks like choosing em9191 did what the documentation showed, got confused when it stated us v2 for sierra wireless board. Thanks!
          The does show as active now. but does state ''still waiting on WWAN0 to start up''
          We still arent seeing an RF or messages back in response to a DL signal from the Base station ( which sends MIB1 and SIB1), any insight to why that might be happening?
          We are trying to connect on n14 which is shown as a supported NR band. Is modem locked to any specific carrier or does 'custom' option change anything that's supported?

          groupoG 1 Reply Last reply Reply Quote 0
          • groupoG
            groupo @RSAUser1
            last edited by

            @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

            https://forum.modalai.com/post/19131

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

            groupoG R 2 Replies Last reply Reply Quote 0
            • groupoG
              groupo @groupo
              last edited by

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

              1 Reply Last reply Reply Quote 0
              • R
                RSAUser1 @groupo
                last edited by

                @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 Reply Quote 0
                • R
                  RSAUser1 @RSAUser1
                  last edited by

                  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 Reply Quote 0
                  • groupoG
                    groupo @RSAUser1
                    last edited by

                    @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 Reply Quote 0
                    • groupoG
                      groupo @RSAUser1
                      last edited by

                      @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 Reply Quote 1
                      • R
                        RSAUser1 @groupo
                        last edited by

                        @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 Reply Quote 0
                        • groupoG
                          groupo @RSAUser1
                          last edited by

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

                          R 1 Reply Last reply Reply Quote 0
                          • R
                            RSAUser1 @groupo
                            last edited by 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 1 Reply Last reply Reply Quote 0
                            • R
                              RSAUser1 @RSAUser1
                              last edited by 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 1 Reply Last reply Reply Quote 0
                              • groupoG
                                groupo @RSAUser1
                                last edited by

                                @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 Reply Quote 1
                                • First post
                                  Last post
                                Powered by NodeBB | Contributors