1799 for the WiFi client, access point and overall data |
1799 for the WiFi client, access point and overall data |
1800 @rtype tuple of (dict, dict, dict) |
1800 @rtype tuple of (dict, dict, dict) |
1801 """ |
1801 """ |
1802 return {}, {}, {} |
1802 return {}, {}, {} |
1803 |
1803 |
1804 def connectWifi(self, ssid, password, hostname): # noqa: U-100 |
1804 def connectWifi(self, ssid, password, hostname, country=""): # noqa: U-100 |
1805 """ |
1805 """ |
1806 Public method to connect a device to a WiFi network. |
1806 Public method to connect a device to a WiFi network. |
1807 |
1807 |
1808 @param ssid name (SSID) of the WiFi network (unused) |
1808 @param ssid name (SSID) of the WiFi network (unused) |
1809 @type str |
1809 @type str |
1810 @param password password needed to connect (unused) |
1810 @param password password needed to connect (unused) |
1811 @type str |
1811 @type str |
1812 @param hostname host name of the device (unused) |
1812 @param hostname host name of the device (unused) |
|
1813 @type str |
|
1814 @param country WiFi country code |
1813 @type str |
1815 @type str |
1814 @return tuple containing the connection status and an error string |
1816 @return tuple containing the connection status and an error string |
1815 @rtype tuple of (bool, str) |
1817 @rtype tuple of (bool, str) |
1816 """ |
1818 """ |
1817 return False, self.tr("Operation not supported.") |
1819 return False, self.tr("Operation not supported.") |