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

    Mobile Connection on/off from command

    App Development
    2
    3
    373
    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
      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
        advocatux @Walmar
        last edited by

        @walmar yes, you can use rfkill

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

          will try , Thanks

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