summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>2017-04-03 21:19:17 +0000
committerGerrit Code Review <gerrit@automotivelinux.org>2017-04-03 21:19:17 +0000
commit995e8849bab77d5d671eb018df61961f3842b570 (patch)
treec3d2b1ab7aaaa3c0ad28c7a6a659425baec358d8 /app
parent56ecdbeea02933bfe539a0921f531093e9240f3a (diff)
parent4aba5babd8d57944c2eb9604f6125249b3175445 (diff)
Merge "WiFi: Update comments for a functions"
Diffstat (limited to 'app')
-rw-r--r--app/wifi/Wifi.qml16
1 files changed, 8 insertions, 8 deletions
diff --git a/app/wifi/Wifi.qml b/app/wifi/Wifi.qml
index f3871a6..b4e3357 100644
--- a/app/wifi/Wifi.qml
+++ b/app/wifi/Wifi.qml
@@ -78,7 +78,7 @@ SettingPage {
sendSocketMesage(verb_str, parameterJson)
}
- else if (eventContent.event === "wifi-manager/passwordQuery") {
+ else if (eventContent.event === "wifi-manager/passkeyQuery") {
console.debug("Event data:" + eventContent.data.data1 + ", " + eventContent.data.data2 )
console.log("Passkey requested")
@@ -155,11 +155,11 @@ SettingPage {
sendSocketMesage(verb_str, parameterJson)
- //password required event
+ //passkey required event
verb_str = "eventadd"
parameterJson = {
- tag: 'password',
- name: 'passwordQuery'
+ tag: 'passkey',
+ name: 'passkeyQuery'
}
sendSocketMesage(verb_str, parameterJson)
@@ -167,7 +167,7 @@ SettingPage {
//TODO: send this ONLY when OK response is received
verb_str = "eventsub"
parameterJson = {
- tag: 'password'
+ tag: 'passkey'
}
sendSocketMesage(verb_str, parameterJson)
@@ -211,13 +211,13 @@ SettingPage {
verb_str = "eventunsub"
parameterJson = {
- tag: 'password'
+ tag: 'passkey'
}
sendSocketMesage(verb_str, parameterJson)
verb_str = "eventdel"
parameterJson = {
- tag: 'password'
+ tag: 'passkey'
}
sendSocketMesage(verb_str, parameterJson)
@@ -418,7 +418,7 @@ SettingPage {
var passkey = password.text
console.log("Validating", passkey)
- //just send the password, binder is waiting for it
+ //just send the passkey, binder is waiting for it
verb_str = "insertpasskey"
var parameterJson = {
passkey: passkey