Couldn't toggle airplane mode with ADB Wifi

72 views
Skip to first unread message

Chris Bottomley

unread,
Apr 2, 2021, 1:53:53 PM4/2/21
to Tasker
I have a simple task setup to turn Airplane mode one, delay 10 seconds, turn Airplane mode off, delay 3 minutes and then repeat.

It will work fine, but then randomly encounter this error:

20210402_184034.jpg
It can hit this error on the first run, or the twentieth, seemingly at random.

I have the phone tethered to my PC, am essentially trying to achieve a connection that has it's IP changed every 3 minutes.

Any ideas? Have searched about, found only questions without answers.

João Dias

unread,
Apr 6, 2021, 9:22:15 AM4/6/21
to tas...@googlegroups.com
Hi. That happens if the command line doesn't return the expected result. I don't get that issue on my devices... Does it sometimes error out only to run correctly right afterwards? Maybe you could try running it in a loop until it doesn't error out anymore (with a max number of retries just to be safe)?

Thank you for your contact.

   Join: connect multiple devices (send pushes, remote SMS, notifications) on Android, Windows, Mac, Linux
   Tasker: customize/automate anything on your phone!
   AutoApps: add advanced functionality to Tasker via plugins

     

João Dias


Reply all
Reply to author
Forward
0 new messages