[Info] Mongoose HTTP library porting to ESP32
Posted: Fri Oct 14, 2016 12:58 am
Note-2017-01-11
Since this post was originally made, the Mongoose library have been officially and properly ported to the ESP32 by Cesanta and as such any attempts here should be ignored ... see this thread for notes on the formal/proper port:
http://esp32.com/viewtopic.php?f=17&t=815
End-of-Note
The Cesanta mongoose Web Server project is an implementation of an embedable Web Server that is super rich in functions. I have been testing how easy (or difficult) it was to port to ESP32. There were some challenges and puzzles to be solved but nothing ferocious. I have this working now and am writing up the results. The source of the cesanta/mongoose project can be found here:
https://github.com/cesanta/mongoose
Since changes to the source are required in order to make it operate on ESP32, I'm trying to figure out how best to distribute these. In the long run, I'm going to write up changes as Github issues against the source of the project itself. In the short term, I'm guessing a fork of the project and the changes incorporated with the fork would suffice.
I have tested basic HTTP web serving and there were no issues. Next I'll be testing Websocket support. The purpose of this post is to let us (the community) know that it works and to say hi to others who may want mongoose on ESP32. Happy to collaborate with others on this area ... my primary hope is that the ESP32 changes we need get fed back into mongoose base source rather than continue with forked repositories.
Since this post was originally made, the Mongoose library have been officially and properly ported to the ESP32 by Cesanta and as such any attempts here should be ignored ... see this thread for notes on the formal/proper port:
http://esp32.com/viewtopic.php?f=17&t=815
End-of-Note
The Cesanta mongoose Web Server project is an implementation of an embedable Web Server that is super rich in functions. I have been testing how easy (or difficult) it was to port to ESP32. There were some challenges and puzzles to be solved but nothing ferocious. I have this working now and am writing up the results. The source of the cesanta/mongoose project can be found here:
https://github.com/cesanta/mongoose
Since changes to the source are required in order to make it operate on ESP32, I'm trying to figure out how best to distribute these. In the long run, I'm going to write up changes as Github issues against the source of the project itself. In the short term, I'm guessing a fork of the project and the changes incorporated with the fork would suffice.
I have tested basic HTTP web serving and there were no issues. Next I'll be testing Websocket support. The purpose of this post is to let us (the community) know that it works and to say hi to others who may want mongoose on ESP32. Happy to collaborate with others on this area ... my primary hope is that the ESP32 changes we need get fed back into mongoose base source rather than continue with forked repositories.