I am not very skilled in C, however to write something in Lua, that's completely different animal.
I made my ESP into telnet server using your github example, made it into init.lua file and now I can remotely work with the node, update files, control my i2c devices (tomorrow I'll test ADC i2c chip) and use it 100%.
THANKS!
https://github.com/nodemcu/nodemcu-firmware
Change log:
2014-12-07
- 1, add ow(1-wire module), from arduino, and use same api.
- 2, add an 18b20 1-wire example.
- 3, change net.socket.send() payload max len from 256 to 1460.
- 4, modify gpio.mode() api, add internal pullup/float para.