summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsrimaldia <hariasti.srimaldia-1@jp.alps.com>2016-12-24 07:28:04 +0900
committersrimaldia <hariasti.srimaldia-1@jp.alps.com>2016-12-24 07:28:04 +0900
commit1877aaf4b0b567ec4a23f5f1f85a82ad85276137 (patch)
tree2e9136ccc827326bbbc8063fc7a8d53bc6a76124
parenta0a4afb1f26bf6d8c75e7f4907dd6c3b0771b0f6 (diff)
Add connect command after set passkey
This modification is made to complete connection procedure to secured AP after set passkey. Signed-off-by: srimaldia <hariasti.srimaldia-1@jp.alps.com>
-rw-r--r--app/wifi/Wifi.qml10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/wifi/Wifi.qml b/app/wifi/Wifi.qml
index dcde6ed..66ee2c2 100644
--- a/app/wifi/Wifi.qml
+++ b/app/wifi/Wifi.qml
@@ -216,6 +216,15 @@ SettingPage {
//showRequestInfo(o.responseText)
console.log(o.responseText)
})
+
+ request(wifiAPIpath + 'connect?network=' + view.currentIndex,
+ function (o) {
+
+ // log the json response
+ //showRequestInfo(o.responseText)
+ console.log(o.responseText)
+ })
+
dialog.visible = false
}
}
@@ -268,3 +277,4 @@ SettingPage {
}
}
}
+