i work with the ESP8266 since 2 months now.
i try to setup the chip as TCP server, to serve some real web pages : html, css, script and images.
so I configure the chip with multiple connection.
I use a MCU as host. i don't want to create my own AT firmware with the SDK.
i would like to know when we can expect a full working and robust AT firmware ?
and a solid document which describe all the strange unsolicited messages ? as "busy", "ERROR" ...
and what to do exactly on each messages.
if the image (or other parts) is less than 2048bytes (size of the buffer), it work more or less right.
as soon as it is bigger, say 10KB, maybe 90% of time, it fail !
I'm fighting to manage all unsolicited message, add some delay, try and try different manner, but the result is too often poor and inconsistent
maybe I'm wrong with my host code.. !?
so please can you provide some application note which describe how to implement a robust web server with an external host CPU ?
I need to serve 2 or 3 pages with images, script and other stuff as CSS.
and surely some AJAX script, so it will be repetitive GET or POST requests : I need something robust !
thanks for your support, best regards
(there is a lot of inconsistencies with the current SDK, such as there are no more version.h, etc.)
yesterday I discovered the nodeMCU-Firmware for the ESP8266 through this link:
in contrast to other methods flashing the nodeMCU-firmware is quite easy
1. download flashtool
2. download flash-binary
3. klick flash(E) in the flashtool done.
download LuaLoader for uploading scripts into the ESP8266's flash-rom or use LuaLoader interactive
the nodeMCU-API-reference can be found here:
https://github.com/nodemcu/nodemcu-firm ... mcu_api_en
As the AT-Firmware is a bit buggy you can write your own communication-protocol in Lua ontop of the nodeMCU-firmware
Maybe a first step for you is to test the robustness of the nodeMCU-Firmware.
thanks for your suggestion !
but using an LUA interpreter in the ESP8266 is not more secure ..
the LUA firmware is not open source, maybe/surely with some bug too (because youg firmware).
no the best is to wait a working AT firmware !.. maybe next year .. or more !
in the mean time, the concurent HLK-M30 module seem working like a charm .. need to do more test, but for now, it's not bad !
Who is online
Users browsing this forum: No registered users and 3 guests
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
We also have a RTOS version and a MESH version too!
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!