Commit cceb770d authored by Marcel Stör's avatar Marcel Stör
Browse files

Add a few tiny corrections

parent e491f4b7
...@@ -64,7 +64,7 @@ wifi_connect_event = function(T) ...@@ -64,7 +64,7 @@ wifi_connect_event = function(T)
end end
wifi_got_ip_event = function(T) wifi_got_ip_event = function(T)
-- Note: Having an ip address does not mean there is internet access! -- Note: Having an IP address does not mean there is internet access!
-- Internet connectivity can be determined with net.dns.resolve(). -- Internet connectivity can be determined with net.dns.resolve().
print("Wifi connection is ready! IP address is: "..T.IP) print("Wifi connection is ready! IP address is: "..T.IP)
print("Startup will resume momentarily, you have 3 seconds to abort.") print("Startup will resume momentarily, you have 3 seconds to abort.")
...@@ -77,7 +77,7 @@ wifi_disconnect_event = function(T) ...@@ -77,7 +77,7 @@ wifi_disconnect_event = function(T)
--the station has disassociated from a previously connected AP --the station has disassociated from a previously connected AP
return return
end end
-- total_tries: how many times the station will attempt to connect to the AP. -- total_tries: how many times the station will attempt to connect to the AP. Should consider AP reboot duration.
local total_tries = 75 local total_tries = 75
print("\nWiFi connection to AP("..T.SSID..") has failed!") print("\nWiFi connection to AP("..T.SSID..") has failed!")
...@@ -85,7 +85,7 @@ wifi_disconnect_event = function(T) ...@@ -85,7 +85,7 @@ wifi_disconnect_event = function(T)
--the list and returns the string corresponding to the disconnect reason. --the list and returns the string corresponding to the disconnect reason.
for key,val in pairs(wifi.eventmon.reason) do for key,val in pairs(wifi.eventmon.reason) do
if val == T.reason then if val == T.reason then
print("Disconnect reason:"..val.."("..key..")") print("Disconnect reason: "..val.."("..key..")")
break break
end end
end end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment