modify wifi getip() to return nil if ip=0.0.0.0

This commit is contained in:
funshine 2014-12-12 00:42:56 +08:00
parent 0f37f9bfa1
commit d207dc110b
2 changed files with 4 additions and 1 deletions

Binary file not shown.

View File

@ -1,7 +1,10 @@
# **NodeMcu** # # **NodeMcu** #
###A lua based firmware for wifi-soc esp8266 ###A lua based firmware for wifi-soc esp8266
version 0.9.2 build 2014-12-11 version 0.9.2 build 2014-12-12
# Change log # Change log
2014-12-12<br />
modify wifi.xx.getip() to return nil, if ip is 0.0.0.0. <br />
2014-12-11<br /> 2014-12-11<br />
fix uart.setup(), now setup can set pins in other mode back to uart mode. <br /> fix uart.setup(), now setup can set pins in other mode back to uart mode. <br />
add wifi.sta.status() api, to get connection status in station mode. <br /> add wifi.sta.status() api, to get connection status in station mode. <br />