We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c0ae35 commit 8f17d80Copy full SHA for 8f17d80
examples/ssids.py
@@ -0,0 +1,11 @@
1
+"""
2
+Display all visible SSIDs
3
4
+
5
+import NetworkManager
6
7
+for dev in NetworkManager.NetworkManager.GetDevices():
8
+ if dev.DeviceType != NetworkManager.NM_DEVICE_TYPE_WIFI:
9
+ continue
10
+ for ap in dev.SpecificDevice().GetAccessPoints():
11
+ print '%-30s %dMHz %d%%' % (ap.Ssid, ap.Frequency, ap.Strength)
0 commit comments