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.

TM4C129 LAUNCHAPAD DEMO BOARD AND HTTP POST



e2e,

Our customer has the following question. 

I've been working with the TM4C1294 launchpad demo board. I've mostly been looking through the exosite code and seeing how they are sending data to the cloud.

I now want to begin coding to send data to my own server. What I need to accomplish is sending an HTTP POST command to our server, which has already been configured and is running quite nicely. There are a large number of demo programs available with CCS, Tiva Ware and TI-RTOS. Could you perhaps suggest which one would be the best to build off of to use POST commands to send data to the cloud?

Thanks for your help,

Regards,

John Wiemeyer

 

  • Hello John,

    TivaWare would be the main things to use here, with either CCS, Keil, or IAR. From there, you can reference the  uIP and lwIP examples included in TivaWare for the connected launchpad. If you reference the third party drivers used for each, you'll find the implementation for HTTP POST and GET commands in the httpd.c and .h files in the following directories:

    third_party/lwip-1.4.1/apps/httpserver_raw/httpd.c

    third_party/uip-1.0/apps/httpd/httpd.c