4 lws can now work well on the ESP8266.
6 You should get the ESP8266 Espressif SDK-based project here
8 https://github.com/lws-team/esplws
10 which includes lws as an "app" in the build. The project provides full AP-based setup over the web, and once the device has been configured to associate to a local AP, a separate station vhost with the lws test protocols.
12 Instructions for building that are here
14 https://github.com/lws-team/esplws/blob/master/README.md
16 There are also instructions there for how to remove the test apps from the build and customize your own station content.
19 Information about lws integration on ESP8266
20 --------------------------------------------
22 The following existing lws features are used to make a nice integration:
24 - vhosts: there are separate vhosts for the configuration AP mode and the normal station mode.
26 - file_ops: the lws file operations are overridden and handled by a ROMFS parser
28 - mounts: mounts are used to serve files automatically from the ROMFS
30 - plugins: standalone protocol plugins are included into the build, so there are clean individual implementations for each protocol, while everything is statically linked
32 - lws stability and security features like bytewise parsers, sophisticated timeouts, http/1.1 keepalive support