When I call this function
> =wifi.sta.clearconfig()
stdin:1: attempt to call field 'clearconfig' (a nil value)
stack traceback:
stdin:1: in main chunk
Others functions documented in the doc https://nodemcu.readthedocs.io/en/maste ... ules/wifi/ are working e.g. : wifi.sta.connect() ..disconnect(), ..getip(), ..
My firmware is
NodeMCU custom build by frightanic.com
branch: master
SSL: false
modules: cron,enduser_setup,file,gpio,http,mdns,mqtt,net,node,ow,pwm,rtctime,sntp,tmr,uart,websocket,wifi
build built on: 2017-02-22 17:16
powered by Lua 5.1.4 on SDK 2.0.0(656edbf)
What am I doing wrong?
Yes I can use node.restore() it works, but this function should work as well.
Thks
--
Jmp0