Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Nodemcu Firmware
Commits
cceb770d
Commit
cceb770d
authored
May 05, 2017
by
Marcel Stör
Browse files
Add a few tiny corrections
parent
e491f4b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
docs/en/upload.md
View file @
cceb770d
...
...
@@ -64,7 +64,7 @@ wifi_connect_event = function(T)
end
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().
print
(
"Wifi connection is ready! IP address is: "
..
T
.
IP
)
print
(
"Startup will resume momentarily, you have 3 seconds to abort."
)
...
...
@@ -77,7 +77,7 @@ wifi_disconnect_event = function(T)
--the station has disassociated from a previously connected AP
return
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
print
(
"
\n
WiFi connection to AP("
..
T
.
SSID
..
") has failed!"
)
...
...
@@ -85,7 +85,7 @@ wifi_disconnect_event = function(T)
--the list and returns the string corresponding to the disconnect reason.
for
key
,
val
in
pairs
(
wifi
.
eventmon
.
reason
)
do
if
val
==
T
.
reason
then
print
(
"Disconnect reason:"
..
val
..
"("
..
key
..
")"
)
print
(
"Disconnect reason:
"
..
val
..
"("
..
key
..
")"
)
break
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment