MCPcopy Create free account
hub / github.com/AstroPrint/AstroBox / getWifiNetworks

Method getWifiNetworks

src/astroprint/network/mac_dev.py:82–88  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

80 return True
81
82 def getWifiNetworks(self):
83 return [
84 {"id": "80:1F:02:F9:16:1B", "name": "Secured Network", "secured": True, "signal": 80, "wep": False},
85 {"id": "90:1F:02:F9:16:1C", "name": "Open Network", "secured": False, "signal": 78, "wep": False},
86 {"id": "74:DA:38:88:51:90", "name": "WEP Network", "secured": True, "signal": 59, "wep": True},
87 {"id": "C0:7B:BC:1A:5C:81", "name": "Open Failed", "secured": False, "signal": 37, "wep": False}
88 ]
89
90 def setWifiNetwork(self, bssid, password):
91 for n in self.getWifiNetworks():

Callers 2

__init__Method · 0.95
setWifiNetworkMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected