This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Creating a custom web server using CC3200

Other Parts Discussed in Thread: CC3200, UNIFLASH

Hi, I use the CC3200 Launchpad (Rev 4.1). I flashed the Provisioning AP example.

If you see the link above, some developers created a custom web page using the CC3200.

When using the Provisioning AP example, the pre-made web page is shown when accessing 192.168.x.x.

How can I create my custom page? Is there a tutorial? Or do I have to use another example?

  • Hi David,

    Please see out_of_box example in SDK.

    Jan
  • Hello david,

    The internal HTTP server loads index.html from ROM.

    If you place a new file in serial flash, /www/index.html, your version would be used instead of the ROM version and you can modify it as you with.

    OOB is a good example for reference as Jan suggested.

    Regards,

    Shlomi

  • Hi, Shlomi.

    0) Then to clear things up, you mean the HTTP server is running in the CC3200's ROM.

    Then, the server reads the index.html which is inside the serial flash. Is this correct?

    1) Jan has suggested the "out_of_box" example. Is this example related with your answer about loading index.html?

    Or does the "index.html" and other html files are related with Uniflash, not the examples in the CCS?

  • For the custom web server part

    processors.wiki.ti.com/.../CC32xx_Websock_Camera_Application

    This example is a great starting point

    Go through the httpserverapp.c file
    And look for server folder
    cc3200-sdk\netapps\http\server

    And if you just want to display your custom web page

    processors.wiki.ti.com/.../CC32xx_HTTP_Server
    Start with this example

    Write your custom page and then save it as index.html as Shlomi answered in /www/index.html

    0) The HTTP Server examples run's the internal server in the NWP, and the server looks for index.html

    1) Using uniflash you can flash your file index.html ( your custom web page ) as you require

    Thanks & regards,

    Farhan