Navigation

    UBports Robot Logo

    UBports Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Mobile Connection on/off from command

    App Development
    2
    3
    299
    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

      advocatux 1 Reply Last reply Reply Quote 0
      • advocatux
        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