Current Lua downloadable firmware will be posted here

User avatar
By ma.ag37
#52322 Hello,

I am a newbie to ESP8266 and have been using it with Nodemcu 0.9.5 build 20150318. However for certain commands I am getting error. Like

Command: wifi.setmode(wifi.NULLMODE)
Error: bad argument #1 to 'setmode' (number expected, got nil)

Command: =wifi.getphymode()
Error: attempt to call field 'getphymode' (a nil value)

Command: wifi.setphymode(wifi.PHYMODE_B)
Error: attempt to call field 'setphymode' (a nil value)

please help
User avatar
By devsaurus
#52460
ma.ag37 wrote:have been using it with Nodemcu 0.9.5 build 20150318. However for certain commands I am getting error

The current docs for master do not apply to such an old version. I'd suggest that you build a recent version of the firmware with http://nodemcu-build.com/. Carefully read the instructions for upgrading firmware.
User avatar
By devsaurus
#52703
ma.ag37 wrote:Please also let me know if you can help me with setting up proxy for the access point for internet for the ESP8266 station to connect. I could not find it anywhere in the docs.

Sorry, no idea. I also can't find any reference for this use case.