src/eric7/MicroPython/WifiDialogs/WifiController.py

branch
mpy_network
changeset 9798
4402d76c5fa9
parent 9797
3be7b2326e2c
child 9868
467288cffee2
equal deleted inserted replaced
9797:3be7b2326e2c 9798:4402d76c5fa9
84 Private slot to show a dialog with the WiFi status of the current device. 84 Private slot to show a dialog with the WiFi status of the current device.
85 """ 85 """
86 from .WifiStatusDialog import WifiStatusDialog 86 from .WifiStatusDialog import WifiStatusDialog
87 87
88 try: 88 try:
89 clientStatus, apStatus = self.__mpy.getDevice().getWifiData() 89 clientStatus, apStatus, overallStatus = self.__mpy.getDevice().getWifiData()
90 90
91 dlg = WifiStatusDialog(clientStatus, apStatus) 91 dlg = WifiStatusDialog(clientStatus, apStatus, overallStatus)
92 dlg.exec() 92 dlg.exec()
93 except Exception as exc: 93 except Exception as exc:
94 self.__mpy.showError("getWifiData()", str(exc)) 94 self.__mpy.showError("getWifiData()", str(exc))
95 95
96 @pyqtSlot() 96 @pyqtSlot()

eric ide

mercurial