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
fd8181d7
Unverified
Commit
fd8181d7
authored
Jul 08, 2018
by
Terry Ellison
Committed by
GitHub
Jul 08, 2018
Browse files
Merge pull request #2421 from jedrzejj/dev
Fixed missing wifi module name.
parents
790adedc
46236dd0
Changes
1
Hide whitespace changes
Inline
Side-by-side
lua_examples/telnet/telnet.lua
View file @
fd8181d7
...
@@ -144,7 +144,7 @@ return {
...
@@ -144,7 +144,7 @@ return {
wifi
.
sta
.
config
{
ssid
=
ssid
,
pwd
=
pwd
,
save
=
false
}
wifi
.
sta
.
config
{
ssid
=
ssid
,
pwd
=
pwd
,
save
=
false
}
end
end
tmr
.
alarm
(
0
,
500
,
tmr
.
ALARM_AUTO
,
function
()
tmr
.
alarm
(
0
,
500
,
tmr
.
ALARM_AUTO
,
function
()
if
(
sta
.
status
()
==
wifi
.
STA_GOTIP
)
then
if
(
wifi
.
sta
.
status
()
==
wifi
.
STA_GOTIP
)
then
tmr
.
unregister
(
0
)
tmr
.
unregister
(
0
)
print
(
"Welcome to NodeMCU world"
,
node
.
heap
(),
wifi
.
sta
.
getip
())
print
(
"Welcome to NodeMCU world"
,
node
.
heap
(),
wifi
.
sta
.
getip
())
net
.
createServer
(
net
.
TCP
,
180
):
listen
(
port
or
2323
,
telnet_listener
)
net
.
createServer
(
net
.
TCP
,
180
):
listen
(
port
or
2323
,
telnet_listener
)
...
...
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