Hi Brian,
Low performance is known issue of the RTCS web server. However we plan to replace it with a new server version that is in attached ZIP file.
Please take a note that this is preliminary software that is going to be part of one the future MQX release and is not fully tested. To use this new version please follow these steps:
1. Remove following files from RTCS library project:
rtcs/source/httpd/httpd_cnfg.h
rtcs/source/httpd/httpd_mqx.c
rtcs/source/httpd/httpd_mqx.h
rtcs/source/httpd/httpd_poll.c
rtcs/source/httpd/httpd_wrapper.h
2. Replace files in your MQX instalation with files in attached ZIP file.
3. Add files rtcs/source/apps/rtcs_base64.c and rtcs/source/include/rtcs_base64.h to your RTCS library project.
4. Modify file rtcs/include/rtcscfg.h to suit your needs.
5. Recompile RTCS library.
Also be aware that http server API has changed. It now uses only two functions: httpd_init (used to init and start http server) and httpd_release (used to stop http server and free its memory).
Function httpd_init has one parameter of type HTTPD_PARAMS_STRUCT* and returns http server handle. This handle is used as parameter for function httpd_release. I have also attached new httpd server example so you can see how to use this new API properly.
Best regards,
Karel Mozny.
Edit:
- Updated zip so there are all files.
- Updated required steps.