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. Possible [minor] issue with voxl-modem-start.sh...

Possible [minor] issue with voxl-modem-start.sh...

Scheduled Pinned Locked Moved Ask your questions right here!
2 Posts 2 Posters 442 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.
  • Ed SutterE Offline
    Ed SutterE Offline
    Ed Sutter
    Regular
    wrote on last edited by
    #1

    Hi,
    I am working on getting a USB-LTE modem working on Voxl1 Flight Deck, and noticed what I think is a very minor issue with the voxl-modem-start.sh script...

    Near the bottom of the script it appears that for V1, V2 and quectel modems, the script goes into an endless loop waiting for a successful return of a modem-specific script. Using V2 as the example (note I inserted fake line numbers for reference)...

    001:  # Loop forever trying to get the cellular link up.
    002: echo "forever loop..." >>/tmp/foo
    003: echo -e "\nInitalizing cellular connection..."
    004: rc=1
    005: while [ $rc -ne 0 ]; do
    006:     sierra.py
    007:     rc=$?
    008:     if [[ $rc -eq 0 ]]; then
    009:         exit $rc
    010:     fi
    011:     sleep 1
    012: done
    013: echo -e "\nCellular connection complete."
    

    Shouldn't line 013 actually be inserted betwen 008 and 009?

    1 Reply Last reply
    0
    • tomT Offline
      tomT Offline
      tom
      admin
      wrote on last edited by
      #2

      @Ed-Sutter Good catch, does look like that print statement is never reached, I'll move it to the correct location to avoid future confusion.

      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

      • Don't have an account? Register

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