Dynamic data handling with FreeRTOS-Plus TCP

Hi Guys, I’ve just joined on here. I’m working on a project using FreeRTOS and AWS on PIC32. Part of the project needs a web server for configuring the device. I’ve implemented the sample project with some help from https://github.com/jjr-simiatec/FreeRTOS-TCP-for-PIC32 and have it running. I have a couple of questions which I wondered if someone could shed light on: 1) How would I implement a dynamc page, i.e be able to access data on the pic from web page to PIC and PIC to web page? Microchip have an example using CGI files. Can this be used with FreeRTOS-Plus TCP? If so how? Where is this handled? 2) The example on github uses a precompiled BLOB containing a FAT file system prepared using Linux (diskImage.a). How can this be modified so that I can change the content? Preferably on a non-linux system. 3) Does anyone have a driver for PIC32 SD card working with FreeRTOS-Plus FAT? Obviouly I can write a driver to access the SD media, but just wondered if there is one out there already. Any help woud be greatly appreciated. Thanks

Dynamic data handling with FreeRTOS-Plus TCP

1) How would I implement a dynamc page, i.e be able to access data on the pic from web page to PIC and PIC to web page? Microchip have an example using CGI files. Can this be used with FreeRTOS-Plus TCP? If so how? Where is this handled?
Here are some posts about what you are asking: https://sourceforge.net/p/freertos/discussion/382005/thread/72bd7781 https://sourceforge.net/p/freertos/discussion/382005/thread/764119d3 https://sourceforge.net/p/freertos/discussion/382005/thread/acf254c8
2) The example on github uses a precompiled BLOB containing a FAT file system prepared using Linux (diskImage.a). How can this be modified so that I can change the content? Preferably on a non-linux system.
Can the blob be loaded in RAM? Is it a binary image of a FAT drive / parition ?
3) Does anyone have a driver for PIC32 SD card working with FreeRTOS-Plus FAT? Obviously I can write a driver to access the SD media, but just wondered if there is one out there already.
I’m sure that there is an SD-card driver around, but I don’t have one. If you can find a driver, I can help you to adapt it for FreeRTOS+FAT. The driver needs a few functions, like: ~~~ bool cardisinserted() bool initialise() int32t readsectors() int32t writesectors() ~~~ Regards, Hein

Dynamic data handling with FreeRTOS-Plus TCP

Thats fantastic. Thank you very much for your detailed response. Much appreciated.