ESP8266 Webserver Project

Moderator: Sprite_tm

User avatar
By tve
#21150 Out of curiosity, can you elaborate why you want to use the web UI to reflash stuff? I find that having 'make' do it is so much easier. Maybe that's because I live in the command line... Hearing your use-cases would be interesting.

To reflash the attached uC, does 'nc' or avrdude not work for you? Why a POST be easier?

The idea of combining the two parts into one file is a good one. I'll think about that, shouldn't be hard to do.
User avatar
By tve
#21166 Mhh, to reflash the esp-link itself it should be pretty easy to cook up some javascript/ajax stuff to issue the existing POST request. I'd have to look into how that works.
To reprogram the attached uC some cgi handler work would be necessary.
User avatar
By kriegste
#21260 I still have a few problems with the ajaxLog and I don't think these are caused by my modifications.

The first is:
On my Android phone (Dolphin browser) /log/text gets cached. This is no problem until I restart the module, because only then /log/text?start=0 gets loaded from the cache.

A clean solution may be a no-cache header?