UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Mobile Connection on/off from command

    Scheduled Pinned Locked Moved App Development
    3 Posts 2 Posters 505 Views 1 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.
      • W Offline
        Walmar
        last edited by

        Hi
        Is there a way to switch mobile data connection on/off from command or python code. Like with a usb modem and ttyUSB and wvdial.
        Thanks

        advocatuxA 1 Reply Last reply Reply Quote 0
        • advocatuxA Offline
          advocatux @Walmar
          last edited by

          @walmar yes, you can use rfkill

          1 Reply Last reply Reply Quote 0
          • W Offline
            Walmar
            last edited by

            will try , Thanks

            1 Reply Last reply Reply Quote 1
            • First post
              Last post