Commit Graph

1 Commits

Author SHA1 Message Date
chenwu
5b339ee467 feat(example): add OTA example
1. construct a valid http request header
   notice: URL path, HTTP version, Host,Accept, Accept-Encoding
2. check http response header
   notice: state code should be 200, should include Content-Length and application/octet-stream
3. download OTA bin from local OTA server
4. check bin CRC
5. reboot to run new bin if CRC passed
6. add README.md
2018-05-22 16:50:34 +08:00