From 38846ea68bb270ca9769c35f5373d828847e4c9b Mon Sep 17 00:00:00 2001 From: Elijah Parker Date: Mon, 5 Dec 2016 15:42:53 -0600 Subject: [PATCH] added alert for failed wifi --- main.js | 1 + 1 file changed, 1 insertion(+) diff --git a/main.js b/main.js index 63069376e..61cd95f90 100644 --- a/main.js +++ b/main.js @@ -197,6 +197,7 @@ if (VIEW_HARDWARE) { var currentTime = wifiConnectionTime = new Date().getTime(); if(currentTime - wifiConnectionTime < 30 * 1000) { // show alert -- authentication probably failed + ui.alert('Error', "WiFi failed to connect to " + previousConnection.ssid + ".\nTry again, double-checking that the password is correct.\nNote: if it continues to fail to connect, try a different access point if possible. There might be an issue with connection to Apple Airport wireless routers. This will hopefully be resolved in the near future."); } else { wifiConnectionTime = new Date().getTime(); wifi.disable(function(){