1173 Public method to check the availability of WiFi. |
1174 Public method to check the availability of WiFi. |
1174 |
1175 |
1175 @return tuple containing a flag indicating the availability of WiFi |
1176 @return tuple containing a flag indicating the availability of WiFi |
1176 and the WiFi type (picow or pimoroni) |
1177 and the WiFi type (picow or pimoroni) |
1177 @rtype tuple of (bool, str) |
1178 @rtype tuple of (bool, str) |
1178 @exception OSError raised to indicate an issue with the device |
|
1179 """ |
1179 """ |
1180 return False, "" |
1180 return False, "" |
1181 |
1181 |
1182 def addDeviceWifiEntries(self, menu): |
1182 def addDeviceWifiEntries(self, menu): |
1183 """ |
1183 """ |
1188 """ |
1188 """ |
1189 pass |
1189 pass |
1190 |
1190 |
1191 def getWifiData(self): |
1191 def getWifiData(self): |
1192 """ |
1192 """ |
1193 Public method to get data related to the current WiFi status |
1193 Public method to get data related to the current WiFi status. |
1194 |
1194 |
1195 @return tuple of two dictionaries containing the WiFi status data |
1195 @return tuple of two dictionaries containing the WiFi status data |
1196 for the WiFi client and access point |
1196 for the WiFi client and access point |
1197 @rtype tuple of (dict, dict) |
1197 @rtype tuple of (dict, dict) |
1198 """ |
1198 """ |