Hello
I am also working on Amazon freeRTOS platform and facing an issue to port/integrate HTTP server (as this is not available). So, I asked this questions to Amazon developer forum and they replied as below:
https://forums.aws.amazon.com/thread.js ... dID=313477
They told me to contact with Espressif to get help. Can I get any help from here?
Any help will be appreciated.
Thank you.
Adding support of HTTP server on Amazon freeRTOS
Re: Adding support of HTTP server on Amazon freeRTOS
Take some time to explore the ESP32 API documentation at https://docs.espressif.com/projects/esp ... index.html.
There is some functionality here, though it may differ from what you're used to in POSIX/Linux/*BSD environments:
https://docs.espressif.com/projects/esp ... erver.html
There is some functionality here, though it may differ from what you're used to in POSIX/Linux/*BSD environments:
https://docs.espressif.com/projects/esp ... erver.html
Re: Adding support of HTTP server on Amazon freeRTOS
Perfectly respectable webserver but lacks asynchronous and websockets. Bit of an dead end if you want to sockets, MQTT etc.
EDIT: Not sure why ESP created this when the contrib projects have added benefit of SSI etc.
Dont use ESP FATFS or SPIFFS filesystems (IMHO) if you have 1MB+ to load. Performance sucks big times and degrades according to file storage use. 100K ok, 1MB sucks, 2+MB and you are back to dial up speeds. Use makefsdata (see lwip). I gained 100x performance over SPIFFS with 2MB+ website.
The lwip webserver supports async (from my arm memory, I could return 'not done') & is more portable but still no websockets/MQTT.
I spent a day attempting to port the ardunio asynchronous webserver (which has sockets), bottled it & gave up, maybe I missed the point but there is a mismatch between IDF and server versons to resolve.
I will have to revisit Q2 and so if you make the port let me know, better post the port!
& I also believe that IDF CAN should be fixed.
Who is online
Users browsing this forum: Bing [Bot] and 127 guests