Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By Raphiki
#62630 Hi !

I work with an ESP8266 (ESP12E) with Arduino and I have no problem to update firmware by Wi-Fi network with ESP8266HTTPUpdateServer library.
Now I wish I could update my ESPs trough GSM Network.

I have a GSM Module (SimCom SIM800) which communicate trough serial connection with my ESP and works with AT commands (Docs to AT commands :http://cristiansteib.github.io/Sim800l/info/SIM800+Series_AT+Command+Manual_V1.09.pdf). It allow me to download the entiere .bin file and keep it in memory (of the SIM808, not the ESP). Then there is an AT command AT+HTTPREAD=<addr>,<length> that allow me to collect the datas sequentially to make a streamable flux.

For the moment, I look into ESP8266httpUpdate library (https://github.com/esp8266/Arduino/blob/master/libraries/ESP8266httpUpdate/src/ESP8266httpUpdate.h). Since it allow us to fetch .bin file trough HTTP, I try to replace the HTTP stream access method by another method of mine which collect data from SIM800.

If some of you could help me or guide me in the good way it would be a pleasure to share the source ! :D