14 Commits

Author SHA1 Message Date
Marcos
7b25c727fe Make authenticated username available to scripts. (#100)
See node_info.lua for usage example.
2017-07-02 21:44:26 -05:00
Marcos
2bdb2d458c Improve node info.lua (#95)
* Handle "nil", add more info

* Split up subnet mask, move unit to the end.
2017-07-01 22:19:38 -05:00
Gregor
54b6525805 fix nodeingo_lua for AP more.
wifi.sta.getip() is nul in AP mode
2017-05-29 18:51:48 +02:00
Marcos Kirsch
5ccc69dc73 Updated examples to remove yields, pass req param. Integration woes. 2016-02-15 22:33:30 -06:00
Marcos Kirsch
4d4442318d Fix example server-side scripts to work on new nodemcu-firmware. Specifically, call coroutine.yield() after each connection:send() except the last one, since we can no longer queue sends. 2016-02-15 14:20:28 -06:00
TJ Borromeo
e52ca7731f Update node_info.lua
reducing overhead from extra sends probably well beneath buffer limits
2015-07-20 13:22:38 -07:00
Marcos Kirsch
e49eec62d3 Fix: show minor version. Improve formatting 2015-07-19 09:03:37 -05:00
Artem Pastukhov
596d9dd06b Fixes 2015-04-02 16:11:33 +03:00
Artem Pastukhov
da17c3b346 Merge branch 'master' of https://github.com/pastukhov/nodemcu-httpserver
Conflicts:
	Makefile
	http/node_info.lua
	httpserver-static.lua
2015-04-02 16:02:39 +03:00
Marcos Kirsch
f7969ae12d Fix typo in HTTP headers. I need to refactor so header creation is single sourced. Oh well. This may fix issues in Firefox 2015-04-01 22:56:47 -05:00
Artem Pastukhov
92a44592d5 Fix end of line 2015-04-01 08:57:18 +03:00
Artem Pastukhov
269b6e35bf More typo fixes 2015-03-31 14:53:52 +03:00
Marcos Kirsch
316af66d3c Improve demo files 2015-02-22 16:06:06 -06:00
Marcos Kirsch
fa2e85dbb0 Support for Lua scripts 2015-02-15 16:46:29 -06:00