19-STM32 things development WIFI (ESP8266) + GPRS (Air202) System Upgrade articles (articles adjusted standby)

In fact, WIFI update and update SCM is the same process

 

 When you click to update the time, APP with MQTT Message to WIFI. Inquiry device model 

A model in a folder, stored inside the device program files, as well as file versions and updates

 

 

 

 

 

 

 

After obtaining the model, APP obtain information about the type of update information file (updatainfo.txt) inside via http

 

 

 

 

 

Updates to the device, the device after comparing the version number of the version number is not the same reply

 

 

Then it is to send updated instructions

Guess you like

Origin www.cnblogs.com/yangfengwu/p/10991909.html
Recommended