Adding support of HTTP server on Amazon freeRTOS

Rajneesh
Posts: 2
Joined: Thu Nov 28, 2019 4:09 pm

Adding support of HTTP server on Amazon freeRTOS

Postby Rajneesh » Thu Nov 28, 2019 4:27 pm

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.

warren
Posts: 15
Joined: Thu May 02, 2019 3:16 pm

Re: Adding support of HTTP server on Amazon freeRTOS

Postby warren » Fri Nov 29, 2019 9:40 pm

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

PeterR
Posts: 621
Joined: Mon Jun 04, 2018 2:47 pm

Re: Adding support of HTTP server on Amazon freeRTOS

Postby PeterR » Wed Dec 04, 2019 12:49 am

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: Majestic-12 [Bot] and 120 guests