androidadbwifimanagertethering

How to find the WiFi tethering state through ADB?


I was just wondering how to find the state of Wifi tethering through ADB.

Although, there are some options to find the state through WifiManager() as described in this answer, I just want to know if its possible through ADB?


Solution

  • you can use adb shell dumpsys wifi and search for curState=TetheredState to check wifi tethering is enabled.