wifi.ap.setip() dosen't seem to work
Posted: Wed Mar 18, 2015 6:20 pm
I think I have the code correct however
returns this
NodeMCU 0.9.5 build 20150127 powered by Lua 5.1.4
lua: cannot open init.lua
> dofile('test.lua')
192.168.4.1 255.255.255.0 192.168.4.1
>
the IP address doesn't seem to want to move from 192.168.4.1 when using with other ESP's I am unable to avoid address conflicts so would love this feature.
Code: Select all
wifi.setmode(wifi.SOFTAP)
wifi.ap.config({ssid="myssid",pwd="password"})
wifi.ap.setip({ip="192.168.1.254",netmask="255.255.255.0",gateway="192.168.1.254"})
print(wifi.ap.getip())
returns this
NodeMCU 0.9.5 build 20150127 powered by Lua 5.1.4
lua: cannot open init.lua
> dofile('test.lua')
192.168.4.1 255.255.255.0 192.168.4.1
>
the IP address doesn't seem to want to move from 192.168.4.1 when using with other ESP's I am unable to avoid address conflicts so would love this feature.