summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>2016-12-24 21:29:31 +0000
committerGerrit Code Review <gerrit@automotivelinux.org>2016-12-24 21:29:31 +0000
commit0b6cd29fb769189f7a1ff3a7703a380fc4972d23 (patch)
tree584d6de8f57f765bf25687d99653137d766efac8
parent99e63c9d4bed471e9ed9d4205c7c09d101644ce1 (diff)
parent1877aaf4b0b567ec4a23f5f1f85a82ad85276137 (diff)
Merge "Add connect command after set passkey"
-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 2215de9..52cd44d 100644
--- a/app/wifi/Wifi.qml
+++ b/app/wifi/Wifi.qml
@@ -223,6 +223,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
}
}
@@ -275,3 +284,4 @@ SettingPage {
}
}
}
+