summaryrefslogtreecommitdiffstats
path: root/src/imports/wifi
diff options
context:
space:
mode:
authorGatis Paeglis <gatis.paeglis@theqtcompany.com>2015-02-02 10:51:22 +0100
committerGatis Paeglis <gatis.paeglis@theqtcompany.com>2015-02-09 13:27:14 +0200
commitcd677b247532305ca67b1459bafe74a19cead7ad (patch)
tree02a9771122fe9fa7326256fb2a44d7c15cec9dba /src/imports/wifi
parenta6176aedcfe6893c24f2f2975a6874273e9df15e (diff)
Add support for hidden SSIDs
Wifi access points may be configured not to broadcast its SSID, connecting to such networks requires a SSID-specific probe request. Add new property to WifiConfiguration for describing this type of networks. Change-Id: I068ac53936a860e3752e31b8151b87ba4308c510 Task-number: QTEE-816 Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
Diffstat (limited to 'src/imports/wifi')
-rw-r--r--src/imports/wifi/pluginmain.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/imports/wifi/pluginmain.cpp b/src/imports/wifi/pluginmain.cpp
index a778fa2..7d129d2 100644
--- a/src/imports/wifi/pluginmain.cpp
+++ b/src/imports/wifi/pluginmain.cpp
@@ -322,6 +322,15 @@ QT_BEGIN_NAMESPACE
WPA is used by default if property is not set, supported values are: WPA, WPA2, WEP, WPS.
*/
+/*!
+ \qmlproperty bool WifiConfiguration::ssidHidden
+
+ If a Wifi access point does not broadcast its SSID, setting this property
+ to \c true ensures that the Wifi backend can detect the specified network.
+
+ By default this property is set to \c false.
+*/
+
static QObject *globalWifiDevice(QQmlEngine *, QJSEngine *)
{
return new QWifiDevice;