SWRU368C May 2018 – January 2021 CC3100 , CC3100MOD , CC3200 , CC3200MOD
The Simple link server is responsible to implement the handling of the HTTP request. It listens on the HTTP socket (default is 80) and according to the request type, i.e. HTTP GET or HTTP POST, it handles the request URI resource and content. It then composes a proper HTTP response and sends it back to the client.
The simple link server communicates with the serial flash file system, which hosts the web page files. The files are saved in the serial flash under their own file name. File names can include full path, in order to achieve a directory structure like behavior.
For security purposes, the web server’s access to the file system is limited to the following root folders:
When downloading files to the file system, one of the above root folders should be prefixed to the file name. The ‘www/safe/’ folder is also used in ‘Force AP’ mode. Details can be found later in the document.