使用ADB获取已配置的wifi [英] Get configured wifis with ADB

查看:1125
本文介绍了使用ADB获取已配置的wifi的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以通过ADB从Android(非rooted)设备中获取已配置的WiFi-SSIDS?此功能应独立于WiFi开/关状态而工作。

Is there a way to get the configured WiFi-SSIDS from an Android (not rooted) device via ADB? This should be working independant from the WiFi on/off state.

谢谢

推荐答案

最后发现

adb shell dumpsys wifi | grep -i ssid

提供已配置的wifi

gives the configured wifis

编辑::仅当启用wifi时

Only if wifi is enabled

这篇关于使用ADB获取已配置的wifi的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆