|
|
|
@ -15,9 +15,9 @@ function getStatus() { |
|
|
|
|
$("#status").innerHTML="Connecting..."; |
|
|
|
|
window.setTimeout(getStatus, 1000); |
|
|
|
|
} else if (data.status=="got IP address") { |
|
|
|
|
$("#status").innerHTML="Connected! Got IP "+data.ip+ |
|
|
|
|
". If you're in the same network, you can access it <a href=\"http://"+data.ip+ |
|
|
|
|
"/\">here</a>."; |
|
|
|
|
$("#status").innerHTML="Connected! Got IP "+data.ip+ ".<br/>" + |
|
|
|
|
"If you're in the same network, you can access it <a href=\"http://"+data.ip+ |
|
|
|
|
"/\">here</a>.<br/>ESP Link will switch to STA-only mode in a few seconds."; |
|
|
|
|
} else { |
|
|
|
|
$("#status").innerHTML="Oops: " + data.status + ". Reason: " + data.reason + |
|
|
|
|
"<br/>Check password and selected AP.<br/><a href=\"wifi.tpl\">Go Back</a>"; |
|
|
|
|