diff options
author | Milan Srdinko <msrdinko@alps.cz> | 2017-03-20 11:24:20 +0100 |
---|---|---|
committer | Milan Srdinko <msrdinko@alps.cz> | 2017-03-30 14:22:44 +0200 |
commit | 4aba5babd8d57944c2eb9604f6125249b3175445 (patch) | |
tree | 712e750d1570029f174ea885920c4a8e455b5e80 /app | |
parent | 3d17ff13b8a7fe9a2c60f815b1805ec619285b18 (diff) |
WiFi: Update comments for a functions
Doxygen comments are reworked to be more understandable, functions that
not API's marked as internal.
Change-Id: I649c930201147a1c13038e5c7289d02229807db7
Signed-off-by: Milan Srdinko <msrdinko@alps.cz>
Diffstat (limited to 'app')
-rw-r--r-- | app/wifi/Wifi.qml | 16 |
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 |